http://www.lostintangent.com/
MVC patter representation on top of ASP.NET
MVC pattern
View (Presentation ) Model ( Logic ) Controller (Input)
Unit testing ... at the whole of the code ..
MVC is Extensible ... ( parts of it are replacable .. )
Default implementation ( it just works by convention .. )
yet you can configure and change it later on ...
Creating default MVC application
download the MVC .Net
Project - New - ASP.NET MVC Web Application
System - create unit tests
User - Yes
Test Framework -- Visual STudio Unit test ( other also available one can create their own too )
The application is creating sample controller , sampl tests .
Project Structure -
Controllers - by convention ... put those here
Models -
Views -
Routing - URL pattern and map that to controllers ...
public static void RgisterRoutes (Routecollertion
by default the controller classes end up with the name Controller ...
The controller is primarily for receiving input ...
Well , the testability is the best feature ... but in is in Beta still and does not support complicated controls ...
What the heck is a `\\.\nul` path and why is it breaking my Directory Files
Lookup?
-
[image: Null Device Banner]
In the last few months my Markdown Monster Application Insights log has
been inundated with a hard failure for lookups of a \...
3 weeks ago
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!