Use single error message template for all invalid properties
Imagine a razor page with a Form that have many inputs that user fills them.
Imagine a razor page with a Form that have many inputs that user fills them.
I have an entity that looks like this:
[{"Id":0,"BuyerId":2,"ExpressList":[{"ExpressId":2,"FOBSHANGHAI1":"1"}]}]
I have added Bootstrap.v3.Datetimepicker NuGet package. Using one of the examples, I created a code similar to this:
I have an Image folder with some files, and a table with the path of this images. When trying to list the images like this:
I just finished my logging/logout code on my asp.net web core application and I am having a problem where the server always returns error 403 forbidden when trying to access a method that needs a specific role. What can be the problem? I checked the database and the role assignment is working fine.
here is an example of a method I wrote for the test:
I have function who take FilePath and return all of Excel information into a List.
My actual problem is not the function, but the error system who don’t work if my FilePath is bad or file not exist.
I’m getting conflicting information so hopefully someone can point me in the right direction.
public class Project { public int Id { get; set; } public string Name { get; set; } public string Description { get; set; } } public class Step { public int Id { get; set; } public string Name { get; set; } } public class StepDate { public int StepId { get; set; … Read more
I am trying to delete the column by passing id from Angular 9+ to ASP.NET Core Web API, but I am not able to hit in the controller. What mistake I have done here? I am using table data to run SQL queries.