Hi again,
I’m coming back to ask about the exchange of an existing active Server Community License with a new Express License.
Suppose I get a new key and replace the one existing in the web.config.
Won’t it try to activate it over the internet to produce a “wisej-server.lic” file? What will happen if the server is not connected to the internet?
Best,
Alex
Hi,
can you please wrap up a test case? It’s not clear to me what setup of the columns etc. you are using.
Thanks in advance!
Best regards
Frank
We are integrating an ASP.NET MVC application into our Wisej.NET application using the AspNetPanel component.
Currently, the MVC application, hosted locally, is successfully displayed within the Wisej.NET panel. However, the objective is to dynamically transfer data (e.g., SQL datasets, project file paths, or other parameters) from the Wisej.NET application to the ASP.NET MVC application. Wisej.NET Code (ListLabel_WebDesignerLauncher) Below is the initialization code for the AspNetPanel in our Wisej.NET application:
Wisej.Web.Form F = new Wisej.Web.Form
{
Height = 600,
Width = 800,
Text = “Web Designer”
};
// Create and configure AspNetPanel
Wisej.Web.AspNetPanel P = new Wisej.Web.AspNetPanel
{
Dock = DockStyle.Fill,
PageSource = “http://localhost:11278”
};
F.Controls.Add(P);
F.Show();
Currently, this implementation only loads the MVC application within a Wisej.NET form. Our goal is to dynamically pass data, such as SQL datasets and project file paths, eventually as JSON string, from Wisej.NET to the ASP.NET MVC controller for use in the MVC app.
ASP.NET MVC Code
Here’s the controller action in the MVC application responsible for initializing the Web Designer:
public ActionResult WebDesignerLauncher(string reportRepositoryID)
{
if (!RepositoryItem.IsValidItemId(reportRepositoryID))
return new HttpStatusCodeResult(HttpStatusCode.BadRequest);
if (!GetCurrentRepository().ContainsItem(reportRepositoryID))
return Content(“The selected project does not exist”);
IDataProvider dataProvider = GetSqlDataProvider();
var options = new WindowsClientWebDesignerOptions
{
DataSource = dataProvider,
DataMember = “HauptTabelle”,
ProjectFile = @”C:\Path\To\Reports\MyReport.LST”,
ProjectType = LlProject.List,
VariableInitializer = variables =>
{
variables.Add(“RIC.Copyright”, “Firma”);
variables.Add(“RIC.Druckvorlage”, “MyReport.LST”);
// Additional variables…
}
};
return View(“WebDesignerLauncher”, options);
}
The WebDesignerLauncher action accepts a reportRepositoryID parameter to load the corresponding project file, initialize the Web Designer with datasets, and set variables dynamically. ASP.NET MVC View The MVC view renders the Web Designer using the provided model: @model WindowsClientWebDesignerOptions @Html.ListLabelMvcWindowsClientWebDesigner(Model)
Question
What is the best way to dynamically transfer data (e.g., SQL datasets, project file paths, or other parameters) from the Wisej.NET application to the ASP.NET MVC controller? Is there a direct way to set or get session variables? The issue could be solved with an http-Post with a big JSON in body. But it would be nice to have a more direct and efficient way.
Frank,
Now it seems to work.
I see all the controls of my application and also the extensions installed (eg. fullcalendar), that were not visible before.
Only one problem remains about the navigationbar extension.
Adding the nuget package ‘ Wisej-2-NavigationBar’ does not work and generates the error:
NU1202 Package Wisej-2-NavigationBar 2.5.32 is not compatible with net48 (.NETFramework,Version=v4.8) / win. Package Wisej-2-NavigationBar 2.5.32 does not support any target frameworks. Wisej.Buttons C:\ASRD\NET\WISEJ\GITHUB\EXAMPLES\Wisej 2.5\VisualBasic\wisej-examples-vb-2.5\Buttons_ok\Wisej.Buttons\Wisej.Buttons.vbproj 1
It worked fine before.
Any suggestions?
thanks
Frank,
Now it seems to work.
I see all the controls of my application and also the extensions installed (eg. fullcalendar), that were not visible before.
Only one problem remains about the navigationbar extension.
Adding the nuget package ‘ Wisej-2-NavigationBar’ does not work and generates the error:
NU1202 Package Wisej-2-NavigationBar 2.5.32 is not compatible with net48 (.NETFramework,Version=v4.8) / win. Package Wisej-2-NavigationBar 2.5.32 does not support any target frameworks. Wisej.Buttons C:\ASRD\NET\WISEJ\GITHUB\EXAMPLES\Wisej 2.5\VisualBasic\wisej-examples-vb-2.5\Buttons_ok\Wisej.Buttons\Wisej.Buttons.vbproj 1
It worked fine before.
Any suggestions?
thanks
You are a genius! Thank you for your fast response. It worked perfectly!
Hi Rusty,
this can be achieved by using the Wisej.NET ClientClipboard extension.
Please find attached a sample that you can adapt to your needs.
Best regards
Frank
Hi Angelo,
can you please try to add this nuget package?
https://www.nuget.org/packages/Wisej-2-VisualStudioDesigner
Alternatively please try a full Wisej.NET 2.5 reinstall.
Best regards
Frank
Hi Angelo,
Please proceed with installing the .NET Maui workload from Visual Studio, and also install the .NET 8.0 SDK!
Best Regards,
Alaa
Hi Alaa,
Visual Studio has just been installed.
I did another test, I don’t know if it is related to the problem.
I downloaded one of the example projects ver. 3.5 from Github (for example Button).
When I try to open it, visual studio gives an error message about a missing file:
‘C:\ASRD\NET\WISEJ\GITHUB\EXAMPLES\Wisej 3.5\wisej-examples-3.5\Buttons\Wisej.Buttons\Wisej.Buttons.csproj : error : SDK Resolver Failure: “The SDK resolver “Microsoft.DotNet.MSBuildSdkResolver” failed while attempting to resolve the SDK “Microsoft.NET.Sdk.Web”. Exception: “System.IO.FileNotFoundException: Could not find file ‘C:\Program Files\dotnet\sdk-manifests\9.0.100\microsoft.net.sdk.android\WorkloadManifest.json’.
I attached an image of the error message
Thanks
Hi Rene,
Would you please provide more information on this matter please?
Best Regards,
Alaa
Hi Angelo,
Can you please try to repair visual studio?
It doesn’t look like an issue coming from us.
Best Regards,
Alaa
Hi Francesco,
The variable is going to be assigned whenever you create a new form, it will not become a session variable!
To use session variables, please consider using Application.Session[“cVar”] = “value”, or, for a more advanced implementation, please consider looking at SessionReference .
Best Regards,
Alaa
Hi Frank,
Sorry In my post I forgot to indicate that the applications are developed with wisej 2.5.
Hi Angelo,
you might try reinstalling the WebView2 component or switch to Internet Explorer in the Wisej.NET designer settings (in the toolbar).
See here
https://docs.wisej.com/docs/getting-started-1/troubleshooting#designer-error
Best regards
Frank
Hi Antonio,
Thank you for reaching out!
Unfortunately, helping with 3rd party integrations is out of scope for free support.
We would encourage you to contact us over at sales [AT] iceteagroup.com .
Best Regards,
Alaa
Hi Alaa, thanks for your answer.
If this is so simple then what is the difference in the licence activation between the express and the professional editions?
Best,
Alex
Hi Cristian,
this request is already on our backlog list for future enhancements but unfortunately I cannot tell you yet if and when it will be added.
Best regards
Frank
Hi Alex,
As stated in our blog, Licenses for Server Community Edition will be deactivated and may no longer function after December 31, 2024.
For the upgrade process, all you have to do is to get a key from our website and replace it in your web.config file.
Best Regards,
Alaa
Average load time even for large apps in Wisej.NET is about 1 second or less
This is a small azure service on the free tier with 1 core and 1.75GB
Issue is probably the database or slow connections.
