Token Based Authentication in ASP.NET Core

APIs are now the standard for building and integrating modern applications.  It also evolved as the key enabler in conducting risk-free legacy modernization and they become engines of innovation.  In addition, exposing the services via APIs allows organizations to reach a larger audience, expand into new areas, and reuse existing assets.  Providing security to these APIs is one of the main concerns.  In this post, we will talk about using Token Based Authentication in Dotnet…

Continue Reading

Cascading Dropdown in Blazor

In my last post (CRUD using Blazor and Entity Framework Core), we discussed using Entity Framework Core with Blazor and implement CRUD functionalities.  We also discussed the usage of Bootstrap, Validations using Data Annotations and Creation of Dynamic content using RenderFragment. In this post, we will see how to implement a cascading dropdown in Blazor. I will use the sample application we have created in the previous post and extend it with the new functionalities…

Continue Reading

CRUD using Blazor and Entity Framework Core

In my last post (Get Started with Blazor), we discussed the Blazor Framework, Hosting models and how to set up authentication and authorization in a Blazor server-side application with an example.  In this post, I am going to explain CRUD using Blazor and Entity Framework Core.  I will use the sample application we have created in the previous post and extend it with the new functionalities we are going to talk about in this post. …

Continue Reading

Get started with Blazor

Blazor is a new web UI framework based on C#, Razor, and HTML.  This runs in the browser via WebAssembly.  It helps build interactive web UI using C# instead of JavaScript.  This post demonstrates how to build a SPA using Blazor.  Blazor simplifies the task of building fast and beautiful SPAs that run in any browser. It does this by enabling developers to write Dotnet based web apps that run client-side in web browsers using…

Continue Reading

Policy based authorization in ASP.NET Core

In my previous article, I explained about restricting users based on the IP Address.  It was implemented by using a whitelist of IP Address and middleware.  The solution helps authorize users on the application level.  I also mentioned that I will write another article to explain about restricting users on a controller level or action level.  Policy-based authorization is a new feature introduced in Dotnet Core that allows you to implement the application authorization rules…

Continue Reading
Close Menu