Hello John,
Thank you for your feedback. We are not related to Visual WebGui in any way other than having used it on projects years ago.
A Wisej app will use more memory than an ASP site but a lot less CPU load. Of course it depends a lot on how the app is developed.
However, Wisej can scale easily and it has a built-in healthcheck system that allows a load balancer to skip an instance depending on configurable parameters: active sessions, memory usage, CPU load.
Wisej is primarily designed to build Line of Business applications, not web sites. It’s hard to compare with an ASP app in a simple scenario.
And we have a cool self hosting or standalone feature here: https://wisej.com/blog/self-hosting-and-standalone-web-apps/
Regards,
Luca
I don’t see any javascript errors, only a few warnings, mostly about unreachable code in qx.js. What should I look for after enabling “debug”: true?
With Firefox, I see a lot of unsupported client errors:
020141 Unsupported client: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0! Assumed gecko version 1.9.0.0 (Firefox 3.0)
That was enlightening though. I usually test with Firefox, but I tried Chrome, and Edge, and the app works as expected. Actually, with Edge there are a few problems, but they aren’t as significant as this problem.
Please let me know what else I can do to help resolve this. I can probably coordinate access for you to the app and even the server, if you’d like to play with it directly.
When I do Application.ServerVariables[“REMOTE_HOST”] all I get back is ::1 same with REMOTE_ADDR.
Any advice?
All the server variables are available here: Application.ServerVariables.
UserHostName is Application.ServerVariables[“REMOTE_HOST”]
UserHostAddress is Application.ServerVariables[“REMOTE_ADDR]
We should probably add the HttpRequest.User* properties to Wisej.Base.Application. Will log an enhancement. The properties end up returning the standard server variables anyway.
That issue also began to happen to me, thank you if a new release soon today…
I would like to know the reason that it started to appear
I am also interested in the today’s prereleased version, please
Thanks in advance!
Hi Luca,
I have attached the icon I would like to use.
Also I am using 48 font and the drop down list is not the same size as the combo box font. How would I make this the same size.
Thanks,
TimLarson
Hi Frank,
if expected new realese can be delivered today I can wait. otherwise I need pre-release build please.
thank you. 🙂
Hi Adil,
yes, this problem has been logged as WJ-8248 and is already fixed but not yet rolled out in a new build.
Please let me know if you need a pre-release build, otherwise I expect a new release either today or tomorrow.
Best regards
Frank
Hi Franck,
I think the best would be that I show you.
Then, we’ll post the answer here.
Please send me some possible times for you.
Regards.
Pierre
Hi John,
glad you found the download link.
It should also work on the Download Now button in the email.
Maybe it was blocked by your mail client ?
Best regards
Frank
Hi Ben,
Can you please send your wisej-server.lic to me at frank(at)iceteagroup.com so I can take a look ?
Thanks in advance.
Best regards
Frank
Hi Pierre,
I was trying to reproduce this, but it works fine here.
Can you please share some more details or a test case we can use to reproduce ?
Thanks in advance.
Best regards
Frank
The OWIN approach is an interesting concept for different deployment scenarios. Here is our licensing model if you want to deploy Wisej projects as a self-hosted app:
If you have to deploy a number of “micro servers”, please contact us to discuss the different options. We have the ISV unlimited deployment for up to 5 concurrent users that is inexpensive and it’s designed for small low-cost deployments for which the self hosting feature is a good fit.
We have special ISV prices for unlimited distribution and/or discounts on volume. Contact joe (at) iceteagroup.com or use https://wisej.com/isv-plans/
to register as an ISV.
Besides that, we’d be happy to hear about your experience with Wisej OWIN and other deployment scenarios. Please share how you use it to help us improve and extend Wisej.
Best wishes
Thomas
Nvm…Found the download link on the summary page after I registered. But you still need to fix that email link.
Thanks,
John
Got it. If you set Invalid=true in the Validating event Wisej probably sets it back to false since it expects e.Cancel to be set to true to indicate that the control is not validated. Try the Validated event instead. I can see if we can detect the change to the property and preserve it instead of relying only on the Cancel property.
Thanks so much Luca. I am able to produce results using the method you say. But I was trying to dynamically set both properties in the text box validating event. And that doesn’t seem to work as I would (perhaps mistakenly) expect – perhaps due to sequencing of events. However it does work the way I was seeking in the LostFocus event. So that works for my needs.
Thanks very much!
Hi Luca,
Thanks for your comprehensive answer.
I’ve read a lot about NGINX vs Apache. NGINX was designed to solve the C10K/C10M issue and uses asynchronous, non-blocking, event-driven connection handling algorithm. It scales far better than Apache and is the choice for load balancers and/or frontend proxy for other web servers.
If the web server is Microsoft.Owin.SelfHost and we just need a frontend proxy, I’d say NGINX is the way to go as it’s much better at this job than Apache.
Hi Matthew,
I just tried with two textbox controls on a page, set their InvalidMessage property in the designer to an error message, then in a button click handler I set their Invalid property to true. The result is the textbox controls with a red border and when you place the cursor over the controls you see the error tooltip with the message.
Basically, when you set Invalid = true, Wisej applies the “invalid” state which is styled in the theme. You can decide how to decorate invalid controls. The InvalidMessage is set to the invalid tooltip. The invalid tooltip can also be themed. See the Controls page in the ThemeBuilder.
When you handle the Validating event and set e.Cancel = true, Wisej sets the Invalid property to true, with the same result as if you did it in your code.
The error provider is different, it adds an icon next to the invalid controls.
HTH
Best,
Luca
With a theme mixin targeting this appearance key combobox/button/icon.
The svg icon that we use has a large margin, so you may need negative margins. If you send me the dimensions of the icon you’d like to use, or a different icon, or simply an image of what you’d like the combobox to look like I can post a theme mixin.
Best,
Luca
Hi Tiago,
Owin/Katana basically replaces the classic and integrated pipeline used by IIS to communicate with web applications. An example of those handlers are AspNet WebForms, AspNet MVC, AspNet WebApi, etc. The System.Web handlers with OWIN are now middlewares.
If you look in /src you’ll see a bunch of projects, most of them are middleware (handler) to perform various tasks: serve static files, authentication, diagnostics, etc. One of those projects is System.Web handler that lets an OWIN stack of middlewares work with IIS.
Another project in there is Microsoft.Owin.SelfHost, which is a lean web server that implements the OWIN interface. So you can use the OWIN stack from a) IIS; b) self hosted using Microsoft.Owin.SelfHost; or c) you can write your own listener or process that is not even a web server and use the OWIN stack.
In Wisej.HostService we used the Microsoft.Owin.SelfHost web server and added the Wisej middleware. You can see in the source code the call to app.UseWisej();
However, as of today, there is no way to self host an AspNet WebForms application with OWIN, or actually anything other than IIS or Cassini.
Our implementation (WisejHost) starts a new application host using System.Web.Hosting.ApplicationHost.CreateApplicationHost to create a new AspNet Application Domain (which is what IIS or Cassini do), then from the new App Domain we start the Microsoft.Owin.SelfHost host and feed the OWIN pipeline.
But, since we kept the entire Wisej core system intact (the HttpHandler and HttpApplication, AspNetWebSocketContext) and our Wisej middleware implemented the System.Web.HttpWorkerRequest abstract class to feed the existing Wisej IHttpAsyncHandler, we can also feed the entire AspNet WebForms (or anything else related to AspNet) directly. In fact with Wisej.HostService you can self host any AspNet application without Wisej. There is no other implementation that can do that. In other words, our OWIN middleware does the opposite of Microsoft.Owin.Host.SystemWeb, it makes OWIN work with the IIS pipeline without IIS.
What do you lose compared to IIS? Well, IIS is a large system with a lot of stuff built in. When you self host you are on your own, so to speak. If you need authentication you have to choose a middleware that performs the authentication that you want. If you need compression, the same (although Wisej already compresses all responses, http or websocket). IIS allows you create App Domains, with Wisej.HostService each instance is a domain, but you can run multiple instances on the same machine (different port).
An interesting use for Wisej.HostService it to work together with NGINX or Apache (NGINX is better IMO, very small and easy to use). I have tested it with multiple Wisej.HostService instances and it works perfectly. Once you know how to configure NGINX…
The Wisej.Application (Standalone) feature is a bit different. It uses exactly the same code but it runs the server and the viewer in the same process (different app domains). You can use it as a traditional desktop (or client/server) application and it can serve external users at the same time. I’m thinking about an “appliance” app, a kiosk.
In both cases, our projects are configured to merge all the OWIN/Katana assemblies (and Chrome Cef implementation) into a single executable to simplify deployment.
HTH
Best,
Luca
