Hi,
This self hosting/standalone feature is a very nice feature and moves Wisej way into the future.
After reading about OWIN (the standard) and Katana (the implementation) I checked the Katana project at https://github.com/aspnet/AspNetKatana and found out it’s alive and with fresh commits (2 months old).
It looks like Katana is the only implementation of OWIN around. I understand Katana is a middleware, not a Web Server.
So there is something I don’t get: where is the Web Server? What piece of software is playing the Web Server role in the self hosting solution?
Since the self hosting solution isn’t using IIS, we must compare it with IIS. The advantages are obvious, but what do we loose? Is it less robust? Is it as secure as IIS?
Hi Alex,
We have a customer with a big applications ported from WPF and WinForms to Wisej that has deeply integrated mxGraph to build and visually track in real time the execution of complex workflows connecting several external systems. The app creates and manages the workflows visually, with properties, a form builder, middleware connectivity, background batch jobs, etc.
mxGraph is a great library, but big. There is also JointJS open source version.
Libraries like this have a gazillion options since in javascript you don’t have to deal with an IDE with metadata, design mode, and all the more rigorous structures needed by .NET systems. In javascript it’s all text. So the best way to use these libraries in Wisej is to build what you need in a javascript component exposing the methods, properties and events that you want to control from the app. It’s very easy with Wisej.Web.Widget. And now that it supports callbacks/postbacks it’s also easy to feed data back to the client component.
Frank has a blog entry coming up about integrating complex third party components with data. He used the DevExpress javascript pivot table and other cool controls to show how easy it is to integrated with Wisej.Web.Widget.
It becomes a lot more complex to do the kind of native integration you see in FullCalendar, JustGage, and some of the other extensions mostly because of the standards in .NET and the designer.
HTH
Best,
Luca
I can display Wisej pages as iframes or opened windows in an existing asp.Net MVC application by adding
routes.IgnoreRoute(“{resource}.html/{*pathInfo}”);
routes.IgnoreRoute(“{resource}.wx/{*pathInfo}”);
routes.IgnoreRoute(“{resource}.json”);
to RouteConfig.RegisterRoutes method.
Beware of security, Authentication has to be checked with Application.IsAuthenticated property.
Hope that helps,
Pierre
Hi Luca,
How does this effect licensing? If I create an app that we distribute to the desktop do I need a lot of wisej server licenses?
Thanks
Nic
I think you missed my comment. 🙂
Yes, I have already did and I just wanted to print htmlpanel content against to whole window. But now, I redesigned my screen flow. Now It seems working fine.
Thank you.
Did you try Application.Print()? https://wisej.com/docs/html/Overload_Wisej_Base_ApplicationBase_Print.htm
It must be related to WJ-8208: Wisej.Web.DateTimePicker formats the DateTime value using the server’s time zone. In order to format the date/time using the client’s time zone we added the DateTime.ToClientTime() extension without taking in the consideration the min max boundaries.
Logged as regression WJ-8269. Will be fixed in the upcoming build.
Thanks Andrew,
we will investigate that issue (logged as WJ-7268).
Best regards
Frank
Very happy to hear! So, here are some more info:
The entire system is solid and works with everything because, as you can see from the small source code involved, it’s comprised of 3 parts:
You can easily personalize the standalone version with your splash screen, add controls that can interact with the embedded app, or even have multiple views (multiple apps) in the same standalone window. In the future we may add the option to go full screen.
There is no installation required, it’s a simple xcopy deployment. You can update the app by replacing the assemblies in /bin or the related resources (images, scripts) in the project root. I don’t know which is the best way to do it remotely though.
The standalone version (IE or Chrome) can also serve external users with a browser if you change the domain from localhost to * by adding -domain:* to the startup command line. In fact you could create a server app with a live monitor/configuration UI and serve outside users.
The host service can run as a process or as a service. To install it as a service us -i in the command line, it will add itself to the services and run automatically when the machine is powered up.
We recently tested it with NGINX as a proxy and it works amazingly well as a load balancer too and it preserves the WebSocket functionality.
HTH
Best,
Luca
I may have found the answer. By adding this line of code in DataGridView.ProcessCellPointerWebEvents(…) at line 7368
SetCurrentCellAddressCore(colIndex, rowIndex, false, false, true);
Now the current cell is set on a DGV uncheck (“gridCellMouseDown”) as well as on a DGV check (“focusCellChanged”)
Hi Tim, I looked at the project, it requires node.js and npm to install it and run the server. If you have it running without Wisej, it should be straightforward to make to make it work with Wisej. You simply need to do what you’d have to with a any html or js app.
If it needs an iframe you can use the Wisej.Web.IFramePanel, or if you want to embed it in a Wisej.Web.Widget, you can create any html inside the widget container:
this.container.innerHTML = ‘<iframe src=”/path/to/your/webchat/instance” height=”height” width=”width” />’
Or you can create an inner div or any other html structure and use it for the bot.
HTH
Best,
Luca
No idea why. It’s on Amazon S3. This is the direct link:
http://s3.amazonaws.com/wisej/downloads/Extensions/HostService.zip
Hi Andrew,
thank you. I have logged WJ-8267 for this enhancement request.
Best regards
Frank
Thanks, added as enhancement request WJ-8266.
Best regards
Frank
Hi
Looking at the console in Chrome there is indeed an error! (image attached) Looking for a favicon.ico?
The changes are coming through on the individual controls, you can see circled in red in the image where I have added an extra “x”. This change has come through fine. Just seems to be the main page. Seems the image & label will not update.
I’m currently not sure what this favicon.ico is as it isn’t referenced anywhere in the project code that I can see. Will try and research it this afternoon when I have a spare minute.
Any help in the meantime though would be greatly appreciated.
Thanks
Steve.
Yes, it’s there. it’s the event FullCalendar.ItemDrop. I believe it was added around March 14th.
You are correct, there is a bug in Geolocation.js _applyActiveWhatch(). I have attached the fixed file in case you want to recompiled the extension.
For the MainPage, when you switch pages, the previous one is still valid and it may received events. You can either stop ActiveWatch, after fixing the bug 🙂 or dispose the page.
Hi Mark, the phone is working, no worries. 😉
Please leave a message or send us your phone number by private mail and we are happy to give you a ring back. Best option is to use our info@ or sales@ mail account. Or PM me directly.
Thanks and best wishes
Thomas
Hi Steve,
Can you check with F12 if there is an error in the console? Can you reproduce the problem in a small sample?
Thanks,
Luca
