I’ve tried publishing apps that work perfectly on my local machine (windows 11).
I’m using Visual Studio 2022, VB.NET, Wisej 4, creating an app with default Window1, run it locally and all is well, a blank window shows up with the Windows frame, that’s all. No code behind, nothing, just what VS created with Wisej.
I publish this to a Publish folder within my application folder structure.
I’ve tried copying these files to httpdocs/bin to /bin only. I’ve followed deployment instructions in the documentation and even this small do-nothing application will not deploy and run.
Would someone please give me simple deployment instructions that work in this simple environment?
I’m obviously not understanding the issues, so please speak slowly and explain… I’d even accept a small demo project and instructions of deployment, anything helps, I’m desperate.
Thanks in advance.
Wisej.NET applications are standard ASP.NET apps on net48 and standard ASP.NET Core apps on netcore.
Are you deployment net48 or netcore?
Are you deployment on IIS?
On Azure App Service?
On a Web Hosting service?
If it’s netcore, are you deploying on Windows or Linux (this wouldn’t be IIS)?
You can follow any step-by-step guide published by Microsoft for either system: ASP.NET or ASP.NET Core.
Or follow the steps here:
https://docs.wisej.com/deployment/targets/iis
There are 2 sections: .NET Core and .NET Framework. The first (.NET Core) has 2 options: InProcess or OutOfProcess. This is all Microsoft stuff.
If you followed those steps and you are publishing on IIS, post here:
This is a sample of what it should look like on IIS for net48
/Default.html
/Default.json
/Web.config
/bin/Wisej.Framework.dll
/bin/MyApp.dll
This is the minimum on net48 on IIS.
For netcore you need the same files but you also need to uncomment and edit the ASP.NET Core section in web.config and install a native IIS app pool and a special IIS module: https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-9.0
It’s called .NET Hosting Bundle Installer.
And make sure all the modules are installed, see screenshot in the deployment guide. You may also want to enable the WebSocket Protocol.
None of this is specific to Wisej.
Please login first to submit.
