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
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
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
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
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
How to Implement Dependency Injection in .NET Core
Learn dependency injection in .NET with the built-in IoC container — register services in Program.cs, inject them through constructors, choose lifetimes, and swap implementations with one line.
-
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
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
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
.NET Dependency Injection Object Lifetimes
Transient, scoped, and singleton lifetimes demonstrated with GUIDs — what each means, why DbContext is scoped, and the captive-dependency trap that leaks state across requests.
-
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
Convert a DataTable to CSV, List or JSON in .NET
Three DataTable conversions done right in .NET 10: RFC-4180 CSV with quoting, typed List<T> via DataRow.Field, and JSON through records — edge cases verified.
-
Blog
Azure for .NET Developers — Part 4: Managed Identity — Kill Every Connection String and API Key
System vs user-assigned identities, RBAC role grants, and the DefaultAzureCredential chain that makes the same C# work on your laptop and in production.
-
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
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
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
Modern .NET Backend Roadmap — Part 7: Azure Deployment
Ship the container to Azure: choosing between App Service, Container Apps and AKS, pushing to a registry, secrets and managed identity, and capturing it all as Bicep.
-
Blog
Modern .NET Backend Roadmap — Part 4: JWT Authentication
Issue and validate JSON Web Tokens in ASP.NET Core: token endpoint, bearer validation, role-based authorization, and the mistakes that turn tokens into breaches — with verified 401/403/200 flows.
-
Blog
ASP.NET Core MVC Filters: Built-in and Custom with Examples
The five filter stages, the built-in attributes you get for free, and custom action, exception, and result filters with dependency injection — verified outputs included.
-
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
Compare DataTables with LINQ: Except, Intersect and Union
Diff two data snapshots with LINQ set operators: what was added, removed, changed, and unchanged — including the modern ExceptBy/IntersectBy/UnionBy variants.
-
Blog
ASP.NET Core MVC Request Life Cycle Explained
Follow one request through Kestrel, middleware, routing, filters, and result execution in ASP.NET Core MVC, with a logging middleware that makes the pipeline visible.
-
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.