Visual Studio Publishing

How to publish a Wisej application using Visual Studio Publishing.

Deploying a Wisej application can be simplified using Visual Studio Publishing. Using this approach you can deploy directly to Azure, IIS, or a directory on the file system.

.NET Core

Azure Publishing

Publishing to Azure streamlines the deployment of a Wisej application to an Azure App Service Instance with minimal effort. Publishing to Azure copies all the files required for deployment to the app service.

Basic Steps

  1. In Solution Explorer, right-click the project node and choose Publish (or use the Build > Publish menu item).

  2. If you have previously configured any publishing profiles, the Publish window appears. Select New.

  3. In the Publish window, select Azure.

  4. Select Azure App Service (Windows) and Next.

  5. Sign in with your Azure account, if necessary. Select Create a new Azure App Service...

  6. In the Create Azure App Service (Windows) dialog, the App Name, Resource Group, and App Service Plan entry fields are populated. You can keep these names or change them. When ready, select Create.

  7. In the Publish dialog, the newly created instance has been automatically selected. When ready, select Finish.

  8. Select Publish. Visual Studio deploys the app to your Azure App Service, and the web app loads in your browser. The project properties Publish pane shows the site URL and other details.

Find more information and screenshots on MSDN.

Information about the deployment can be found in the Web Publish Activity window in Visual Studio.

The Azure Cloud Explorer window has been retired for Visual Studio 2022.

Click here to learn about alternatives for managing deployed Azure Resources.

Web Server (IIS) Publishing

Web Server Publishing allows a Wisej application to be rapidly distributed to a local or external IIS server.

Basic Steps

  1. In Solution Explorer, right-click the project and choose Publish (or use the Build > Publish menu item).

  2. If you have previously configured any publishing profiles, the Publish pane appears. Select New.

  3. In the Publish window, choose Web Server (IIS).

  4. Choose Web Deploy as the deployment method. Web Deploy simplifies deployment of Web applications and Web sites to IIS servers, and must be installed as an application on the server. Use the Web platform installer to install it.

  5. Configure the required settings for the publish method and select Finish.

  6. To publish, select Publish in the summary page. The Output window shows deployment progress and results.

Find more information and screenshots on MSDN.

If additional configuration is needed for IIS publishing, considering setting up Publish Settings.

Folder Publishing

Publishing to a Folder using Visual Studio exports the files needed to deploy the Wisej application to a folder on the file system. This can be used when preparing the distribution for another platform.

Basic Steps

  1. In Solution Explorer, right-click the project and choose Publish (or use the Build > Publish menu item).

  2. If you have previously configured any publishing profiles, the Publish window appears. Select New.

  3. In the Publish window, select Folder.

  4. Enter a path or select Browse to specify a folder.

  5. Click Finish.

  6. Select Publish. Visual Studio builds the project and publishes it to the specified folder.

  7. To configure deployment settings, select Edit in the publish profile summary and select the Settings tab.

    • The settings you see depend on your application type.

  8. Configure options such as whether to deploy a Debug or Release configuration, and then select Save.

  9. To republish, select Publish.

Find more information and screenshots on MSDN.

.NET Framework

Visual Studio Publishing does not work with SDK-Style projects targeting .NET Framework

Last updated