Results for “.NET”
30 result(s) in everything
-
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
How to Implement Dependency Injection in .NET Core
To implement dependency injection in .NET Core, register your services in the built-in container (IServiceCollection) with a lifetime, then declare each…
-
Blog
Azure for .NET Developers — Part 6: Azure Functions vs Background Services — When Serverless Wins
The isolated worker model, honest cold-start numbers, and a practical decision table for Functions vs IHostedService vs container jobs.
-
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 Test Client: How to Test WCF Services with WcfTestClient.exe
Find, launch, and use WCF Test Client: add a service by WSDL, invoke operations with complex parameters, read the SOAP XML, fix the classic quota errors, and know its limits.
-
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
IDisposable, Finalizers and the Dispose Pattern in .NET
Deterministic cleanup in .NET means releasing a resource the moment you are done with it, instead of waiting for the garbage collector. You get it by…
-
Blog
Convert a DataTable to CSV, List or JSON in .NET
To convert an ADO.NET DataTable to CSV, a strongly-typed List<T, or a JSON string in .NET 9, iterate the table's columns and rows with a StringBuilder for…
-
Blog
Azure for .NET Developers — Part 1: Subscriptions, Tenants, and Entra ID Explained
The Azure mental model for C# developers: tenant vs subscription vs resource group, what app registrations really are, and how DefaultAzureCredential kills hardcoded secrets.
-
Blog
Compare DataTables with LINQ: Except, Intersect and Union
To compare two ADO.NET DataTable objects, call AsEnumerable() on each to get a sequence of DataRow, then apply LINQ set operators: Except gives rows in the…
-
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
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
.NET Dependency Injection Object Lifetimes
The built-in .NET dependency injection container ships three service lifetimes: Transient (a new instance on every resolution), Scoped (one instance per…
-
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
Azure for .NET Developers — Part 5: Blob Storage, Queues, and SAS Tokens That Expire Properly
BlobServiceClient with DefaultAzureCredential, access tiers and lifecycle rules, and user-delegation SAS links that expire in minutes instead of account keys that never do.
-
Blog
Modern .NET Backend Roadmap — Part 6: Docker
Package the API as a container: multi-stage Dockerfile, layer-cache-friendly restore, non-root user, and the two real build failures you will hit — verified with a running container.
-
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
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
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
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
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
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
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 5: Caching
Cache the hot read path with IMemoryCache and GetOrCreateAsync, choose expirations, survive stampedes and invalidation, and know when Redis and HybridCache enter.
-
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
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
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
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
Run MongoDB in Docker and Connect from .NET
Skip the MongoDB installer — one docker run gives you a working database. From there the .NET driver takes over: documents, queries, atomic updates, transactions, and the small traps that catch you on the first try.
-
Blog
Access SQL Server from a .NET Console Application
Connect to SQL Server from a .NET 10 console app with Microsoft.Data.SqlClient: connections, parameterized commands, data readers, transactions, and where Dapper and EF Core fit.