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 ...
Getting the Current TabItem when the Tab is not selected in WPF
-
[image: Banner]
This is a quick reminder to self on how to retrieve a TabItem from a WPF
TabControl *when the tab is not currently selected* because I ru...
1 week 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 !!!!