Results for “ASP.NET Core”
30 result(s) in everything
-
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
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
Testing ASP.NET Core Web API using Postman
Test ASP.NET Core Web API endpoints with Postman — GET, POST, PUT, and DELETE with the status codes to expect, then the power features: JWT-protected endpoints, chaining requests with variables, assertion scripts, and running the whole collection in CI with Newman.
-
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
Host an ASP.NET Core Web API in IIS
Publish and host ASP.NET Core in IIS: the ASP.NET Core Module, Hosting Bundle, app pool settings that matter, and the 500.19/500.30/502.5 troubleshooting table.
-
Blog
How to Bind a DropDownList in ASP.NET Core MVC
To bind a dropdown list in ASP.NET Core MVC, expose a List<SelectListItem (or a SelectList) on your view model and render it with the <select…
-
Blog
Python for .NET Developers: A Practical First Project
Coming from C#? Learn Python by building a small REST API with FastAPI — virtual environments demystified, Pydantic as your model binding, and a side-by-side C# to Python cheat sheet.
-
Blog
WCF in the AI Era: Testing Legacy Services and Migrating to CoreWCF or gRPC
A pragmatic WCF migration path: pin behavior with generated-client tests, lift unchanged contracts onto .NET 10 with CoreWCF (verified end to end), then move consumers to gRPC on your schedule.
-
Blog
AJAX Calls with JsonResult in ASP.NET Core MVC — fetch and jQuery
Return JSON from ASP.NET Core MVC actions and call them from the browser — the fetch API for modern pages, jQuery $.ajax for legacy ones, POSTing JSON with FromBody, and common pitfalls.
-
Blog
Render a Partial View with a Model in ASP.NET Core MVC
To render a partial view with a strongly-typed model in ASP.NET Core MVC, use the <partial tag helper and pass the model through its model attribute:…
-
Blog
Azure for .NET Developers — Part 3: Azure SQL, EF Core, and the Firewall Gotchas
Provision serverless Azure SQL with auto-pause, wire up EF Core with retry-on-failure, survive the firewall rules, and go password-less with Entra authentication.
-
Blog
Azure for .NET Developers — Part 2: Deploy an ASP.NET Core App to App Service the Right Way
az webapp up, GitHub Actions, Key Vault configuration references, deployment slots for zero-downtime swaps, and the gotchas that break first deployments.
-
Blog
Modern .NET Backend Roadmap — Part 10: Observability with OpenTelemetry
Close the roadmap with OpenTelemetry: traces, metrics, and logs from a running API, custom spans and counters for business operations, cardinality rules, and sampling strategy.
-
Blog
ASP.NET Core Application and Kestrel Web Server Settings
Configure Kestrel in ASP.NET Core — endpoints and URLs, request limits verified with real 413s, HTTPS and reverse proxies, and which settings work in appsettings.json versus code.
-
Blog
ASP.NET Core MVC Model Binding
How ASP.NET Core turns route values, query strings, forms, and JSON bodies into typed action parameters — binding sources, complex types, collections, and the classic empty-model gotcha.
-
Blog
Cascading Dropdowns with JsonResult in ASP.NET Core
Cascading dropdowns populate a second <select based on what the user picks in the first: choose a country and the state list refills, choose a state and the…
-
Blog
Modern .NET Backend Roadmap — Part 1: Clean Architecture
Start the roadmap with a clean-architecture solution on .NET 10: domain entities with behavior, application-layer ports, infrastructure adapters, and a thin API — dependencies enforced by the compiler
-
Blog
Returning a File using FileResult in ASP.NET Core MVC
Return downloads from ASP.NET Core with FileResult — byte arrays, streams, and physical files, content types, inline vs attachment, range processing, and serving user uploads safely.
-
Blog
The Paradigm Shift to Low-Code and No-Code Development
Low-code and no-code (LCNC) platforms let you build working software mostly by configuring visual components and declarative rules instead of hand-writing…
-
Blog
ASP.NET Core MVC Request Life Cycle Explained
An HTTP request in an ASP.NET Core MVC app on .NET 9 flows through the Kestrel web server into an ordered middleware pipeline, gets matched to a controller…
-
Blog
ASP.NET Core Controller Action Methods and Types of Action Results
Controllers, action methods, and every action result type in ASP.NET Core — View, Json, Content, status codes, redirects, and FileResult — each verified with the actual HTTP response.
-
Blog
Azure for .NET Developers — Part 8: What a Hobby-Scale .NET App Really Costs
Honest, itemized numbers for a small production ASP.NET Core app on Azure, the cost traps that bite beginners, and when a plain $12 VPS is simply the better call.
-
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
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
Structured Logging in ASP.NET Core with Serilog and Seq
Wire Serilog into ASP.NET Core with console, rolling-file, and Seq sinks: request logging, enrichment, levels, and the named-placeholder habit that makes logs queryable.
-
Blog
Azure for .NET Developers — Part 7: Create and Automate VMs with the Azure SDK
The modern Azure.ResourceManager SDK end to end: resource group, network, and a Linux VM with SSH keys from C#, plus scheduled start/stop to keep the bill sane.
-
Blog
RESTful CRUD Operations with ASP.NET Core Minimal APIs
To build a RESTful CRUD API in ASP.NET Core, model each entity as a resource, map the four HTTP verbs (GET, POST, PUT, DELETE) to read/create/update/delete,…
-
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
ASP.NET Core MVC Routing Explained with Examples
Conventional and attribute routing in ASP.NET Core — the default pattern, API route templates, parameters and constraints, catch-alls, and generating URLs instead of hard-coding them.
-
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.