All Answers

0 votes

Microsoft DI only supports scoped, transient and singleton. There is no concept or support for sessions. Scoped means that you get a new service instance for each http request through the aspnet core razor middleware.

Wisej.NET service container instead supports session, transient, shared (singleton) and thread (kind of similar to scoped).

Since there are no http requests in Wisej.NET, being a fully ajax system and not using the page routers, postbacks,  etc there is no concept of “sccoped”. If you want to share a service instance use a singleton.

Or use the Wisej.NET service container which works properly for the wisej application with the correct lifetime.

 

  • Luca answered Nov 6, 2025 - 12:49 am
  • last active Nov 6, 2025 - 12:51 am
0 votes

I followed your advice to the letter.

Still no happiness.  I am now receiving an error IIS 502.5 Error Process Failure.

I’ve attached images of my deployment hoping you might spot an error of my ways and point it out to me.

I also changed the application by following the Wisej video whereby the person installed Wisj into the VS 2022, and then created a “YoutubeDemonstration” application, compiled and web deployed it.  (I had to add the Wisej DLLs you mentioned as they did not deploy with the app)

Web.config

<?xml version=”1.0″?>
<!–
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
–>
<configuration>
<appSettings>
<add key=”Wisej.LicenseKey” value=”xxxxxxxxx licensse removed xxxxxxxxxxxxxxxx”/>  ‘WHICH ONE SHOULD I USE? Maybe this is an issue?
<add key=”Wisej.DefaultTheme” value=”Bootstrap-4″/>
</appSettings>
<system.web>
<compilation debug=”true” />
<httpRuntime targetFramework=”4.8″ maxRequestLength=”1048576″/>
<httpModules>
<add name=”Wisej” type=”Wisej.Core.HttpModule, Wisej.Framework”/>
</httpModules>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration=”false”/>
<handlers>
<!–
Uncomment the aspNetCore handler below to deploy to IIS when using .NET Core.
–>
<add name=”aspNetCore” path=”*” verb=”*” modules=”AspNetCoreModuleV2″ resourceType=”Unspecified” />
<add name=”manifest” verb=”GET” path=”manifest.json” type=”System.Web.StaticFileHandler” />
<add name=”json” verb=”*” path=”*.json” type=”System.Web.HttpForbiddenHandler” />
<add name=”wisej” verb=”*” path=”*.wx” type=”Wisej.Core.HttpHandler, Wisej.Framework”/>
</handlers>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength=”1073741824″/>
</requestFiltering>
</security>
<defaultDocument enabled=”true”>
<files>
<add value=”Default.html” />
</files>
</defaultDocument>
<!–
Uncomment the aspNetCore section below to deploy to IIS when using .NET Core.
–>
<aspNetCore stdoutLogEnabled=”false” hostingModel=”InProcess” processPath=”bin\Debug\net8.0\YouTubeDemonstration.exe” arguments=”” />
</system.webServer>

<!–
Uncomment the trace listener below to enable logging to a log file.
–>
<!–
<system.diagnostics>
<trace autoflush=”true” indentsize=”4″>
<listeners>
<remove name=”Default” />
<add name=”Default” type=”System.Diagnostics.TextWriterTraceListener” initializeData=”Trace.log” />
</listeners>
</trace>
</system.diagnostics>
–>
</configuration>

0 votes

That error means your Wisej.NET runtime assemblies (like Wisej.Framework.dll) were not copied to your MochaHost server.

After publishing locally, open your publish folder and make sure these dlls exist in the bin folder:
Wisej.Framework.dll
Wisej.Web.Ext.*.dll (if you used any extensions)
Wisej.Hybrid.dll (for UserDesktop)

In your .csproj, ensure Wisej references are set with:

<PackageReference Include=”Wisej-3″ Version=”3.5.*” />
and not as <Reference Include=”Wisej-3″ />.

Then in the Publish Profile (.pubxml), confirm this property exists:

<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
That forces the Wisej assemblies to be published to the server.

 

Hope this helps,

Julie

  • Julie(ITG) answered Nov 4, 2025 - 4:17 pm
  • last active Nov 4, 2025 - 5:02 pm
0 votes

Hi Gabriele,

Thank you for reporting this bug!

It’s currently fixed internally and will be added in a future release!

Best,
Alaa

0 votes

I can reproduce, we’ll look into this.

-Julie

0 votes

Unfortunately, the ProgressBar control in Wisej.NET does not currently implement the marquee animation behavior built into WinForms. The ProgressBarStyle.Marquee enum is included for compatibility purposes, but not wired to a property.

 

Julie

0 votes

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:

  1. IIS version you have
  2. How you created the App Pool (.NET version, app pool type, screenshot)
  3. List of files in your project’s root
  4. List of files in your project’s root/bin
  5. How you created the application in IIS (screenshot)
  6. Your web.config (remove the license key)

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.

 

 

 

 

 

 

 

  • JD answered Nov 1, 2025 - 5:39 pm
0 votes

Hello,

This forum is for Wisej.NET support. PPJ users with a valid PPJ license should contact support at: support AT wisej.com

Please email support and include a small test case showing what you’re trying to do. Delete the bin and obj folders before attaching the test case in order to make the file size smaller.

 

-Julie

0 votes

Hi Harold,

we just uploaded a new 3.5 variation of our showcase app to TestFlight and it runs ok. The source code is here:

https://github.com/iceteagroup/wisej-hybrid-examples/blob/3.5/Showcase/App/HybridApp.csproj

We use this in our pipeline for building / archiving it:

dotnet publish “repo/Showcase/App/HybridApp.csproj” \
-f net9.0-ios \
-c Release \
-p:CodesignKey=”…” \
-p:CodesignProvision=… \
-p:ApplicationDisplayVersion=”1.3.5″ \
-p:ApplicationVersion=”41″ \
-p:ArchiveOnBuild=true \
-p:Optimize=false \
–output ./publish/ios
The TestFlight link is here:
I can try setting up your test project in a deployment environment, but it will take a little bit of time.
Thanks,
Levie
0 votes

Hello,

Thank you for reporting this issue.

We’re currently investigating it and will report back when a fix is available!

Best,
Alaa

0 votes

Thanks again:)

Visual Studio Publishing does not work with SDK-Style projects targeting .NET Framework

How does one publish to a web host?

0 votes

Thanks!

I don’t have that installed.

I have the below image installed… How far back do I need to go?

 

0 votes

Hello,

This is due to the Windows update KB5066835. It broke IIS services. You need to uninstall the update.

See also this forum issue: https://wisej.com/support/question/cannot-add-items-to-designer-or-preview-in-iis-express

 

Julie

0 votes
In reply to: License question

Thank you for the answer. I have 2 additional questions:

 

  1. If I purchase a Professional Edition license and, during the subscription period, I use features exclusive to the Professional Edition (for example, the RibbonBar) to develop and release a commercial software product to my customers — can that software continue to be used after the subscription expires?
  2. If I purchase a Professional Edition license and, during the subscription period, I use features exclusive to the Professional Edition (for example, the Camera component) to create and publish a local NuGet package that includes Wisej’s Camera functionality along with my own custom features — can I continue to use that NuGet package after the subscription expires?
0 votes
In reply to: License question

Hi Andy, licenses are sold on a subscription basis. All updates during the subscription period are included.
See details here: https://docs.wisej.com/license/license-model/developer-licenses#subscription-and-renewals

Best
Thomas

0 votes

I tried with a new project and I am unable to reproduce. Can you please attach a reproducible test case? Delete the bin and obj folders before posting.

Thanks,

Julie

0 votes

I couldn’t log in to my previous account for some reason, so I created a new one specifically to come to the forum.

That’s great! The Wisej team is truly impressive. I’ve already seen the update on the official blog—thank you all for your hard work!

It’s even more comprehensive than I expected—even including a dark theme. Amazing!

https://wisej.com/blog/announcing-fluentui/

 

 

I want to emphasize once again that Wisej is the best cross-platform framework I’ve ever used.

0 votes

I previously reported this issue, and it can be resolved by updating to the latest preview version.

Please see here:

https://wisej.com/support/question/chinese-text-autosize-issue-in-wisej-4

 

I want to emphasize once again that Wisej is the best cross-platform framework I’ve ever used.

 

0 votes

Please find VS project in attachment zip file.

VS Extend version: 4.0.2

Wisej framework nuget package version: Wisej-4 (4.0.2 stable version and 4.0.3 preview 17)

I have tried to run same project with Wisej-3.5, it is better than Wisej-4, Chinese text of CheckBox and RadioButton can be fully shown. But text still wrap.

Text wrap is also a critical problem because Chinese language also need some charactor combination to explain some meaning.

For example: “确定” means “Ok”, but it is shown in Button as :

Just like english

O

k

It seems very strange.

 

And another bug to report:

A control (such like a button) locates in TableLayoutPanel which has a couple of cells, while pressing Ctrl key, and use mouse left button to drag it from a cell to another cell, I expect to clone a control in target cell. But a error (index duplicated) will occur actually. But if drag it to a location not in this TableLayoutPanel, it will be performed normally.

This bug is in both Wisej-3.5 and Wisej-4.

  • andy wang answered Oct 25, 2025 - 2:13 pm
  • last active Oct 25, 2025 - 2:49 pm
Showing 21 - 40 of 11k results