Programming

About Microsoft.NET, C#/VB/C++, WPF/WCF/WinForm/Silverlight, Windows Azure, SQL Server, Windows Phone, etc.

Subscribe

Logging configuration in .NET core

32 views 0 comments posted at about 2 months ago

.NET core introduces a logging API that works with a number of logging frameworks. The built-in providers are configurable and extensible to support different level loggings.

View detail

Sending Emails in .NET Core Applications

54 views 0 comments posted at about 2 months ago

Sending emails are common in applications. For example, when user registers, we need to send account activation emails. This post summarize the approaches we can use to send emails in .NET Core 1.x and 2.x.

View detail

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

21 views 0 comments posted at about 2 months ago

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

65 views 0 comments posted at about 2 months ago

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

176 views 0 comments posted at about 2 months ago

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

251 views 2 comments posted at about 3 months ago

View detail

OpenIddict Refresh Token Flow issue ASP.NET Core 2.0

209 views 0 comments posted at about 3 months ago

View detail