Monday, July 22, 2013

Some More MVC links

1. Difference between MVC and ASP :

http://msdn.microsoft.com/en-us/library/dd381412(v=vs.98).aspx




2. Razor Syntax

MS Article : Introduction to ASP.NET Web Programming Using the Razor Syntax (C#)

http://www.asp.net/web-pages/tutorials/basics/2-introduction-to-asp-net-web-programming-using-the-razor-syntax


C# Razor Syntax Quick Reference



3. Shivaprasad MVC tutorials :

http://www.dotnetfunda.com/articles/article1846-mvc-tutorial-number-12-what-is-razor-in-mvc-3.aspx


4. A good basic tutorial and contains many links :

ASP.NET MVC3 Razor With jQuery For Beginners




5.httpnotfound

ASP.NET MVC 3: Using HttpNotFoundResult action result

http://weblogs.asp.net/gunnarpeipman/archive/2010/07/27/asp-net-mvc-3-using-httpnotfoundresult-action-result.aspx



6. Types of helpers in MVC :

form, url and html.



===========================
action is any public method in a controller.

If a public method in a controller is not supposed to work as action, it should be decorated with [NonAction] attribute.


Base to all action results is ActionResult

Types of ActionResult :
ViewResult
PartialViewResult
RedirectResult
RedirectToRouteResult
ContentResult
JsonResult
JavaScriptResult
FileResult
EmptyResult



========================
what is @Scripts.Render ?

what is RenderSection ?what is @RenderBody ?
what are <section> , <nav> tags ?

========================



No comments:

Post a Comment

 using Microsoft.AspNetCore.Mvc; using System.Xml.Linq; using System.Xml.XPath; //<table class="common-table medium js-table js-stre...