How do I disable access to ASP.NET Core 8 web API identity methods?
I have an ASP.NET Core 8 web API. I have disabled Swagger documentation in production, but the endpoints shown below are still available for use. For example, I can still use the register
endpoint in Postman even though I can’t see the Swagger documentation.
aspnet core swagger with shared contract assembly
Is it possible to reuse types from shared contract assembly?
Currently, on the client side, types are generated from swagger json. I would like some of them to be reused from shared assembly.
Localhost frequently rejects the connection when starting the ASP.NET Core Web API project
For the past few days, I have been trying to resolve the issue of localhost connection rejections in my RESTful API project, which occur either randomly or consistently when launching the API over HTTPS.
return a list of entities instead of a list of dto’s
I have this simple DTO class:
Swagger UI not showing all possible responses when using Results in web api
I was reading this article regarding controller action return types, and these two caught my eye.
Accessing ASP.NET Core Web API Endpoints with parameters
I am coming across a very strange issue in my application. In my local development I have two endpoints:
How to globally enforce lower case snake case on all model binding from requests
I am using the following to ensure serializing shifts my variables to lowercase snakecase as follows:
How to globally enforce lower case snake case on all model binding
I am using the following to ensure serializing shifts my variables to lowercase snakecase as follows: