ASP.NET Tutorial
ASP.NET is a development framework for building web pages and websites using HTML, CSS, JavaScript, and server-side scripts.
ASP.NET supports three different development models:
Web Pages, MVC (Model View Controller), and Web Forms:
| Web Pages
Single-page model | | MVC
Model-View-Controller | | Web Forms
Event-driven model | | --- | --- | --- | --- | --- | | The simplest ASP.NET model.
与 PHP 和经典 ASP 相似。
内置了数据库、视频、图形、社交媒体等模板和帮助器。 | | MVC 将 Web 应用程序分成 3 个不同的组成部分:
模型负责数据
视图负责显示
控制器负责输入 | | 传统的 ASP.NET 事件驱动开发模式:
带有服务器控件、服务器事件和服务器代码的网页。 |
Web Pages Tutorial
**If you are new to ASP.NET, it is recommended to start learning from Web Pages.**
Web Pages is the simplest development model for building ASP.NET websites.
In our Web Pages tutorial, you will learn how to combine HTML, CSS, JavaScript, and server code using the latest Razor server markup syntax with VB (Visual Basic) or C# (C sharp).
You will also learn how to extend your web pages using programmable Web Helpers (including databases, video, graphics, social media, and more).
Start learning ASP.NET Web Pages now!
MVC Tutorial
MVC is a pattern for creating web applications using the MVC (Model View Controller) design.
If you want a lightweight development model as an alternative to traditional ASP.NET, you can start learning from MVC.
In our MVC tutorial, you will learn how to use a lightweight development model that integrates all existing ASP.NET features (such as Master Pages, Security, Authentication) to create web applications.
Start learning ASP.NET MVC now!
Web Forms Tutorial
Web Forms is the traditional event-driven ASP.NET model.
Over the years, developers have used ASP.NET Web Forms to create many well-known large websites.
If you want to learn the design pattern used by many web developers over the past 10 years, you can start learning from Web Forms.
Start learning ASP.NET Web Forms now!
Who should read this tutorial?
This tutorial is suitable for anyone who wants to learn how to create websites on the Microsoft ASP.NET platform, from hobby sites to the latest, modern, fully commercial web.
Even if you are new to web programming, you can learn this tutorial; a basic understanding of HTML and CSS will help.
If you have a basic understanding of scripting languages such as JavaScript or VB (Visual Basic), it will be very helpful for learning this tutorial.
Do you prefer VB over C# (C sharp)? Do you want to learn both languages? Good news: most code examples provided by the RUNOOB tutorial have versions in both languages.
If you are a professional web developer with ASP.NET development experience, you can still learn a lot from this tutorial, because these tutorials introduce many new ASP.NET concepts, such as HTML5, CSS3, JQuery, and more.