Web

The web adapter exposes microservices API’s, static files, and web pages in ASP.NET MVC, Razor.

You can enable or disable the adapter, set an http exposure port, enable swagger in the development environment, and set http error codes for feedback in the API’s. If you want, you can add a custom http error code directly to the API.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
     "DevPrime_Web": {
       "url":"https://localhost:5001;http://localhost:5000",
       "enable": "true",
       "enableswagger":"true",
       "PostSuccess": "201",
       "PostFailure": "500",
       "GetSuccess": "200",
       "GetFailure": "500",
       "PatchSuccess": "200",
       "PatchFailure": "500",
       "PutSuccess": "200",
       "PutFailure": "500",
       "DeleteSuccess": "200",
       "DeleteFailure": "500"
     }
Last modified March 10, 2022 (615ec2b)