ASP.NET Core

Articles about ASP.NET Core 1.x, 2.x and 3.x.

rss_feed Subscribe RSS

local_offer asp.net core local_offer asp.net core 3 local_offer C#

visibility 754
thumb_up 0
access_time 2 months ago

This page summarize information about how to retrieve client and server IP address in ASP.NET core applications.  Client IP address can be retrieved via HttpContext.Connection object. This properties exist in both Razor page model and ASP.NET MVC controller. Property  RemoteIpAddress ...

local_offer asp.net core local_offer C#

visibility 647
thumb_up 0
access_time 3 months ago

Microsoft 365 and Office 365 supports using licensed user account to send emails in client applications. SMTP protocol can be used to send emails in ASP.NET Core applications. This article shows how to use SMTP AUTH to send emails in ASP.NET Core 3.1 applications. warning  This guide is ...

Entity Framework Core Code-First - Generate Covering Index with Columns Included

local_offer entity-framework local_offer asp.net core local_offer Azure local_offer C#

visibility 251
thumb_up 1
access_time 6 months ago

In SQL Server or some other relational databases, it is a very common requirement to create covering index with columns included in index pages beside the index key columns. With Entity Framework Core, you can also easily generate covering indexes using purely C# code. For Kontext website, backend ...

local_offer asp.net core local_offer asp.net core 3

visibility 146
thumb_up 0
access_time 6 months ago

Sign-in with social accounts like Google, Microsoft, Twitter and Facebook accounts are very commonly used in websites to allow website users to logon easily without registering an separate account. During the implementation of Kontext Google sign-in function, I encountered an error: Exception ...

local_offer asp.net core local_offer gulp

visibility 374
thumb_up 0
access_time 2 years ago

If you have been working on ASP.NET projects in the past years, you probably have heard or used quite a few client library management frameworks/tools. For example, Bower, npm, Gulp, Grunt, Webpack, Yarn, Parcel, Libman, etc. Before SPA became popular, the default ASP.NET (or ASP.NET Core) project ...

local_offer asp.net core 2 local_offer asp.net core local_offer dotnetcore local_offer open-banking

visibility 274
thumb_up 0
access_time 2 years ago

I’ve just started an asp.net core 2.2 based implementation for Australia Consumer Data Standards (published by Data 61). Opening Banking initiative will follow these standards. The purpose is to help you to get familiar with these standards, especially the APIs that need to be implemented. The ...

local_offer dotnetcore

visibility 2949
thumb_up 0
access_time 3 years ago

After upgrading to ASP.NET Core 2.1 (.NET Core SDK 2.1.301), you may encounter the following error about encoding: System.ArgumentException    HResult=0x80070057    Message='Cyrillic' is not a supported encoding name. For information on defining a custom encoding, see the ...

local_offer asp.net core 2 local_offer dotnetcore

visibility 3031
thumb_up 0
access_time 3 years ago

In .NET Core 2.x, Windows Forms or WPF are not implemented since they are based on GDI+ and DirectX respectively in Windows. In .NET Core 3.0, there is plan to add Desktop Packs which includes UWP. WPF and Windows Forms. However, they will still be Windows-only. In .NET Core applications, you may ...

local_offer dotnetcore local_offer bootstrap

visibility 2223
thumb_up 0
access_time 3 years ago

When upgrading Bootstrap to v4.0.0 release, the bundler and minifier doesn’t work properly due to CSS variable is commonly used: :root{--blue:#007bff; About 26 errors will show up in the Error List with the following message: Expected semicolon or closing curly-brace found '-' The ...

local_offer asp.net core local_offer identity core 2

visibility 27143
thumb_up 0
access_time 4 years 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.