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
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
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, asser
-
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
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
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
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
Areas in ASP.NET Core MVC: Setup, Routing and asp-area Links
How to use areas in ASP.NET Core MVC: folder structure, the [Area] attribute, the {area:exists} route, view resolution, asp-area links, and securing an area.
-
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
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
.NET AI Engineer Roadmap 2026–27: From Modern C# to Production AI
A stage-by-stage path to becoming a .NET AI engineer: modern C#, backend skills, LLMs and RAG, Semantic Kernel and MCP, Azure deployment, production AI and the projects that get you hired.
-
Blog
What Is Kestrel in ASP.NET Core? Configuration, Limits and HTTPS
What Kestrel is and how to configure it in ASP.NET Core: URLs and endpoints, request limits, HTTPS, reverse proxies, and appsettings.json vs 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
ASP.NET Core Autocomplete Textbox: datalist, fetch and jQuery UI
Build an autocomplete textbox in ASP.NET Core with the native datalist element and fetch, a custom dropdown, or the jQuery UI widget, with debounced requests.
-
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
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
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
FileResult in ASP.NET Core: FileContentResult vs FileStreamResult
Return files from ASP.NET Core with FileResult: FileContentResult vs FileStreamResult vs PhysicalFileResult, content types, download vs inline, and large files.
-
Blog
ASP.NET Core MVC Request Life Cycle Explained
An HTTP request in an ASP.NET Core MVC app on .NET 10 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
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
Redirects in ASP.NET Core MVC: RedirectToAction, LocalRedirect and More
Choose the right redirect: RedirectToAction for app flows, 301 permanents for SEO, LocalRedirect against open redirects, and named routes with RedirectToRoute.
-
Blog
Custom Validation with ValidationAttribute in ASP.NET Core MVC
Build a reusable [FutureDate] rule with ValidationAttribute, add client-side checks via IClientModelValidator, and know when IValidatableObject fits better.
-
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.