介紹:ASP。網tutorial provides basics and advanced level concepts of ASP.NET.
ASP。網is a framework that has been developed by Microsoft to design and develop a website, web applications, web services. It is a development platform that provides programming model software infrastructure and services required to build an application. It provides integration of HTML, CSS, and JavaScript.
ASP。網application codes are written in the following languages.
- c#
- Visual Basics .NET
- JavaScript
- J #
ASP。網produces interactive, data-driven applications. It consists of controls, text boxes, buttons, labels, HTML pages.
ASP。網provides three types of styles for creating web applications:
- Web表單
- ASP。網MVC
- ASP。網Web Pages
ASP。網Web表單s Model
ASP。網web form is an event-driven interaction of the browser with a web application where the request is submitted through the web server and the server returns an HTML page in response. All client-side-related activities are being forwarded to the server for processing.
ASP。網framework used in storing information which is related to the state of the application that consists of Page and Session state.
頁麵狀態是web表單中各個輸入字段的內容所處的狀態。會話狀態用於收集信息,從用戶訪問的不同頁麵收集的信息即總體會話狀態。假設用戶訪問任何網站進行網上購物。用戶將各種商品添加到他的購物車中,然後商品屬於不同的類別,商品、購物車和賬單頁是不同的頁麵。隻有HTTP不能跟蹤來自不同頁麵的所有信息。會話狀態和服務器對會話期間收集的信息進行側邊跟蹤。
ASP。網MVC
MVC代表模型視圖控製器,一種基於動態網站的模式。這樣可以實現幹淨的分離。它為創建出色的應用程序提供了快速開發。
ASP。網Web Pages
這有助於創建動態網頁。它提供HTML、照片、視頻和網站鏈接。此外,還提供了創建網站的功能,並使其具有交互性。