Microsoft Azure

How to publish a Wisej app to the Microsoft Azure cloud.

Microsoft Azure supports different deployment types for Wisej (ASP.NET) applications. You can deploy to a Web Site (renamed to Web Service), to an IIS instance or a to a Virtual Machine with IIS.

In all cases you can publish directly from Visual Studio. Please refer to the Visual Studio Publishing guide and to Microsoft's Azure Deployment documentation for ASP.NET.

Project Formats

Old Project Format

Supported Frameworks for Publishing

  • .NET Framework v4.x

SDK-Project Format

Supported Frameworks for Publishing

  • .NET 6+

You cannot publish .NET Framework v4.x projects to Azure using the Visual Studio Publishing Tool with the new SDK-Project format.

Troubleshooting

.NET 6

The application was published successfully but shows an error 'Couldn't find Wisej.Framework' on startup.

Remove <add name="Wisej" type="Wisej.Core.HttpModule, Wisej.Framework" /> from <modules> in web.config.

The application was published successfully but shows a blank white screen on startup.

Make sure <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> is uncommented under <handlers> in web.config.

Last updated