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.
source
share