15 results found
InvalidOperationException: The following sections have been defined but have not been rendered by the page at : 'Styles'. To ignore an unrendered section call IgnoreSection("sectionName").
Asp.Net 5 and MySql throw connection refused 127.0.0.1:3306 when I try CI and run automation test on it. Test project is still passed all cases in local.
Throw error NETSDK1004 Assets file 'project.assets.json' not found in Asp.Net Core. Run a NuGet package restore to generate this file.
Your startup project doesn't reference Microsoft.EntityFrameworkCore.Design in asp.net core FE. This package is required for the Entity Framework Core Tools to work.
What is difference between addtransient and addscoped in .net core 3.1? I try to register all of them also worked well for me. I need particular case to use them.
In MVC we can not pass multiple models to a single view Asp.Net Core. But in the reality, we have many case need to do this. In this article, we will discuss some ways to help resolve this problem.
Error: The given key was not present in the dictionary in C# Asp.Net Core when getting an item from a list or dictionary
Error: 404 status code when POST Ajax in Asp.Net Core. It works fine on local but error 404 when publishing into IIS hosting
SerializationException: Type '' in Assembly ', Version=126.96.36.199, Culture=neutral, PublicKeyToken=null' is not marked as serializable.
The model item passed into the ViewDataDictionary is of type '', but this ViewDataDictionary instance requires a model item of type '' In Asp.Net Core
System.InvalidOperationException: Invalid non-ASCII or control character in header: 0x0E23 when redirect url in Asp.Net Core 3.1
Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The antiforgery token could not be decrypted. Error when submit form in Asp.Net Core
Microsoft.AspNetCore.Connections.ConnectionResetException: Connection reset by peer. Error throw when call by ajax
InvalidOperationException: No service for type 'Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory' has been registered.
What is the difference between Html.Partial() and Html.RenderPartial() in Asp.net Mvc? I want import a partial view to a page view.