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 have used Blazor Server-side implementation in this post. I will update this post for Blazor Client-side later I will…

Continue ReadingCascading Dropdown in Blazor

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 ReadingCRUD using Blazor and Entity Framework Core

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. These apps run client-side in web browsers…

Continue ReadingGet started with Blazor

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.  Obviously, that solution helps authorize users on the application level.  I also promised 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. This allows you to implement the application authorization rules in code.  In…

Continue ReadingPolicy based authorization in ASP.NET Core

Create NuGet Package and Publish in Dotnet Core

Most of us use NuGet packages in our projects and we are familiar with the procedure of adding a NuGet package to a project.  Have you ever wondered how to create NuGet package?  Let’s discuss in detail how to create and publish NuGet Package. Introduction to NuGet NuGet is a free and open-source package manager designed for the Microsoft development platform.  It is a .NET alike of NPM packages.  A whole library can be encapsulated…

Continue ReadingCreate NuGet Package and Publish in Dotnet Core