Results for “Design Patterns”
16 result(s) in everything
-
Blog
Building Scalable Applications: Microservice Architecture Challenges
While microservices architecture provides significant advantages in scalability, flexibility, and maintainability, it also introduces unique challenges that must be carefully considered when designing
-
Blog
EF Core Migrations in a Separate Assembly
To keep EF Core migrations in a separate assembly, move your DbContext and migrations into a class library, tell EF which assembly owns the migrations with…
-
Blog
Microservice Architecture Patterns for Architects
A practical tour of the microservice patterns architects actually use — service boundaries, API gateways, sagas, database-per-service, and observability — plus an honest take on when to stay with a monolith.
-
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
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
Modern .NET Backend Roadmap — Part 2: Repository Pattern
Implement the repository pattern over EF Core the useful way: use-case-shaped interfaces, AsNoTracking reads, unit-of-work saves, correct lifetimes, and the anti-patterns to dodge.
-
Blog
Entity Framework Core Database-First Tutorial
Database-first in EF Core means you point a tool at an existing SQL Server database and it generates the entity classes and DbContext for you, instead of you…
-
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
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
Read appsettings.json in a .NET Class Library with Dependency Injection
The options pattern done right: the host owns configuration sources, the library declares typed settings, and DI carries one to the other — with validation at startup.
-
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
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
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 8: CI/CD with GitHub Actions
Automate build, smoke test, image, and deployment with GitHub Actions: SHA-tagged images, OIDC federation to Azure, environments with approvals, and pipeline hygiene.
-
Blog
How to Pivot Data in SQL Server
To pivot data in SQL Server, use the PIVOT operator to turn distinct row values into columns while aggregating a measure. You supply an aggregate (like…
-
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.