Monday, August 15, 2011

Building Apps with HTML5: What You Need to Know

http://msdn.microsoft.com/en-us/magazine/hh335062.aspx

Multiple Submit Buttons in ASP.NET MVC

In Razor view
@using (Html.BeginForm())
{
    <p>
        <input type="submit" name="AddButton" value="Add" />
        <input type="submit" name = "RemoveButton" value="Remove" />
    </p>
}




In Controller:

        [HttpPost]
        public ActionResult TwoButtonss(string AddButton, string RemoveButton)
        {
            var AddButtonClick = AddButton ?? RemoveButton;
            return View();
        }



Reference:
http://www.dotnetcurry.com/ShowArticle.aspx?ID=705

Build a RESTful API architecture within an ASP.NET MVC 3 application.

http://www.iwantmymvc.com/rest-service-mvc3

Documentation Resources for ASP.NET MVC 3

http://msdn.microsoft.com/en-us/library/gg416514(VS.98).aspx

ASP.NET MVC Controller Inspector

http://haacked.com/archive/2011/08/10/writing-an-asp-net-mvc-controller-inspector.aspx