45 results found
Map object to another object in C# Asp.Net Core is a step we have to do every day. Normally we use a constructor to map. In this article, I introduce Automapper library to help map easy, and simple.
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=18.104.22.168, 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
How to open txt file in console Terminal or Portainer.IO from Docker container? I try using VIM but it does not support.
Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The antiforgery token could not be decrypted. Error when submit form in Asp.Net Core
ERROR: Async test method must have non-void return type in Asp.Net Core when I try working with async
An attempt was made to use the model while it was being created. A DbContext instance cannot be used inside 'OnModelCreating' in any way that makes use of the model that is being created.
I'm working with Entity Framework Asp.net Core 3.1. I wanna get some data from the database but. The result doesn't contain any relational information
Error: 'AddDbContext' was called with configuration, but the context type 'MyDbContext' only declares a parameterless constructor. This means that the configuration passed to 'AddDbContext' will never be used.
Microsoft.AspNetCore.Routing.Matching.AmbiguousMatchException: The request matched multiple endpoints exception in asp.net core API
how to get the bearer token using swagger UI authorization in asp.net core API? I always receive a 401 Unauthorize messages when calling a request.
Microsoft.AspNetCore.Connections.ConnectionResetException: Connection reset by peer. Error throw when call by ajax