02 - Razor Views in ASP.NET MVC 3Razor expression always returns HTML Encoded text. For example, the controller returns a javascript text to the view, razor expression in the view will only display the plain text of it, rather than running the javascript code:the source code of the page is:But if we Read More
posted @ 2011-06-11 05:59
Jian, Li
Views(737)
Comments(0)
Diggs(0)
01- Controllers in ASP.NET MVC 3Application_Start() method in Global.asax.cs is the startup entry of the applicationUsing RouteData object to get information of routing dataIn the route collection, the first route that matches the URL will Win, so we should put our particular route before the very g Read More
posted @ 2011-06-11 05:55
Jian, Li
Views(690)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号