Home Deploying ASP.NET Core
Reply: 0

Deploying ASP.NET Core

user1155 Published in June 20, 2018, 7:28 am

I've built the simplest ASP.NET Core website to try and deploy. It isn't even returning an error.

IIS will return a .HTM page so that feels OK

I've installed .Net Core Windows Server hosting

I used a folder deploy and put the folder under c:\inetpub\wwwroot

I set the Application Pool .Net v4 [I've also tried No Managed Code]

I added the application to the Default website

What else?

UPDATE: Thanks to Win I found this out:

Error: An assembly specified in the application dependencies manifest (razortest.deps.json) was not found: package: 'Microsoft.ApplicationInsights.AspNetCore', version: '2.1.1' path: 'lib/netstandard1.6/Microsoft.ApplicationInsights.AspNetCore.dll' This assembly was expected to be in the local runtime store as the application was published using the following target manifest files: aspnetcore-store-2.0.0-linux-x64.xml;aspnetcore-store-2.0.0-osx-x64.xml;aspnetcore-store-2.0.0-win7-x64.xml;aspnetcore-store-2.0.0-win7-x86.xml

So I'm either missing a file or pointing to the wrong one - but in VStudio or on the server????

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.311568 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO