async-await in asp.net core web api (not MVC)
I have this http post controller method to insert a new text message to db. Here I want to change this method to async method. I tried but still couldn’t do it. Can anyone help me? 🙂
I have this http post controller method to insert a new text message to db. Here I want to change this method to async method. I tried but still couldn’t do it. Can anyone help me? 🙂
I have models like this:
I cannot access the original value that didn’t pass the model validation. I would suspect AttemptedValue and/or RawValue in ModelStateEntry to contain the original value, however both properties are null.
I have .Net Web API service that has the opportunity to save SQL integration.
For ex.:
I want to connect Django project and .NET core project because I want it take advantage of good library available in python so I will make one strong .NET core project.so through some lite on it.
The code gives 401 Unauthorized response when I send a request without JWT token. everything looks good up to this point.
I beginner in .NET , I learn to follow tutorial but I Have this Message error when run program
I need custom message for my request.
How to check if there exists an entry in the database? Debugging shows that the result returns null.
I have a pdf invoice created using .Net Core 3 Web API and DinkToPdf library.