Web Deploy

  • 2 months ago
  • 89 views
  • 0 comments

  • About 1 minute to read

You can publish Plato to your configured IIS site using web deploy. Before following the steps within this guide please ensure you have the latest version of web deploy installed for Visual Studio. Visit the Microsoft site to download the latest version of web deploy.

Publishing Plato via Visual Studio

In this example we'll publish to an IIS web site running locally on our machine. This is the same web site we configured during installation here. You can also use web deploy to publish to Azure App Services, Azure Virtual Machines or even via FTP.

These targets are beyond the scope of this articles however you can find further information here.

  1. Right click the Plato web site project within the Visual Studio solution explorer and choose Publish...

deploy1.png

  1. In the Publish dialog:

Ensure the Plato+IIS publishing profile is selected and click Publish...

deploy2.png

IMPORTANT If your not running on localhost and you didn't name your web site Plato you will likely need to use the Configure button (replaced with a pencil icon in Visual Studio 2019) within the Publish dialog to provide your server address and the site name for your web site within IIS.

  1. Once the publishing has completed you can see the results within the Visual Studio Output Window. If everything was successful you should see an Output Window similar the one shown below...

deplo3.png

NOTE Please be patient when publishing Plato for the first time. After the first publish further publishes should be much quicker as only the updated files will be published. With the first publish Visual Studio has to copy all files from the Plato source code into your target publishing folder. This can take several minutes to complete.

  1. Verify the publishing was successful by browsing the IIS web site you've just published to. Open IIS and right click your configured web site. Select Advanced Settings and Browse as shown below...

browseweb site.png

This will attempt to launch the web site within your default browser. If everything was successful you should see the Plato web based set-up as shown below...

setup-iis.png

Can we improve this doc? Login or register to tell us how
Your Feedback
Cancel
In this doc