c# - Web Api 2.0 on IIS Virtual Application -


i want host api on iis 7.5 application under main website shown in image below in order use same domain.

enter image description here

but when i'm setting environment doesn't run startup class configure web api , every call returns 404 not found.

facts:

  1. if host new site on iis works perfect.
  2. i have try add on web config owin:appstartup key mentioned here doesn't solve problem.
  3. my startup class under [assemblyname] namespace.
  4. iis application pool configured .net 4.0 integrated pipeline mode
  5. main application configured ignore call on htpp://..../api/... , 404 error have check returns web api application.


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -