Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce AbpControllerBase to create API Controllers #10196

Closed
hikalkan opened this issue Oct 1, 2021 · 0 comments · Fixed by #10198
Closed

Introduce AbpControllerBase to create API Controllers #10196

hikalkan opened this issue Oct 1, 2021 · 0 comments · Fixed by #10198

Comments

@hikalkan
Copy link
Member

hikalkan commented Oct 1, 2021

It is suggested to derive from ControllerBase instead of Controller to create API Controllers.
ABP has AbpController that derives from the Controller, but it has not a class derived from ControllerBase.

So, Create an abstract AbpControllerBase class derived from the ControllerBase and copy the necessary code from AbpController. In addition, it would be good to inherit our current API Controllers from this new AbpControllerBase class (example).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants