MVC (Model view Controller) Model View Controller The first version of MVC is called MVED(Model View Editor) MVC is to multi layer architecture Model (class and variables) View (.cshtml) Controller (Logic building) MVC is directly operate html page in this reason it is called light weight environment. MVC Block Diagrame .NET Framework ASP.NET MVC ASP.Net Webform Benefits of MVC application It is manage complex application Direct control use in html It provide test driven development testing to (url http/data)
HTML HELPER METHODS IN ASP.NET MVC 5 In ASP.NET MVC Framework, helper methods: Ø Are extension methods to the Html Helper class, can be called only from views. Ø An HTML helper is a method that is used to render html content in a view. Ø Simplifies the process of creating a view. Ø Allows generating HTML markup that you can reuse across the Web application. Some of the commonly used helper methods while developing an MVC application are as follows: Ø Html.ActionLink() Ø Html.BeginForm() and Html.EndForm() Ø Html.Label() Ø Html.TextBox() Ø Html.TextArea() Ø Html.Password() Ø Html.CheckBox()
Comments
Post a Comment