Deploying ASP.NET vNext beta 2 on Azure with Kudu

According to this blog post, I can deploy vNext apps to Azure using Kudu. I’ve successfully tried it with vNext beta 1. However, it does not work with vNext beta 2.

Why can’t I deploy with vNext beta 2? I thought the whole idea with vNext is that everything (including the CLR) is downloaded as NuGet packages.

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

I just ran into this problem today and the following worked for me:

Set the following environment variables (app settings) in your Azure Web Site:

SCM_KRE_Version 1.0.0-beta2

SCM_KRE_CLR CoreCLR

Clarification SCM_KRE_CLR defaults to the “full” clr, only set SCM_KRE_CLR to CoreCLR if you want to run your website using the new CoreCLR, assuming your site targets ASPNETCORE50 (which has since been renamed to DNXCORE50 after beta3)
enter image description here


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x