Open Closed

WebAPI Controller in .Net Core using Abp.Web.Api #4727

devkev2403 created


I want to write my own WebAPI based on the documentation here:

<a class="postlink" href=""> ... ontrollers</a>

However, the nuget package is not for .NET Core. Is there a different approach for .NET Core?


3 Answer(s)
  • 0
    ismcagdas created
    Support Team

    @devkev2403 in ASP.NET Core, you can use app services or regular ASP.NET Core Controllers for this. App services are automatically converted into API. If you also want to use regular controllers, you can mark then with Route attribute.

    You can check this document for more detail <a class="postlink" href=""> ... spNet-Core</a>.

  • 0
    devkev2403 created

    Thank you, that is the approach I am taking after finding:

    <a class="postlink" href=""> ... ion/webapi</a>

    Good to know I am on the right track.

    Thanks again.

  • 0
    alper created
    Support Team