Home
Programming With Wolfgang
Cancel

Create Automatic Builds for .NET and .NET Core Applications with Azure DevOps

Automated build processes should be a no-brainer nowadays but unfortunately, I still come across quite many projects which do their builds manually. In today’s post, I want to give an introduction ...

ASP.NET Core logging to a database with NLog

ASP.NET core has seen rapid development in the last years. Additionally, there were some breaking changes since version 1, for example, the project.json file got removed. Unfortunately, the documen...

Understanding Tag Helpers in ASP.NET Core MVC

Tag helpers are a new feature that has been introduced in ASP.NET Core MVC and are C# classes that transform HTML elements in a view. Common uses for tag helpers include URLs for forms using the ap...

View Components in ASP.NET Core MVC

View components are a new feature in ASP.NET Core MVC which replaces the child action feature from the previous version. View components are classes which provide action-style logic to support part...

Dependency Injection in ASP.NET Core MVC

Dependency Injection is a technique that helps to create flexible applications and simplifies unit testing. .NET Core brings dependency injection out of the box, therefore you don’t have to use any...

Dealing with Complex Configurations in ASP.NET Core MVC

If you have to deal with a large number of hosting environments, configuring all of them in the Startup class can become messy. In the following sections, I will describe different ways that the St...

Configure ASP.NET Core MVC

Some configurations like the connection string usually change on every environment your application is running on. Instead of hard-coding this information into your application, ASP.NET Core enable...

Middleware in ASP.NET Core MVC

Middleware is the term used for the components that are combined to form the request pipeline. This pipeline is arranged like a chain. The request is either returned by the middleware or passed to ...

Getting to know the Startup Class of ASP.NET Core MVC

Every .NET Core web application has a Program class with a static Main method. The Startup class of .NET core is the new version of the Global.asax file. This class is responsible for starting the...

Horizontally Scaling Pattern

In my last post, I talked about vertically scaling vs. horizontally scaling with a focus on vertically scaling. Today, I will talk about it again, but I will focus on horizontally scaling this time...