Error: Running a query and got this error… An inconsistency was detected during an internal operation. Please contact technical support. Fix: DBCC CHECKDB (‘DMS’) WITH NO_INFOMSGS, ALL_ERRORMSGS DBCC CHECKDB(‘DMS’, REPAIR_REBUILD) dbcc CHECKDB(‘DMS’, REPAIR_ALLOW_DATA_LOSS) Sources: https://dba.stackexchange.com/questions/11235/an-inconsistency-was-detected
Make sure you check the following before deploying to a Azure hosted web site. When creating a new App Service in Azure, you need to select either .NET 5 or .NET Core. When deploying from Visual Studio, deploy the .Server project and not the .Client project. Do not use Identity.
Run the following in Package Manger Console to create the Identity Tables to a new database. You will get an error if the tables already exist from a previous version. PM> Update-Database Identity Database v3.1.6 Tables AspNetRoleClaims AspNetRoles AspNetUserClaims AspNetUserLogins AspNetUserRoles AspNetUsers AspNetUserTokens DeviceCodes PersistedGrants
During the Microsoft Build 2019, the Microsoft Team announced that .Net 5 is on its way out, and it would be arriving in 2020. This will be the next huge release after the .Net Framework latest version 4.8. .Net Framework is 17 years old and there are millions of apps built on it, by using every... » read more
Error: An unhandled exception occurred while processing the request. SocketException: No connection could be made because the target machine actively refused it. System.Net.Http.ConnectHelper.ConnectAsync(string host, int port, CancellationToken cancellationToken) HttpRequestException: No connection could be made because the target machine actively refused it. System.Net.Http.ConnectHelper.ConnectAsync(string host, int port, CancellationToken cancellationToken) Fix: In solutions with both web api and... » read more
Package Manager Console … Updates the “Identity” database to the last migration or to a specified migration. Note: You will run into errors if there is already existing identity tables from previous versions. Recommend creating a new database to create the identity tables and then apply updates to the existing identity database. The Update command will create... » read more
Error: Getting the following error in NuGet Package Manager Console … The EF Core tools version '3.1.3' is older than that of the runtime '3.1.5'. Update the tools for the latest features and bug fixes. Fix: Run the following in NuGet Package Manager Console … Install-Package Microsoft.EntityFrameworkCore -Version 3.1.5Install-Package Microsoft.EntityFrameworkCore.Tools -Version 3.1.5 Note: Make sure... » read more
https://www.pragimtech.com/blog/blazor/blazor-course-wrap-up/ This course is around 7 hours and consists of 58 clips. We have covered most of the blazor concepts that help you build real-world blazor applications. Setup and run Blazor application You can find the complete source code of the project that we have built as part of this course at the following link.... » read more