I am knee deep in starting a new ASP.NET MVC project. Several tutorials have recommended the use of MVC Contrib. I wanted to get the opinion of the Stack Overflow community if it fulfilled its promise of increasing productivity with ASP.NET MVC. Basically are the benefits of MVC Contrib worth adding another leaky abstraction to my application?
Does MVC Contrib fulfill its promise of increasing productivity in ASP.NET MVC
803 Views Asked by ahsteele At
1
There are 1 best solutions below
Related Questions in ASP.NET
- Create an IIS web request activity light
- Writing/Overwriting to specific XML file from ASP.NET code behind
- What is the point of definnig Asp.net Intrinsic Objects In different places and what is the different betwen them?
- Deleting Orphans with Fluent NHibernate
- IOrderedEnumerable to vb.net IOrderedEnumerable Conversion
- Entity Framework Code First with Fluent API Concurrency `DbUpdateConcurrencyException` Not Raising
- Getting deeply embedded XML element values
- What is best way to check if any of the property of object is null or empty?
- NuGet - Given a type name or a DLL, how can I find the NuGet package?
- ASP-MVC Code-first migrations checkbox not active
- How do i add onclient click to my jquery button
- Jquery: Change contents of <select> tag dynamically
- Retrieving data from Oracle database
- ASP.NET: Fill Textbox field upon dropdownlist selection by user
- Why web API return 404 when deploy to IIS
Related Questions in ASP.NET-MVC
- Can MVC.NET prevent SQL-injection at razor or controller level?
- Getting and passing MVC Model data to AngularJS controller
- Access property of an object of type [Model] in JQuery
- Entity Framework Code First with Fluent API Concurrency `DbUpdateConcurrencyException` Not Raising
- Bundling and minification issue in MVC
- ASP-MVC Code-first migrations checkbox not active
- Why does Azure CloudConfigurationManager.GetSetting return null
- Dynamic roles list in CustomAuthorize ASP MVC
- Jquery: Change contents of <select> tag dynamically
- Why web API return 404 when deploy to IIS
- MVC route URL not containing parameter
- Invalidate user credentials when password changes
- MVC : Insert data to two tables
- MVC - Only allow users to edit their own data
- Submit Button on Razor View doesn't call Action Result - MVC
Related Questions in MVCCONTRIB
- Unable to call generic Url.Action<TController> method from View
- MVCContrib Portable Area No Intellisense for ViewPage<T>
- Different View Engine for Portable Area
- MvcContrib TestHelpers broken in MVC3?
- Using <T> on IPagination
- jQuery client side validation not working with MVC 3 MvcContrib.FluentHtml
- Testing an Edit view with MVCContrib Test Helper
- How to add an attribute to an XML node when that node is serialised from a List?
- How to produce XML with attributes rather than nodes, using MvcContrib's XmlResult?
- Custom column in MvcContrib Grid
- Inline Edit data on MVCContrib grid and save bulk chanegs
- How do I Pass a Variable from one Controller to another using MVC Contrib?
- Can I sign DLLs that are not open source?
- MvcContrib Portable Areas on IIS scripts 404(not found)
- MVCContrib Grid Paging customization
Related Questions in LEAKY-ABSTRACTION
- Generic Repository and Leaky Abstraction
- Should I use integer ID or pointers for my opaque objects?
- Design issue: RMI needs explicit exporting of objects
- How to return T, when I know class which is hidden behind it?
- Python: an iteration over a non-empty list with no if-clause comes up empty. Why?
- Is there evidence to suggest Thoughtworks' assertion that JSF is a broken abstraction?
- ProcessingJS and PointerEvents
- Does MVC Contrib fulfill its promise of increasing productivity in ASP.NET MVC
- N-layered database application without using an ORM, how does the UI specify what it needs of data to display?
- Is clojure.lang really just implementation details?
- C# pattern for avoiding a leaky abstraction when one of the implementation requires an extra step
- C++: push_back in std::vector while iterating it
- Auto implicit arg stops working when type is given a name
- Prevent leaky abstraction when using async
- Meaning of Leaky Abstraction?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I think MVC Contrib is invaluable when it comes to testing. They provide a lot of extension methods that allow you to fluently test routing and action results. For example:
...for routing, and for action results:
Also MVC Contrib provides a helpful TestControllerBuilder class which can build up a controller and take care of faking all the necessary HTTP context type of things. This doesn't seem like much but paired with DI, writing it yourself if a pain.
Moving on from testing, the controller factories for DI/IoC are really useful so you don't have to write it yourself, but not essential IMHO.
The other thing I like about MVC Contrib are the fluent HTML helpers. I think it is much nicer to set HTML properties and other data using these kind of fluent helpers -- here's are two examples: