Web app
A web app is an application that runs in the browser and can be reached at an address, without installing anything. Its logic lives on a server, in the browser, or on both sides.
A web app is an application that you open in the browser at an address without installing anything. Unlike a static website, it accepts input, stores data, and reacts to it, for example with sign-in, forms, and lists.
Web apps with .NET
With .NET, you build web apps with ASP.NET Core. It supplies the Kestrel web server, routing, sign-in, and configuration. The user interface is usually made with Blazor, a web framework for .NET that unites server rendering and interactivity in one programming model. A Blazor Web App can create pages statically on the server as HTML, run individual parts interactively over a real-time connection to the server, and execute others in the browser with WebAssembly. If you like, you mix these modes on the same page.
So a web app has two sides: the frontend in the browser and the backend, which manages rules and data. Where needed, the backend offers a REST API that other programs use too. A progressive web app (see PWA) goes one step further and can be used like an installed app.
Where it runs
In Azure, .NET web apps run, for example, in Container Apps or in App Service. The web server either stands alone on the network or behind a reverse proxy, see web server. The application itself then has a configuration per environment, a database, and secrets in Key Vault instead of in the code.
How it differs
- Web app and website: A website shows content, a web app gets tasks done. The line is fluid.
- Web app and native app: A web app runs on every device with a browser and can be updated centrally. A native app can access the device more deeply. The choice depends on the need.
- Web app and web API: The API supplies data; the web app is what people operate.
An example from the Kladde
The Kladde is a web app: managing contacts and companies, booking appointments, sending confirmations, importing tenders from the EU's TED interface. Sign-in goes through Microsoft Entra ID, and the user interface comes in two languages. In the course, it grows first as a web API, then as a Blazor application with static pages and interactive islands, and in the end it is delivered to Azure.
In the course
You go the way from the API to the web app in K2: module 2.3 (ASP.NET Core) with The first web API and module 2.5 (Blazor) with The Blazor Web App. You practice delivering to Azure in module 2.9, for example with Shipping with azd.