ASP.NET is an open source web framework, created by Microsoft, for building modern web apps and services with .NET.
ASP.NET is cross platform and runs on Windows, Linux, macOS, and Docker.
The .NET platform
.NET is a developer platform consisting of tool programming languages and libraries for building a variety of applications.
The base platform provides components that apply to all different types of apps. Additional frameworks, such as ASP.NET, extend .NET with components for building specific types of apps.
Here are some things included in the .NET platform:
- The C#, F#, and Visual Basic programming languages
- Base libraries for working with strings, dates, files/IO, and more
- Editors and tools for Windows, Linux, macOS, and Docker
https://www.youtube-nocookie.com/embed/videoseries?list=PLdo4fOcmZ0oW8nviYduHq7bmKode-p8Wy&enablejsapi=1&origin=https%3A%2F%2Fdotnet.microsoft.com
ASP.NET extends .NET
ASP.NET extends the .NET platform with tools and libraries specifically for building web apps.
These are some things that ASP.NET adds to the .NET platform:
- Base framework for processing web requests in C# or F#
- Web-page templating syntax, known as Razor, for building dynamic web pages using C#
- Libraries for common web patterns, such as Model View Controller (MVC)
- Authentication system that includes libraries, a database, and template pages for handling logins, including multi-factor authentication and external authentication with Google, Twitter, and more.
- Editor extensions to provide syntax highlighting, code completion, and other functionality specifically for developing web pages
Back-end code
When using ASP.NET your back-end code, such as business logic and data access, is written using C#, F#, or Visual Basic.
Because ASP.NET extends the .NET ecosystem with a wide range of packages and libraries that all .NET developers can use. You can also write your own libraries that are shared between any application written on the .NET platform.
Dynamic pages using C#, HTML, CSS, and JavaScript
Razor provides a syntax for creating dynamic web pages using HTML and C#. Your C# code is evaluated on the server and the resulting HTML content is sent to the user.
The code that runs on the client side is written in JavaScript. ASP.NET integrates with JavaScript frameworks and includes pre-built templates for Single Page Application (SPA) frameworks such as React and Angular.
100,000+OSS contributions3,700+OSS company contributors
Open-source
Like the rest of .NET, ASP.NET is open source on GitHub. .NET has over 100,000 contributions and 3,700 companies have already contributed.
Windows, Linux, macOS, and Docker
ASP.NET apps can be developed and run on Windows, Linux, macOS, and Docker.
The Visual Studio family of products has tools for building .NET applications on any operating system. There are also command-line tools and extensions for many popular editors.
Pages, APIs, real-time, and microservices
ASP.NET allows you to build many types of web applications, including web pages, REST APIs, microservices, and hubs that push real-time content to connected clients.
What is ASP.NET Core?
If you are using ASP.NET you will immediately see the term ASP.NET Core.
ASP.NET Core is a cross-platform open source version of ASP.NET. You must use ASP.NET Core for all new applications. All tutorials on this page use ASP.NET Core.
The Windows-only version of ASP.NET that preceded ASP.NET Core is often called ASP.NET. Most of the innovations are in ASP.NET Core but other versions continue to receive minor updates and bug fixes.