title: Net Core WebApi 2.1 and Angular 2 app - IIS Deployment
body: <p>WebApi (outofprocess) [VS2017: Publish] and Angular [build --prod] hosted in IIS on same port:80 on IIS 10. Angular build in wwwroot and webapi in api folders with ApplicationPool with IUSR access to hosting file folder. The index.html loads correctly.</p>
  
  <p>But the following uri: <a href="http://website.com/applicationusers/authenticate" rel="nofollow noreferrer">http://website.com/applicationusers/authenticate</a> [two parameters: username and password] returns the following error: "ERROR TypeError: You provided 'undefined' where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."</p>
  
  <p>I noticed that IIS is not starting/loading dotnet.exe as I do not see it in the task manager.</p>
  
  <p>But when I run dotnet.exe website.dll in command prompt, the api loads up at localhost:5000 and when I test it in postman using the following: <a href="http://localhost:5000/api/applicationusers/authenticate" rel="nofollow noreferrer">http://localhost:5000/api/applicationusers/authenticate</a> I get a response.</p>
  
  <p>Is there something I am missing that's causing the issue IIS... appreciate any ideas...</p>