Code Maze Author

Marinko Spasojević

Hi, my name is Marinko Spasojevic. Currently, I work as a full-time .NET developer and my passion is web application development. Just getting something to work is not enough for me. To make it just how I like it, it must be readable, reusable, and easy to maintain. Prior to being an author on the CodeMaze blog, I had been working as a professor of Computer Science for several years. So, sharing knowledge while working as a full-time developer comes naturally to me.
Also find me here:


MY ARTICLES:

How to Use FluentValidation in ASP.NET Core

To use FluentValidation in ASP.NET Core, we write our rules in a validator class, register it with dependency injection, and call it from the controller before we do anything with the request. Traditionally, most validation in .NET is done using Data Annotations:...

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

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

Blazor Server vs Blazor WebAssembly, Pros and Cons

In this article, we are going to talk about what is Blazor, we will compare Blazor Server vs Blazor WebAssembly and show some pros and cons. Usually, while developing a web application, we create a server-side project using Java, .NET, Node.js, or some other framework...