Asp.net core
44 results found
Unable to prepare context: unable to evaluate symlinks in Dockerfile in Asp.net Core
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /root/chromenotification/ELK.CMS/ELK.CMS: no such file or directory
Connection refused 127.0.0.1:3306 in .Net Core and MySql
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.
The operation failed as details for project could not be loaded in Asp.net Core
Error the operation failed as details for project Test.GoogleNotification.App could not be loaded in Asp.Net Core. When I try to build project.
Cannot implicitly convert type 'bool' to 'System.Threading.Tasks.Task<bool>' in C# Asp.Net Core
Throw error CS0029 Cannot implicitly convert type 'bool' to 'System.Threading.Tasks.Task' in C# Asp.Net Core 3.1.
Assets file 'project.assets.json' not found in Asp.net Core
Throw error NETSDK1004 Assets file 'project.assets.json' not found in Asp.Net Core. Run a NuGet package restore to generate this file.
Eror the DbContext of type cannot be pooled in Asp.Net Core
The DbContext of type cannot be pooled because it does not have a single public constructor accepting a single parameter of type DbContextOptions.
Error field doesn't have a default value in FE Core & MySql
Throw exception MySql.Data.MySqlClient.MySqlException (0x80004005): Field 'NotifyHistoryId' doesn't have a default value in MySql.
Your startup project doesn't reference Microsoft.EntityFrameworkCore.Design
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.
Exception: Sequence contains more than one element in Asp.net Core
I get an exception throw System.InvalidOperationException: Sequence contains more than one element in Asp.Net Core 3.1 when try to get data from database.
Error 42702: column reference "id" is ambiguous in PostgreSQL
I get an exception throw 42702: column reference "id" is ambiguous in Asp.Net Core when using PostgreSQL database to select data from a single table
Best way to handle global exception in Asp.Net Core Web API
In this article, I will discuss the basic ways to help you how to handle global errors in Asp.net Core Web API. Why do we need to handle global and not local? In web API, exceptions have many types and they may be not the same as a web application.
System.InvalidOperationException: 'No row is available' in PostgreSQL
System.InvalidOperationException: No row is available, it throws when trying to get an object in C# and PostgreSql
Http error 502.5 - process failure in asp.net core 3.1
I got an error Http error 502.5 - process failure in asp.net core 3.1 when I running my project in local window 10
Either the 'ViewComponentName' or 'ViewComponentType' property must be set in order to invoke a view component.
Throw an error in Asp.Net Core: Either the 'ViewComponentName' or 'ViewComponentType' property must be set in order to invoke a view component.
Map object to another by using AutoMapper in C# Asp.Net Core
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.