Dependency Injection in ASP.NET Core
In this article, we're going to talk about dependency injection, one of the most frequently used design patterns out there. There are many tutorials about dependency injection, but in this one, we're going to focus on understanding why the dependency injection is used...
Introduction to Cloud Computing and Azure
In this article, we are going to discuss the fundamentals of Cloud Computing and Microsoft Azure. To read more about Azure, you can visit our Azure with ASP.NET Core page, where you can find all the articles from the series. What is Cloud Computing? Cloud Computing is...
Deep Dive Into Different Validators with FluentValidation
In the previous article, we had a brief look at how to use FluentValidation in an ASP.NET Core application, as an alternative to using Data Annotations. We've created a simple API and demonstrated the basic concepts of FluentValidation. So, in this article, we are...
FluentValidation in ASP.NET Core
In this article, we're going to discuss the use of FluentValidation in ASP.NET Core. Traditionally, most validation in .NET is done using Data Annotations: public class SampleClass { [Required] public int Id { get; set; } [MaxLength(100)] public string Name { get;...
Introduction to gRPC in ASP.NET Core With MongoDB
In this article, we’re going to cover how to set up an ASP.NET Core gRPC service with MongoDB as our database. MongoDB is an increasingly popular database and is often integrated with a gRPC service. Integration with MongoDB has been covered in a previous article so...
IncludeMembers and Custom Projections with AutoMapper in ASP.NET Core
Following the first article on AutoMapper in ASP.NET Core, this one represents an extension to the mapping of complex objects, describing some additional features that can save us a lot of work. The tools which will help us achieve the desired goal are custom...
How to Implement SignalR Automatic Reconnect with Angular
In this article, we are going to learn how to implement Automatic Reconnect in SignalR. We have already discussed how to implement a real-time chart using ASP.NET Core SignalR on the server-side and Angular on the client-side in our .NET Core with SignalR and Angular...
How to Send Client-Specific Messages Using SignalR
In our .NET Core with SignalR and Angular – Real-Time charts article, we learned how to implement a real-time chart using ASP.NET Core SignalR on the server-side and Angular on the client side. As part of that article, we implemented a SignalR hub that pushes messages...
Role-Based Authorization with Blazor WebAssembly
Up until now, we have learned how to use AuthenticationStateProvider in Blazor WebAssembly. Additionally, we have learned how to create registration functionality as well as Login and Logout functionalities in our application. But what about the roles? Well, in this...
Blazor WebAssembly Authentication with ASP.NET Core Identity
In this article, we are going to learn about creating the Blazor WebAssembly Authentication mechanism and how to implement it on both the server-side and the client-side. In one of the previous articles, we have implemented the test AuthenticationStateProvider class...
Blazor WebAssembly Registration Functionality with ASP.NET Core Identity
In this article, we are going to learn how to implement Blazor WebAssembly registration functionality to create a new user for our application. We are going to integrate the ASP.NET Core Identity library to help us in the process. After the Identity integration, we...
AuthenticationStateProvider in Blazor WebAssembly
Now that we know the basics of Blazor WebAssembly, we can move on to learning about authentication and authorization. In this article, we are going to explore how to accomplish these actions by inspecting the AuthenticationStateProvider. We are going to create a test...
PUT, DELETE Actions and Calling JavaScript Functions in Blazor WebAssembly
Up until now, we have covered a lot of ground related to our Blazor WebAssembly application. But, we still have to cover the handling of PUT and DELETE actions in the same application. Ideally, we want to ask our users if they are sure about the Delete action. For...
File Upload with Blazor WebAssembly and ASP.NET Core Web API
In the previous article, we have created a form where we had to manually type the image URL. But of course, this is not the solution we are aiming for. In this article, we are going to modify that logic and learn about file upload with Blazor WebAssembly. We are going...
Blazor WebAssembly Forms, Form Validation, and @ref Directive
Sending a GET request to the server-side application and showing the data on the page is just a part of any application. In addition to that, we have to create our data and send POST requests as well. While creating forms, we have to provide validation for a user on...
Sorting in Blazor WebAssembly and ASP.NET Core Web API
Sorting in Blazor WebAssembly is implemented similarly to any other application type. And by sorting, we mean ordering the data fetched from the backend by using some criterium. For example, the criterium is often a product name. It can also be something like the...
Blazor WebAssembly Searching with ASP.NET Core Web API
In this part of the series, we are going to explain how to create one version of Blazor WebAssembly Searching functionality. In this example, we are going to implement a search by product name, but later on, you can modify it to your needs. As we did in a previous...
Blazor WebAssembly Pagination with ASP.NET Core Web API
In this article, we are going to learn how to create a Blazor WebAssembly Pagination by consuming data from our Web API server project. We already have the server-side logic to provide the data to the client, but now, we are going to modify it to fit the pagination...
Using Refresh Tokens in ASP.NET Core Authentication
In this article, we are going to learn about refresh tokens and their use in modern web application development. This is part of the ASP.NET Core Authentication with JWT and Angular series. [sc name="patreon-source-code"...
Blazor WebAssembly HttpClient – Consuming a Web API
In this article, we are going to learn more about Blazor WebAssembly HttpClient and how to use it to fetch data from the ASP.NET Core Web API server. The HttpClient service is preconfigured in BlazorWebAssembly applications, but since we are working with the API...
A Few Different Ways to Concatenate Strings in C#
In this quick tutorial, we are going to talk about different ways to concatenate strings. Splitting and joining strings are commonly used operations in almost any real-world application, so let's see how we can concatenate strings through some examples. We won't cover...




















