Category: ASP.NET Core

Select Tag Helper Enum Binding

Select Tag Helper in ASP.NET Core – Enum Binding

This article explains how to bind the enum values to Select Tag Helper. The enum(enumeration) is a data type used to declare a list of constant values. Let us see how to bind the...

Readmore

Select Tag Helper Basic Binding

Select Tag Helper in ASP.NET Core – Basic Binding

The Select Tag Helper in ASP.NET core will generate the Select HTML element and related option HTML element in the ASP.NET Core application. The Select Tag Helper has two major attributes asp-for...

Readmore

Cookie Authentication

Simple Cookie Authentication in ASP.NET Core 2.x

Authentication plays an essential role in website security. ASP.NET Core provides various ways to authenticate a web application. In this article, we will see simple cookie authentication and how to...

Readmore

AJAX call back in ASP.NET CORE razor page

AJAX call back in ASP.NET CORE razor page

The razor pages in ASP.NET Core have a feature that automatically protects the form from cross-site forgery (CSRF/XSRF) attacks using the FormHelperTag. Writing no extra code it will auto create...

Readmore

Cross-site request forgery, XSRF/CSRF

Cross-Site Request Forgery in ASP.NET Core FormTagHelper

Cross-Site Request Forgery is an attack to plot the user to execute an undesirable action in the web application where they have logged in. It is also called CSRF or XSRF....

Readmore