Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Running a separate angular project with Abp (publish webapi) #347


User avatar
0
abhi1232 created

Hello sir,

I have a separate angular application that connects to webapi services. For this to work I need to publish webapi (without website) but I cannot at this time since MVC project is the only thing I can run and publish (which actually registers services when it loads)

Can you please suggest a way or provide direction to publish webapi separately so that I can use my own front end projects? Any links/simple suggestion would be beneficial.


1 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    Just create a web api project as you like. The only thing is to initialize ABP. I have no sample for that, but there is not a special thing, it should be straightforward (You may start from here: <a class="postlink" href="http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api">http://www.asp.net/web-api/overview/get ... st-web-api</a> then add Abp packages). If you don't make it, just delete all MVC stuff from the web project. Thus, you will only run the web api.