ASP.NET Core

Dotnet ef – the specified command or file was not found

we might come across issues when trying to access .NET tool (dotnet ef) when it is already installed in the workstation or when trying to install or update the tool which can be a global or local tool. There are a couple of reasons a .NET tool fails to run, most likely When Executable file …

Dotnet ef – the specified command or file was not found Read More »

Create and run an ASP.NET Core app using the .NET Core CLI.

ASP.NET Core is an open source, cross platform framework for building modern, cloud based web apps on Windows, macOS, or Linux. Follow below steps to create ASP.NET Core web app.– Create a web app project– Trust the development certificate– Run the app. There are few prerequisites before starting,– .NET SDK (as of today there are …

Create and run an ASP.NET Core app using the .NET Core CLI. Read More »

No IUserTwoFactorTokenProvider named \’Default\’ is registered

While working on .NET Core\’s Identity files, I encounter this error: No IUserTwoFactorTokenProvider<TUser> named \’Default\’ is registered. The Microsoft.AspNetCore.Identity.UserManager<TUser>.GenerateEmailConfirmationTokenAsync or GenerateUserTokenAsync functions couldn\’t generate a token because no provider was available upon registering a new user. It\’s a very simple fix, just add a little bit more to AddIdentityCore<User> configuration in Startup.cs class services. The …

No IUserTwoFactorTokenProvider named \’Default\’ is registered Read More »

Scroll to Top