Introduction to .NET Web Development

Welcome to the comprehensive documentation for .NET web development. .NET provides a robust, flexible, and high-performance platform for building modern web applications, services, and APIs. Whether you're building traditional web applications, single-page applications (SPAs), or microservices, .NET has the tools and frameworks to accelerate your development.

Explore the following key areas to get started:

  • Understand the core principles of .NET web applications.
  • Learn about the different frameworks available, such as ASP.NET Core, Blazor, and more.
  • Discover how to build secure, scalable, and performant web experiences.
  • Find guidance on deployment, testing, and best practices.

ASP.NET Core

ASP.NET Core is a cross-platform, high-performance, open-source framework for building modern, cloud-connected, internet-spanning applications. It includes:

  • Performance: Built for speed and efficiency.
  • Cross-Platform: Runs on Windows, macOS, and Linux.
  • Open-Source: Developed with community contributions.
  • Modular: Lightweight and composable.

Getting Started with ASP.NET Core

Learn the basics of creating your first ASP.NET Core web application, understanding project structure, and running it locally.

Learn More

Middleware Pipeline

Understand how requests are processed through the ASP.NET Core middleware pipeline and how to customize it.

Learn More

Configuration Management

Discover how to manage configuration settings for your ASP.NET Core applications from various sources.

Learn More

Razor Pages

Razor Pages is a page-centric programming model in ASP.NET Core for building web UI with Razor. It simplifies building server-rendered HTML features in web apps by combining Razor markup with a page model.

Building Pages with Razor Pages

A step-by-step guide to creating and managing Razor Pages, including data binding and event handling.

Learn More

Layouts and Partial Views

Learn how to use layout pages and partial views to create reusable UI components in Razor Pages.

Learn More

ASP.NET Core MVC

The Model-View-Controller (MVC) architectural pattern separates an application into three interconnected components: the model, the view, and the controller. ASP.NET Core MVC allows you to build sophisticated, data-driven applications.

Controllers and Actions

Understand how controllers handle incoming requests and return responses in an MVC application.

Learn More

Views and ViewModels

Learn how to create dynamic views using Razor syntax and the role of ViewModels in presenting data.

Learn More

Blazor

Blazor is a free, open-source web framework that enables developers to create interactive client-side web UIs with .NET. Blazor allows C# code to run directly in the browser using WebAssembly.

Blazor Server

Build interactive web UIs with Blazor Server, where components run on the server and communicate with the client over SignalR.

Learn More

Blazor WebAssembly

Deploy .NET code directly to the browser with Blazor WebAssembly for client-side interactivity without server-side dependencies.

Learn More

Building Web APIs with .NET

Create robust and performant HTTP services with ASP.NET Core Web API. It's an ideal framework for building RESTful services and APIs.

RESTful API Design

Learn principles of RESTful API design and how to implement them using ASP.NET Core.

Learn More

API Controllers

Understand how to create API controllers that handle HTTP requests and produce JSON or XML responses.

Learn More

Deploying .NET Web Applications

Guidance on deploying your .NET web applications to various environments, including IIS, Azure, Docker, and more.

Deploying to Azure App Service

Steps to deploy your ASP.NET Core application to Microsoft Azure.

Learn More

Containerizing with Docker

Learn how to containerize your web application using Docker for consistent deployment.

Learn More

Core Concepts

Explore foundational concepts essential for .NET web development.

Dependency Injection

Understand how dependency injection works in .NET Core and its benefits.

Learn More

Authentication & Authorization

Learn how to secure your web applications with authentication and authorization mechanisms.

Learn More