Results for “Design Patterns”
13 result(s) in everything
-
Blog
Microservice Architecture Patterns for Architects
This blogpost explains about advantages, disadvantages, internal service communication, SOA vs MSA, Prerequisites, and other aspects of Microservice Architecture that are required to define architectu
-
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
IDisposable, Finalizers and the Dispose Pattern in .NET
Deterministic cleanup with using, the full dispose pattern explained line by line, IAsyncDisposable, SafeHandle, and why you almost never write a finalizer.
-
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
Angular Components Tutorial: Standalone Components and Signals
Modern Angular components from scratch: the @Component anatomy, signals for state, @if/@for control flow, composition with inputs and outputs, and design guidelines that age well.
-
Blog
SQL Server Stored Procedure vs User-Defined Function
Functions compute inside queries; procedures do work. The full capability matrix, parameter sniffing notes, and a mechanical decision guide with working examples of each.
-
Blog
RESTful CRUD Operations with ASP.NET Core Minimal APIs
Build a CRUD API with correct verbs and status codes: 201 with Location, 204 for deletes, RFC 9457 validation problems, and compile-checked typed results — verified with curl.
-
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
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
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
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.