Can I run a region-optimized version of asp.net-vnext as a regular asp.net project in IIS?

Can I run the optimized version of asp.net-vnext for asp.net as a regular asp.net project on IIS.I know that we have the opportunity to choose a cloud-optimized or full .net package. If I start development on cloud-optimized, is it possible to deploy to iis as a regular asp.net web project or is it specific to azure?

+4
source share
1 answer

Yes, you can run the application in IIS.

First run kpm pack --runtime <CoreCLR package name>(example package name:) KRE-CoreCLR-amd64.1.0.0-beta2in your application. This will create a folder with all your applications (application files, dependencies and runtime).

Then copy this folder to where your application will work, and specify IIS.

Done :)

Then edit: make sure you pack the runtime that matches the architecture (64-bit IIS → 64-bit CoreCLR or 32-bit IIS → 32 bit CoreCLR). Otherwise it will not work.

+6
source

All Articles