ASP.NET

Retrieve Identity username, email and other information in ASP.NET Core

91 views   0 comments last modified about 5 months ago asp.net core identity core 2

The identity system in ASP.NET has evolved over time. If you are using ASP.NET Core, you probably found User property is an instance of ClaimsPrincipal in Controller or Razor views. Thus to retrieve the information, you need to utilize the claims.

View detail

Retrieve Azure AppSettings and Connection String Settings in ASP.NET Core Apps

287 views   0 comments last modified about 5 months ago .net core Azure

In ASP.NET Core, we can easily use user secrets to manage our password or credentials. This post will summarize the approaches we can use after the websites are deployed into Azure.

View detail

Server.MapPath Equivalent in ASP.NET Core 2

970 views   0 comments last modified about 5 months ago asp.net core 2

In traditional asp.net applications, Server.MapPath is commonly used to generate absolute path in the web server. However, this has been removed from ASP.NET Core. So what is the equivalent way of doing it?

View detail

Migrating from ASP.NET Core 1.x to ASP.NET Core 2.0

460 views   2 comments last modified about 6 months ago

View detail

OpenIddict Refresh Token Flow issue ASP.NET Core 2.0

506 views   0 comments last modified about 6 months ago

View detail

Migrating from ASP.NET Core 1.x to ASP.NET Core 2.0 – Issues Continued

391 views   0 comments last modified about 6 months ago

View detail

[Link] Build SPA on ASP.NET Core with JavaScript Services

304 views   0 comments last modified about 11 months ago dotnet core

View detail

Migrate from System.Web.Providers to ASP.NET Identity 1.0 and then to 2.1.0

1762 views   1 comments last modified about 4 years ago

View detail