How to Authenticate and Authorize JWT Token in ASP.NET Core 6

In this article, I will explain how to create the JWT token and how to Authenticate and Authorize it in very simple steps. 1. Add ASP.Net Core API Application Open visual studio 2022 click on create new project –> Select ASP.Net Core Web API –> Next Give desired project and solution name –> Next –> select framework […]

Read more
The Difference Between Middleware and Filters Power in ASP.NET Core

In ASP.NET core, Middleware and Filters are two concepts which are very useful & powerful but often confuses also on which one to choose. Middleware and Filters serves similar purpose and both can be used to achieve the common tasks like exception handling, localizations, authentications etc… but both has certain difference in a way it […]

Read more
Angular Tips – Build Clean Forms Using Reactive Forms

Reactive forms in Angular enable you to build clean forms without using too many directives. This is critical because: JavaScript frameworks typically caution against using clustered templates Form logic now lies in the component class Essentially, Angular reactive forms give developers more control because every decision related to inputs and controls must be intentional and explicit. To […]

Read more
Angular InjectionToken Feature

In this article, I want to talk about a feature which Angular provides, that isn’t particularly well known or used by many developers. When using Angular InjectionToken, we can specify a factory function which returns a default value of the parameterized type T. For example: This sets up the InjectionToken using this factory as a provider, as if it was defined […]

Read more
How to Build Web Application Using Blazor

This tutorial introduces the Blazor framework by guiding you in building a simple Web application with C#. What Is Blazor? Blazor has been gaining in popularity, especially after the release of .NET Core 3.0, which enriched it with many interesting features. Subsequent versions of .NET consolidated its foundations, and the interest around it is growing so […]

Read more
7 Tips to Speed Up Your ASP.NET Hosting Website on ASPHostPortal

We know that many factors can impact to your ASP.NET website speed. This includes tweaks like enabling their CDN, bot/hotlink protection, and early hints. They also have paid features like APO (the main one I recommend) which can significantly improve TTFB. It should be increase your website speed if you have run above procedure. While […]

Read more
How to Host ASP.NET Core Web Application in Windows Service

Did you know that we can host ASP.NET service on Windows with Windows Service without using IIS? The benefit of hosting on Windows Service is that the application will automatically restart after the server reboot. This functionality is implemented using a Worker Service Template that becomes the initial point for writing and building long-running service […]

Read more
All About ASP.NET Hosting

ASP.NET, a server-side framework designed by Microsoft, is an ideal solution for developers to create dynamic web applications. However, choosing the best hosting options can be a critical decision to deploy your application. ASP.NET offers various hosting options, but choosing the right one will require you to understand the framework and hosting structure before investing […]

Read more