1 / 8

Exploring ASP.NET MVC 4

Exploring ASP.NET MVC 4. Các mô hình phát triển Web ASP.Net Kiến trúc phát triển ứng dụng Web MVC Khám phá ASP.Net MVC Tổ chức , Cấu hình dự án Web ASP.Net MVC L ập trình ứng dụng Web ASP.Net MVC Triển khai ứng dụng lên WebServer. ASP.NET. Programming Models Web Pages

Download Presentation

Exploring ASP.NET MVC 4

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Exploring ASP.NET MVC 4

  2. Các mô hình phát triển Web ASP.Net • Kiến trúc phát triển ứng dụng Web MVC • Khám phá ASP.Net MVC • Tổ chức, Cấu hìnhdự án Web ASP.Net MVC • Lập trình ứng dụng Web ASP.Net MVC • Triển khai ứng dụng lên WebServer

  3. ASP.NET • Programming Models • Web Pages • Web Forms • MVC • ASP.NET API • Configuration • Authentication and Authorization • Caching ASP.NET HTML Pages

  4. Web Pages Applications • Web Matrix or Visual Studio • Code in .CSHTML files • Control of HTML <h2>Special Offers</h2> <p>Get the best possible value on Northwind specialty foods by taking advantage of these offers:</p> @foreach (var item in offers) { <div class="offer-card"> <div class="offer-picture"> @if (!String.IsNullOrEmpty(item.PhotoUrl)){ <imgsrc="@Href(item.PhotoUrl) alt="@item.Title" /> } </div> </div> }

  5. Web Forms Applications & MVC Application • Web Forms Application • Visual Studio only • Code in .aspx files and code-behind files • Create a UI by dragging controls onto a page • Controls provider rich properties and events • Bind controls to data • MVC Application • Visual Studio only • Control of HTML • Code in .cshtml and .cs files • Easy to use unit tests • Models encapsulate objects and data • Views generate the user interface • Controllers interact with user actions

  6. ASP.NET MVC 4 • Models, Views, and Controllers Demonstration: How to Explore an MVC Application New Features of ASP.NET MVC 4

  7. Models, Views, and Controllers SQL View Model Database Controller Web Server HTTP Browser

  8. Features of ASP.NET MVC • Jquery, Jquery mobile • Ajax • Annotation and validation • Web api • Authentication and Authorization, Caching • Display Modes • OAuth và OpenID • Bunding và Minification

More Related