Building Websites in ASP.NET
ASP.NET offers three frameworks for creating web applications: Web Forms, ASP.NET MVC, and ASP.NET Web Pages.
All three frameworks are stable and mature, and you can create great web applications with any of them.
No matter what framework you choose, you will get all the benefits and features of ASP.NET everywhere.
Each framework targets a different development style.
The one you choose depends on a combination of your programming assets (knowledge, skills, and development experience), the type of application you’re creating, and the development approach you’re comfortable with.
All three frameworks will be supported, updated, and improved in future releases of ASP.NET.
Below is an overview of each of the frameworks and some ideas for how to choose between them.
If you prefer a video introduction, seeMaking Websites with ASP.NET.
ASP.NET Web Pages
ASP.NET Web Pages and the Razor syntax provide a fast, approachable, and lightweight way to combine server code with HTML to create dynamic web content.
Connect to databases, add video, link to social networking sites, and include many more features that help you create beautiful sites that conform to the latest web standards.
Web Forms
With ASP.NET Web Forms, you can build dynamic websites using a familiar drag-and-drop, event-driven model.
A design surface and hundreds of controls and components let you rapidly build sophisticated复杂的,精致的, powerful UI-driven sites with data access.
MVC
ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that enables a clean separation of concerns and that gives you full control over markup for enjoyable, agile development.
ASP.NET MVC includes many features that enable fast, TDD-friendly development for creating sophisticated applications that use the latest web standards.
General Notes
All three ASP.NET frameworks are based on the .NET Framework and share core functionality of .NET and of ASP.NET.
For example, all three frameworks offer a login security model based around membership, and all three share the same facilities for managing requests, handling sessions, and so on that are part of the core ASP.NET functionality.
In addition, the three frameworks are not entirely independent, and choosing one does not preclude妨碍 using another.
Since the frameworks can coexist共存 in the same web application, it's not uncommon to see individual components of applications written using different frameworks.
For example, customer-facing portions of an app might be developed in MVC to optimize the markup, while the data access and administrative portions are developed in Web Forms to take advantage of data controls and simple data access.
We’ve made significant improvements in the latest releases of ASP.NET and Visual Studio to make it easy to use these frameworks together.
原文
https://www.asp.net/get-started/websites
父目录
https://www.asp.net/aspnet/overview
同级目录
https://www.asp.net/web-pages/overview/getting-started
https://www.asp.net/mvc/overview/getting-started/introduction/getting-started
2个Video
https://www.asp.net/aspnet/overview/making-websites-with-aspnet/installing-aspnet-and-web-tools
https://www.asp.net/aspnet/overview/making-websites-with-aspnet/making-websites-with-aspnet
作者:Chuck Lu GitHub |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
2014-11-29 wpf
2014-11-29 常用Git代码托管服务分享