Browse Source

add automagically

pull/14374/head
Sean Killeen 4 years ago
parent
commit
9d814be77f
  1. 1
      cSpell.json
  2. 2
      docs/en/API/Auto-API-Controllers.md

1
cSpell.json

@ -10,6 +10,7 @@
"aspnet", "aspnet",
"aspnetcore", "aspnetcore",
"Autofac", "Autofac",
"automagically",
"Blazor", "Blazor",
"Blazorise", "Blazorise",
"Boutwell", "Boutwell",

2
docs/en/API/Auto-API-Controllers.md

@ -2,7 +2,7 @@
Once you create an [application service](../Application-Services.md), you generally want to create an API controller to expose this service as an HTTP (REST) API endpoint. A typical API controller does nothing but redirects method calls to the application service and configures the REST API using attributes like [HttpGet], [HttpPost], [Route]... etc. Once you create an [application service](../Application-Services.md), you generally want to create an API controller to expose this service as an HTTP (REST) API endpoint. A typical API controller does nothing but redirects method calls to the application service and configures the REST API using attributes like [HttpGet], [HttpPost], [Route]... etc.
ABP can **automagically** configure your application services as API Controllers by convention. Most of time you don't care about its detailed configuration, but it's possible to fully customize it. ABP can **"automagically"** configure your application services as API Controllers by convention. Most of time you don't care about its detailed configuration, but it's possible to fully customize it.
## Configuration ## Configuration

Loading…
Cancel
Save