Base solution for your next web application
Open Closed

How to create an API Endpoint on existing ABP MVC Solution? #3295


User avatar
0
walkerscott created

Hi.

We have an existing MVC solution that is in ABP v4.0.30319. Is it possible to add a new API project on the solution? Or create an API Endpoint in one of the controllers? Kindly advice on what is the best approach in creating an API Endpoint.

Thanks.


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    If I understand correctly, this might be what you want <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-samples/tree/master/PhoneBook-MPA/Acme.PhoneBook.WebApi.Host">https://github.com/aspnetzero/aspnet-ze ... ebApi.Host</a>.

    Thanks.

  • User Avatar
    0
    walkerscott created

    <cite>ismcagdas: </cite> Hi,

    If I understand correctly, this might be what you want <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-samples/tree/master/PhoneBook-MPA/Acme.PhoneBook.WebApi.Host">https://github.com/aspnetzero/aspnet-ze ... ebApi.Host</a>.

    Thanks.

    Thank you for this. Will study the solution and hope this will put me to the right direction. Thanks again. :D