Results for “Web API”
13 result(s) in everything
-
Blog
Getting Started with ASP.NET Core Web API and Entity Framework
Build your first ASP.NET Core Web API on .NET 10 with Entity Framework Core — scaffold models from SQL Server, add an async controller, and test with the built-in OpenAPI document and Scalar.
-
Blog
Implement Repository Pattern with ASP.NET Core Web API
Implement the Repository Pattern with ASP.NET Core Web API on .NET 10 — EF Core 10, DTO mapping with extension methods, async CRUD operations, and the built-in OpenAPI support with Scalar.
-
Blog
Testing ASP.NET Core Web API using Postman
Test ASP.NET Core Web API endpoints with Postman — GET, POST, PUT, and DELETE requests, JSON bodies, the status codes to expect, and practical tips like collections and environment variables.
-
Blog
How to Implement Dependency Injection in .NET Core
Learn dependency injection in .NET with the built-in IoC container — register services in Program.cs, inject them through constructors, choose lifetimes, and swap implementations with one line.
-
Blog
How to Setup CORS Policies in ASP.NET Core Web API
Configure CORS in ASP.NET Core Web API — default and named policies, origin/method/header restrictions, preflight requests, per-endpoint policies with RequireCors, and EnableCors/DisableCors attribute
-
Blog
Getting Started with ASP.NET Core MVC
Create your first ASP.NET Core MVC application on .NET 10 — project structure explained, Program.cs walkthrough, default routing, and your own model, controller, and view.
-
Blog
Return Different Types of Content from ASP.NET Core Action Results
Serve HTML, JSON, plain text, XML, files, and bare status codes from ASP.NET Core actions — with content negotiation, verified response headers, and guidance on choosing.
-
Blog
AutoMapper in ASP.NET Core Web API — and the Modern Alternatives
AutoMapper usage in ASP.NET Core Web API, its 2025 commercial licensing change, and the modern alternatives — hand-written mapping extension methods and the Mapperly source generator.
-
Blog
How to Export SQL Server Data to Excel in C# (Without Office Interop)
Export SQL Server query results to Excel with ClosedXML — no Office installation, no COM Interop, safe on servers and containers, with styling and a Web API download endpoint.
-
Blog
Entity Framework Core Database-First Tutorial
Scaffold a DbContext and entities from an existing SQL Server database with dotnet ef dbcontext scaffold — what gets generated, re-scaffolding on schema changes, and extending via partial classes.
-
Blog
CRUD Operations using ASP.NET Core
Build a complete CRUD API with ASP.NET Core — verified create/read/update/delete requests, the right status codes for each, automatic validation, and the path from in-memory store to EF Core.
-
Blog
Cascading Dropdowns with JsonResult in ASP.NET Core
Build cascading dropdowns in ASP.NET Core — a JsonResult action per level, the fetch API on the change event, safe option rendering, and a jQuery version for older projects.
-
Blog
Azure Resource Manager Templates Overview — with Bicep
How Azure Resource Manager works and why templates beat scripts — with Bicep as the modern authoring language: parameters, resources, outputs, what-if previews, and deployment commands.