asp.net - Host a Web API under a Web Forms project -


i have asp.net web api project uses angularjs front end. called "myapiapp".

http://localhost/myapiapp

i move project under project asp.net web forms website. called "mywebforms" app.

http://localhost/mywebformsapp

my goal move "myapiapp" under web forms app , access "myapiapp" as

http://localhost/mywebformsapp/myapiapp

is possible have asp.net web api hosted under asp.net web forms project? able in visual studio run web forms application have access "myapiapp" app via above url.

yes. should able set virtual folder in iis underneath main website.

in case of vs project, built in web server doesn't support virtual folders, you'd have set run through actual iis.

you should able have webapi controller part of main web forms project though.


Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -