Returning CSV from .NET Core controller
I’m having trouble having a .NET Core API Controller endpoint resolve to a CSV download. I’m using the following code which I pulled from a .NET 4.5 controller:
I’m having trouble having a .NET Core API Controller endpoint resolve to a CSV download. I’m using the following code which I pulled from a .NET 4.5 controller:
In previous asp.net web api, I implement DefaultHttpControllerSelector to specify how I want the request to locate my controller. I often have different controllers with different names but intended for same processes. The only difference is that one is of higher version than the other.
I updated ASP.NET 5 framework beta-8 packages with RC ones on previously working application. After I got it running next error occured in the startup process:
I’m trying to find a good tutorial about asp.net localization. In the official documentation, the explanation are about .resx files and I want to use json files. If someone have a good tutorial on how to write the middleware to do that. Thanks Answers: Thank you for visiting the Q&A section on Magenaut. Please note … Read more
How can i configure ASP.NET Core Web Api controller to return pretty formatted json for Development enviroment only?
I am trying to bind CountryId in the model to the value of a selected item of SelectList in Blazor. All of the Country items come in a list like {CountryId, CountryName} object. I do the code like so:
After I upgraded to Asp.Net Core 3.0 I am getting the following error for my Identity class when attempting to create a user:
I have a problem with ASP.NET Core web application running on IIS 10.
I am developing a Single Page Application with AngularJS.
I need Swagger generate API documentation include UI to test operations.