ASP.NET Overview

ASP.NET is Microsoft’s powerful web framework for building dynamic web sites, services, and applications with the .NET Framework. It provides a rich set of tools, libraries, and patterns for rapid development, robust security, and high performance.

Key Features

  • Server‑side controls
  • Model‑View‑Controller (MVC) pattern
  • Web API for RESTful services
  • SignalR real‑time communication

Supported Languages

C#, VB.NET, F#

Deployment Options

IIS, Azure App Service, Self‑hosted

Getting Started

Follow these steps to create your first ASP.NET Web Forms application.

dotnet new webforms -n MyFirstApp
cd MyFirstApp
dotnet run
        

Open https://localhost:5001 in your browser to see the default site.

Tutorials

1. Building a Simple CRUD Page

This tutorial walks through creating a database‑backed page using Entity Framework.

  1. Create a model class Product.cs.
  2. Add a DbContext for the Products table.
  3. Scaffold a Web Forms page with GridView.
  4. Implement Create, Read, Update, Delete operations.
View Full Tutorial →

API Reference

Explore the most commonly used namespaces and classes.

Examples

Login Form

<asp:Login ID="Login1" runat="server" />
                
Run Example →

SignalR Chat

npm install @microsoft/signalr
// server hub
public class ChatHub : Hub { … }
                
Run Example →