Configuring and Using Swagger UI in ASP.NET Core Web API
In this article, we are going to learn how to integrate Swagger UI in an ASP.NET Core Web API application. Let's dive in. [sc name="videolink"...
MY ARTICLES:
In this article, we are going to learn how to integrate Swagger UI in an ASP.NET Core Web API application. Let's dive in. [sc name="videolink"...
In this article, we are going to learn how to use AutoMapper in an ASP.NET Core application. We are going to start by looking into what AutoMapper is and what problem it solves. Then, we are going to explain how we can use AutoMapper in our MVC application. After...
Since the birth of various .NET implementations and .NET Standard, there has been a lot of confusion regarding these topics in the development community. We will try to eliminate that confusion by explaining these topics in a simple and understandable way. Let's start...
Filters in ASP.NET Core MVC allow us to run certain actions before or after specific stages in the request processing pipeline. There are some built-in filters in ASP.NET Core. We can also write custom filters to execute actions at various stages of the request...
In this article, we are going to cover Unit Testing or rather why we need unit tests and how to implement them in our ASP.NET Core applications. If you’ve missed some of the previous articles in the series we recommend visiting the series page: ASP.NET Core MVC...
In this article, we are going to discuss an important concept of ASP.NET Core MVC - Dependency Injection. If you’ve missed some of the previous articles in the series we recommend visiting the series page: ASP.NET Core MVC Series. To download this article’s source...
File Upload is the process of uploading files from the user’s system to the web application’s storage. ASP.NET Core MVC actions support uploading of one or more files using simple model binding. We have covered the file upload support in ASP.NET Core Web API in detail...
In this article, we’re going to discuss the routing capabilities in ASP.NET Core MVC. We're also going to learn how to set up routes in two different ways. If you've missed some of the previous articles in the series we recommend visiting the series page: ASP.NET Core...
HTTP is a stateless protocol. So HTTP requests are independent messages that don't retain user values or app states. We need to take additional steps to manage state between the requests. In this article, we are going to look at various approaches to HTTP state...
In the MVC pattern, Views handle the application's data presentation and user interaction. They also help to establish a Separation of Concerns (SoC) within an MVC application by separating the user interface markup from other parts of the application. A view is an...
In the previous part of this series, we built an ASP.NET Core MVC application using some mock data. In this part, we are going to look at the ways to connect the application with a database and work with data. We are going to use the EF Core Code-First approach which...
In this article, we are going to look at the basics of building an ASP.NET Core MVC web app. We are going to start by creating a simple ASP.NET Core MVC app using the default template provided by Visual Studio. The default template itself will translate into a working...
This post is going to take you through using the DalSoft.RestClient C# library to consume a RESTful API. We are going to show you the most common scenarios using live examples from the REST API JSONPlaceholder. We are using JSONPlaceholder because it's a great tool...
In this article, we’ll take a look at the EF Core Database-First approach. In this approach, we create our database first. We then model our entities. This approach is useful when we work with an existing database. This is also useful when we migrate from existing...
While working with the EF Core Code-First approach, we create the classes for our domain entities first. Later, we'll create the database from our code by using migrations. This is the opposite of the Database-First approach where we design our database first and then...
In this post, we are going to talk about enabling CORS in ASP.NET Core Web Applications. .NET Core Tutorial Global Error Handling in .NET Core Web API Create PDF in .NET Core Web API Implementing Action Filters in .NET Core Web API Design Patterns in C# [sc...
As more and more companies tend to adopt the DevOps trend in their software development process, DevOps has slowly become a set of practices rather than a concept. It is about finding a smooth interaction between development and operations in order to overcome the...
Software maintenance is an inevitable part of the development process and one that could give developers the most trouble. We’ve all been there, whether we left our code in someone else’s care, or we’ve inherited some legacy code. This doesn’t necessarily need to be a...
Go mobile or go home! Mobile apps have taken center stage in the world of software. With seemingly unstoppable growth, the winner is the one who can deliver healthy code to the end user faster. This merciless race for the five-star rating has created a race for the...