Build web apps with HTML, CSS, JavaScript, and C#
Supported on Windows, Linux, and macOS
Use .NET and C# to create websites based on HTML5, CSS, and JavaScript that are secure, fast, and can scale to millions of users.
Razor provides a simple, clean, and lightweight way to create dynamic web content using HTML and C#.
With Razor you can use any HTML or C# feature. You get great editor support for both, including IntelliSense which provides auto-completion, real-time type and syntax checking, and more.
The popular Entity Framework (EF) data access library lets you interact with databases using strongly types objects.
Most popular databases are supported, including SQLite, SQL Server, MySQL, PostreSQL, DB2 and more, as well as non-relational stores such as MogoDB, Redis, and Azure Cosmos DB.
ASP.NET provides a built-in user database with support for multi-factor authentication and external authentication with Google, Twitter, and more.
ASP.NET supports industry standard authentication protocols. Built-in features help protect your apps against cross-site scripting (XSS) and cross-site request forgery (CSRF).
Quickly scaffold user interfaces to interact with your data model, including query and update.
Dynamically generate HTML forms based on your strongly typed data model. Declaratively define validation rules, using C# attributes, which are applied on the client and server.
ASP.NET integrates seamlessly with popular JavaScript frameworks. Get started quickly with ASP.NET and React or Angular, using preconfigured templates.
MVC is a design pattern used to decouple user-interface (view), data (model), and application logic (controller). ASP.NET has built-in support for the MVC pattern, making it easy to follow this design pattern.
ASP.NET is cross-platform, allowing you to develop and deploy web apps on your OS.
The Visual Studio product family provides a great .NET development experience on Windows, Linux, and macOS.
If you prefer to use a different editor, there are .NET command line tools and plugins for many popular editors.
Our step-by-step tutorial will help you get .NET running on your computer.
Supported on Windows, Linux, and macOS