Category: ASP.NET CORE
-
Difference Between NTLM and Kerberos?
Windows New Technology LAN Manager (NTLM) and Kerberos is a suite of security protocols offered by Microsoft to authenticate users identity and protect the integrity and confidentiality of their activity. NTLM is still supported by Microsoft, it has been replaced by Kerberos as the default authentication protocol in Windows 2000 and subsequent Active Directory (AD)…
-
ASP.Net Core getting message “The project doesn’t know how to run the profile Docker.”
Today, want to setup the Docker in my old ASP.Net Core web application. Then, I did Docker configuration manually in the Core application and run, it give me an error “The project doesn’t know how to run the profile Docker.” (I am using Visual Studio 2019) and setup the Linux based Docker in local machine.…
-
ASP.NET Core Entity Framework Scaffolding Error Microsoft.EntityFrameworkCore.SqlServer
While creating MVC Controller using the scaffolding engine in Visual Studio, getting the following error ‘Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlServerSqlTranslatingExpressionVisitorFactory’ from assembly ‘Microsoft.EntityFrameworkCore.SqlServer, Version=3.1.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60’ does not have an implementation. As per the error message, it means that the version being used doesn’t implement Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlServerSqlTranslatingExpressionVisitorFactory’ method in 3.1.3.0 Solution – Step 1: We need to check the version…
-
Access Configuration from a View in ASP.NET Core
Let’s talk about the scenario, you have configured the Application Title into AppSettings.JSON 1) AppSettings.JSON To use the configuration settings, we have to make sure that the appsettings.json file is loaded to Configuration Builder, which is used to build the configuration of key/value-based settings. 2) Go to the Startup.CS file 3) ApplicationSettings class We can…