Home
Programming With Wolfgang
Cancel

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...

Vertically Scaling Pattern

Scalability of a system is a measure of the number of users it can handle at the same time. For a web server, for example, would this mean how many concurrent users it can serve. Serving more users...

Release faster with Feature Toggles

Nowadays, more and more teams do (finally) continuous integration and continuous deployment (CI/CD). Unfortunately, even if the development team was able to do CI/CD, the business department is oft...