Publishing ASP.NET Core 3.0 application as self-contained executable to Azure App Service

With Visual Studio 2019 we can publish ASP.NET Core 3.0 applications as self-contained executable. It’s specially useful for environments where ASP.NET Core 3.0 is not installed or where we don’t have permissions to install it. Here’s how to do it.

Here's how to run ASP.NET Core 3.0 applications on Azure App Services where .NET Core 3.0 is not available. Share on X

All the magic happens when we create publishing profile for ASP.NET Core 3.0 application in Visual Studio and click Advanced… link.

Publish target is existing Azure App Service

If you have existing publishing profile then just open it and click on edit icon after Target framework.

Deployment mode: Self-Contained

Notice two options in this dialog:

  • Deployment mode. It is either Framework-Dependent (target framework must be available on App Service) or Self-Contained (no need to install target framework before deployment).
  • Target runtime. This must match the platform and hardware architecture of target machine. I went with win-x86.

Select target runtime, save profile and publish your application. If everything went okay then very soon new browser instance opens with your ASP.NET Core 3.0 application running on Azure App Service.

Gunnar Peipman

Gunnar Peipman is ASP.NET, Azure and SharePoint fan, Estonian Microsoft user group leader, blogger, conference speaker, teacher, and tech maniac. Since 2008 he is Microsoft MVP specialized on ASP.NET.

    5 thoughts on “Publishing ASP.NET Core 3.0 application as self-contained executable to Azure App Service

    • April 22, 2025 at 2:34 am
      Permalink

      Here, you can find lots of slot machines from top providers.
      Players can enjoy classic slots as well as new-generation slots with stunning graphics and interactive gameplay.
      Even if you’re new or an experienced player, there’s always a slot to match your mood.
      play casino
      All slot machines are ready to play 24/7 and optimized for laptops and mobile devices alike.
      No download is required, so you can get started without hassle.
      Site navigation is easy to use, making it simple to explore new games.
      Join the fun, and discover the world of online slots!

    • May 23, 2025 at 11:26 am
      Permalink

      La aplicacion esta disenada para ser facil de usar, permitiendote navegar
      por eventos deportivos, juegos de casino y promociones con solo
      unos toques. Ya sea que estes en casa, en el transporte o en tu descanso laboral, siempre tendras acceso a tus apuestas favoritas.

    • June 19, 2025 at 7:23 am
      Permalink

      Ademas, la interfaz de la plataforma esta optimizada para todo tipo de dispositivos, permitiendo que
      apuestes desde donde estes, ya sea en tu casa o en movimiento.
      Los metodos de pago son seguros y variados, adaptandose
      a tus necesidades. Para los fanaticos de las predicciones online, tener acceso
      inmediato a una sitio confiable es fundamental.
      Con betsafe descargar, ahora puedes llevar toda la accion del deporte y
      el casino directamente en tu celular.

    • June 21, 2025 at 11:10 am
      Permalink

      El proceso de obtencion es simple y rapido. Ya sea que
      uses Android o iOS, la app esta disenada para ofrecer una experiencia fluida, con acceso a cientos de eventos deportivos y juegos
      de casino en cuestion de segundos.

    • June 22, 2025 at 4:25 pm
      Permalink

      La aplicacion esta disenada para ser intuitiva,
      permitiendote navegar por eventos deportivos, juegos de casino
      y promociones con solo unos toques. Ya sea que estes en casa, en el transporte o en tu descanso laboral,
      siempre tendras acceso a tus apuestas favoritas.

    Leave a Reply

    Your email address will not be published. Required fields are marked *