Visual Studio Publishing
How to publish a Wisej application using Visual Studio Publishing.
Last updated
How to publish a Wisej application using Visual Studio Publishing.
Last updated
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.
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.
In Solution Explorer, right-click the project node and choose Publish (or use the Build > Publish menu item).
If you have previously configured any publishing profiles, the Publish window appears. Select New.
In the Publish window, select Azure.
Select Azure App Service (Windows) and Next.
Sign in with your Azure account, if necessary. Select Create a new Azure App Service...
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.
In the Publish dialog, the newly created instance has been automatically selected. When ready, select Finish.
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 Publishing allows a Wisej application to be rapidly distributed to a local or external IIS server.
In Solution Explorer, right-click the project and choose Publish (or use the Build > Publish menu item).
If you have previously configured any publishing profiles, the Publish pane appears. Select New.
In the Publish window, choose Web Server (IIS).
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.
Configure the required settings for the publish method and select Finish.
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.
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.
In Solution Explorer, right-click the project and choose Publish (or use the Build > Publish menu item).
If you have previously configured any publishing profiles, the Publish window appears. Select New.
In the Publish window, select Folder.
Enter a path or select Browse to specify a folder.
Click Finish.
Select Publish. Visual Studio builds the project and publishes it to the specified folder.
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.
Configure options such as whether to deploy a Debug or Release configuration, and then select Save.
To republish, select Publish.
Find more information and screenshots on MSDN.
Deploying to IIS? Click here to learn more about Wisej IIS setup.
Visual Studio Publishing does not work with SDK-Style projects targeting .NET Framework