The Future #29
IshamMohamed
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The below is the list of possibilities capabilities provided by this framework to streamline the development
partial
classespartial
and the name of the class must ends withController
to make the class eligible for the async API generation.partial
however the name should end withController
. By doing this, any qualified class shall be generated with[host]/api/[controller_name]/async/
[host]/api/async/[controller_name]
. This is because, I guess that the ASP.NET API Controllers must follow single responsibility principle thus, should ideally perform only one action, so it makes much sense to put theasync
prior to the controller beforeControllerBase
is qualified.AsyncControllerBase
inheriting theControllerBase
and qualify all the controllers inheritingAsyncControllerBase
Beta Was this translation helpful? Give feedback.
All reactions