Actually, based on further inspection of the templates, I think you will need 2 separate sets of them. One for WiseJ 2.2 and another for 2.5.
If you look inside the VS2022 WiseJ2 Web Application template, specifically, Application.csproj file, you’ll see /ItemGroup/PackageReference which points to WiseJ 2.5: <PackageReference Include=”Wisej-2″ Version=”2.5.*” />.
Same goes for VS2019 WiseJ templates (from troubleshooting page) – they also point to WiseJ 2.5.
I think you just need to take the templates that shipped with WiseJ 2.2 and got installed into /Documents/Visual Studio 2019/Templates and package it into a zip.
Gentlemen,
Any comments on my post from July 16?
Hi Ser,
Write this on Load and ResponsiveProfileChanged events in the page:
// code for initializing the panel and setting
// its size goes here
_thePanel.Location = new Point(
this.ClientSize.Width / 2 - _thePanel.Size.Width / 2,
this.ClientSize.Height / 2 - _thePanel.Size.Height / 2);
_thePanel.Anchor = AnchorStyles.None;
Regards
Hi Cristian,
Can you please attach a small sample and link to a demo you’re trying to reproduce?
Thanks,
Levie
Ok then I need to do some work. I want to be able to use html but want to use any user data as plain text.
Thanks for the quick reply!
Yes AllowHtml allows html. Any html. That’s by design. Your users are allowed to do what your application allows them to do. If you place user generated content into a label without any check it’s an application choice, we don’t limit what a developer can do. That’s more of a CMS task.
Hi Levie,
thanks for the feedback and looking forward for the new roadmap.
best regards
Bernhard
Hi Shady
could you please tell us which version of Wisej.Net are you using
and also send us a little runnable sample with what you comment us
thanks
Hi Bernhard,
The plan is to drop the designer dependency for .NET v4.8 and use the new .NET 6 designer.
We’re currently working on publishing a new roadmap with a timeline for this and other new features.
We’ll keep you posted as new developments are made!
Regards,
Levie
I had the very problem.
I ended up with putting all database design stuff in separate .net 6.0 only project.
Does anyone have a better idea?
On a side note, sometime it helps to temporarily remove net48 from the frameworks and then install a NuGet net6.0 package.
Cheers, Gerhard
Hi
I checked it , when I change target framework just net6.0 no problem but ı dont design form and window but when ı set net48;net6.0 get an error
Have you any solition ?
Thanks
Hi, Levie! Yes, thank you, proposed workarounds are fixed erroneous behavior. But don’t you think it needs at least some harmonization in these things? For NF 4.8 a project root and web root is the same place, but for modern .net core it is different as we can see. May be some logic in Wisej internals needs to be changed to allow loading Themes, Web.config (and may be some other things) from the same place (web root) to eliminate additional copy steps?
@Levie, @Frank. I think I’ve gotten closer to resolving the problem.
I opened \Documents\Visual Studio 2022\Templates\ProjectTemplates\Visual C#\Wisej 2\WebApplication\Application.vstemplate and commented out the WizardExtension block and this template just magically worked.
<!–
<WizardExtension>
<Assembly>
Wisej.Framework.Design.2022, Version=2.0.0.0, Culture=neutral, PublicKeyToken=17bef35e11b84171
</Assembly>
<FullClassName>Wisej.Design.Wizards.StartupProjectWizard</FullClassName>
</WizardExtension>
–>
Here is the problem. I do not have an assembly on my system called Wisej.Framework.Design.2022.dll. The closest I have is Wisej.Framework.Design.dll and via the Decompiler it does NOT have a class there called Wisej.Design.Wizards.StartupProjectWizard.
I have WiseJ 2.2.60 installed on my box. I think, maybe the templates are making assumptions about various DLLs being present on the system that aren’t really there.
Thanks Vincent.
We started to remove the Html from TooltipText exactly for the reasons you pointed out in your additional comment.
It appears it was not completely removed though.
This issue is fixed and currently in QA. We´ll include it in the next build and I notify you when it´s available.
Best regards
Frank
Afters some additional testing it seems the tooltip on the flowlayoutpanel should not be allowed to display html the way it does now… I can put in anything and the browser will show/do it. This is a problem as it is not sanitized.
For example: you can add “<form id=”test”></form><button form=”test” formaction=”javascript:alert(Foobar)”>X</button>” and it will do it. This can cause problems.
Hi Alex,
Please see the following video for a demo of deploying an In-Process and Out-of-Process Wisej.NET 3 (.NET 6) app to IIS:
https://www.youtube.com/watch?v=xZtPk3sZYcc
You’ll need to have the .NET 6 Windows Hosting Bundle Installed:
HTH,
Levie
Hi Alexander, For issue #1, using the themes and mixins with .NET 6: The issue is that the Themes folder is not copied to the project root (for .NET 6 this is the same level as the assemblies). You can add the following lines to your .csproj file to copy it automatically:
<ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))'!='net'"> <None Update="Themes\**\*.*"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </None> </ItemGroup>
For issue #2, If you’re using .NET 6 the web.config file needs to be located at the project root (the same level as the assemblies). You can copy it into the csproj file:
<ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))'!='net'"> <Content Update="Web.config"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> </ItemGroup>
HTH,
Levie
Hi Jorge,
Regarding latency, please check the size of your datasets and images (if you load a lot of them dynamically). You can also take a look at the websocket data compression
https://docs.wisej.com/docs/concepts/compression
Note. You can use Google Chrome to simulate a low latency connection
Best,
Kevin (ITG)
Thanks Alaa! I will try and convert the sample to VB and let you know if I run into any issues. At first glance this looks to work!
