5/27/2020 Admin

Installing Blazor Oqtane


Oqtane is an application that is built using Microsoft’s Blazor technology. It allows you to deploy and run modules written in Blazor. When Oqtane is deployed and running, it provides a dynamic web experience that can be run as client side Blazor or as server side Blazor.


Requirements:

A Microsoft Azure Account (you can create one at this link: https://azure.microsoft.com/en-us/free/


Set Up Azure SQL Database

Log into the Microsoft Azure portal at: https://portal.azure.com

image

Click Create a resource.

 

image

Enter SQL Database and press the Enter key to initiate a search.

 

image

Click the Create button.

 

image

Fill in the required fields.

If you have an existing Azure SQL Server to host the database you can select it.

Otherwise click the Create new link next to Server.

Note: You will need to note the Database name to use in the Installation Wizard in the later steps.

 

image

Fill in the information and click the OK button.

Note: You will need to note the server name (including the .database.windows.net part), the username and the password to use in the Installation Wizard in the later steps.

 

image

This will return you to the main SQL Server blade.

Click the Configure database button.

 

image

Select the Standard section (this does not require a powerful database for the average sized web traffic).

 

image

Select the size, ensure you note the estimated monthly cost, and click Apply.

 

image

Click the Review + create button.

 

image

Finally click the Create button.

 

image

After the database is created, navigate to SQL databases then select the database.

 

image

You will need to open up the firewall on the database to allow the Azure web app (created in the later steps), to access it.

Click in the Server name to navigate to the database server that the SQL database is running on.

 

image

Click Show firewall settings.

 

image

Enable: Allow Azure services and resources to access this server

Click the Save button.

 

Set Up The Azure Website

image

Select Create a resource.

 

image

Enter Web App and press the Enter key to initiate a search.

 

image

Click the Create button.

 

image

Fill in the required fields and click the Review + create button.

 

image

On the Review + create tab, click the Create button.

 

image

It may take some time for Azure to create and deploy the Web App.

 

image

When it is ready, click on it to select it.

 

image

Go into Configuration, then General settings.

image

Enable Web Sockets.

image

Also, if your App Service Plan allows it (you must be at a certain level to enable this additional feature), enable Always on.


image

Click Save.

 

image

Click Continue.

 



Deploy The Code

image

In the Development Tools section, select Advanced Tools, then select Go.

 

image

When the Kudu window opens, from the Debug console menu, select CMD.

 

image

Select site.

 

image

Then select wwwroot.

 

image

In the wwwroot folder, click the delete button to delete any files already there.

 

image

Download the latest installation _InstallPackage.zip file from the Releases page (https://github.com/oqtane/oqtane.framework/releases).

 

image

Drag that file onto the web browser window until you see the box that says: Drag here to upload and unzip.

Release your finger on your mouse to drop the .zip file in that box.

 

image

The file will be uploaded and unzipped.

 

image

When the process is complete the pages will display.

Note: If you have any issues, you can also deploy the files to the wwwroot directory using other methods such as FTP.

 

Install Wizard

image

Return to the main Azure Portal window.

Select the Web App, then Overview, then click the URL link to navigate to the website.

 

image

Fill in the information for the installer and click the Install Now button.

Note the password for the host account, you will need it in a later step.

 

image

The site will install.

 

image

The site will display.

Click the Login button to log in with the Host account you created in the installer.

 

Links

www.oqtane.org

oqtane.framework

An unhandled error has occurred. Reload 🗙