#aspnet
5 posts tagged aspnet. All posts
Introduction to ASP.NET: classic ASP.NET vs ASP.NET CoreWhat ASP.NET is, how classic ASP.NET on .NET Framework differs from ASP.NET Core, which programming models each offers, and a first minimal API to run.
Getting started with ASP.NET Core MVC: a first action and a data tableCreate an ASP.NET Core MVC app, add a controller action and a tag-helper link, render a list of objects as a table with Razor, and structure the project.
ASP.NET Core authorization: roles, policies and custom handlersHow ASP.NET Core authorization works with roles, named policies, custom requirements and handlers, and resource-based checks through IAuthorizationService.
Configuring CORS in ASP.NET Core with Microsoft.AspNetCore.CorsHow CORS and preflight requests work, and how to set up CORS policies in ASP.NET Core with middleware, endpoint routing, and the [EnableCors] attribute.
An IP address lookup API with ASP.NET Core minimal APIsA small ASP.NET Core minimal API that returns the server's public IP, looks up details for any IP address, and reports the caller's IP.
© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)