Tim
Tim

Reputation: 7421

Can an ASP.NET vNext application be hosted in IIS

I'm struggling to workout how to host a local ASP.NET vNext application in IIS. Is this possible currently or is just selfhosting or IISExpress available. Or am I missing the point?

Upvotes: 7

Views: 3235

Answers (2)

takayoshi
takayoshi

Reputation: 2799

Yes, I deployed my app in my local IIS server.

As you can see publish vNext to local system generate two folders approot and wwwroot You should copy these 2 folders on IIS and specify folder wwwroot as Site Folder

Upvotes: -1

Suhas Joshi
Suhas Joshi

Reputation: 1060

You can use 'kpm pack' to create a package and then drop that in the wwwroot folder. Create an application in the IIS Manager. Refer to the 'using command line' section in the below link to create the packaged web project https://github.com/aspnet/Home/wiki/FTP-deploy-an-AspNet-vNext-application-to-Microsoft-Azure-websites

You can also right click a project in VS14 and click Publish, then choose Filesystem in the dialogue.

Upvotes: 4

Related Questions