Bogdan BujdeaProbogdanbujdea.dev·Sep 22, 2023Provisioning new environments with Bicep and Azure DevOps YAML PipelinesIn this article, we continue working on our sample application and I'm going to walk you through setting up a new QA environment, neatly tucked into its own resource group. The best part? We'll automate the entire process using Azure Pipelines and Bi...Discuss·42 readsazure-devops
Dev Leaderhashnode.devleader.ca·Sep 21, 2023How To Implement The Decorator Pattern With AutofacIn the realm of software development, understanding theoretical concepts is only half the battle. Practical examples serve as a bridge, translating abstract ideas into tangible implementations that can be visualized, tested, and refined. They provide...Discuss·26 readsdesign patterns
Bogdan BujdeaProbogdanbujdea.dev·Sep 20, 2023Azure DevOps Best Practices: Breaking Down the Monolithic YAMLCreating a multi-stage YAML pipeline in Azure DevOps for .NET projects Running tests with code coverage in Azure DevOps YAML pipelines Static code analysis with NDepend in Azure Pipelines Running e2e tests with Playwright in Azure YAML Pipelines ...Discuss·1 like·104 readsAzure DevOpsazure-devops
Ahmed Onourblog.ahmedsuliman.com·Sep 17, 2023Mastering ASP.NET Core Web API: A Comprehensive Guide to Building, Securing, and Deploying RESTful ServicesASP.NET Core Web API ASP.NET Core Web API is a framework for building RESTful web services. It allows us to expose data and business logic to the web using HTTP. In this article, we will learn how to: Create a web API project Add model classes and ...Discussasp.net core
Milan Jovanovićmilanjovanovic.hashnode.dev·Sep 16, 2023Feature Flags in .NET and How I Use Them for A/B TestingThe ability to conditionally turn features on or off in your application without redeploying the code is a powerful tool. It lets you quickly iterate on new features and frequently integrate your changes with the main branch. You can use feature flag...Discussdotnet
Gaiya M. Obedgaiyaobed.hashnode.dev·Sep 14, 2023Exploring ASP.NET Core Dependency Injection: A Comprehensive Guide to AddDbContext, AddScoped, AddSingleton, and AddTransientIntroduction ASP.NET Core is a versatile and powerful framework for building modern web applications. One of its key features is its built-in dependency injection (DI) system, which helps manage the application's components and their dependencies eff...Discussasp.net core
Slawomir Moriakslamcode.hashnode.dev·Sep 13, 2023Disabling endpoints on different environments (2/2: Swagger)How to entirely remove endpoints from swagger documentation based on any predicate and why document filters are not a good fit for that. Continuation from Part 1 where we excluded endpoints from ASP pipeline. TLDR; Provide a predicate function that c...Discussdotnet
Slawomir Moriakslamcode.hashnode.dev·Sep 9, 2023Disabling endpoints on different environments (1/2: ASP pipeline)Let's learn how to efficiently manipulate ASP.Net endpoints accessibility on different environments or based on any other more complex logic. TLDR; Mark endpoints you wish to manipulate with a custom attribute. Replace the original EndpointDataSource...DiscussC#
Jemin Desaipositiwise.hashnode.dev·Sep 5, 2023Deploying Scalable ASP.NET Core Apps on KubernetesKubernetes has become the de facto standard for deploying and managing containerized applications at scale. In this post, we will see how to build a scalable ASP .NET Core app and deploy it on a Kubernetes cluster. Benefits of Kubernetes for ASP .NET...Discuss·6 likes·56 readsasp.net core
Dilipngeninv.hashnode.dev·Sep 4, 2023Rough Notes on .NETDependency Injection DI through interfaces, through constructor, by method with [FromService], in razor pages with @inject in the middleware. Service lifetime Singleton (a single instance) static Scoped (for that particular session/Http Context)...Discuss·30 reads.NET