Packaging ASP.NET 5 applications and deploying using Web Deploy provider

I'm just trying out ASP.NET 5 and seeing how to set-up CI and deployment using AppVeyor. How do I create a build artifact to be used to deploy the site (to an Azure AppService)?

Repo: https://github.com/JSkimming/MicroservicesDemo (right now I'm ignoring appveyor.yml)
Build: https://ci.appveyor.com/project/JSkimming/microservicesdemo

Build is going fine, but when I enable "Package Web Applications for Web Deploy" it doesn't. Which isn't entirely surprising as it's not an option in the Visual Studio publish wizard.

From reading another thread, the corresponding GitHub issue, and the fact that "ASP.NET 5 application" is an option for the WebDeploy provider, it seems I should be able to do do this, but how?

  1. Hi James,

    There is no automatic packaging for ASP.NET 5 apps yet.

    You can use dnu publish command to publish ASP.NET 5 app to a folder then push that folder as zip artifact. Take a look at this sample appveyor.yml: https://github.com/FeodorFitsner/appveyor-deployment/blob/master/ap...

  2. Hi Feodor

    I've managed to zip up the output of dnu publish, but how can that be deployed using WebDeploy? I've tried but I just get an error.

    https://ci.appveyor.com/project/JSkimming/microservicesdemo/build/1...

  3. Try using https:// in server address.

  4. Got it. it was also missing the .scm. part to the Kudo site

  5. James Skimming closed this discussion on 28 Dec, 2015 01:48 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac