For background processing I am using successfully the Windows Task Scheduler to run a separate stand-alone process (command line exe file).
That process is polling in a database queue and does as requested.
This has also an advantage of decoupling the concerns, the memory management and the releases.
From withing WiseJ the Task Scheduler can be easily managed with a NuGet Extension (https://github.com/dahall/taskscheduler) .
Hi Manfred,
usually, Web servers don’t do anything without a browser request.
IIS has a way to preload an assembly on startup and possibly invoke a method to register a module.
It´s maybe possible to start a thread there. But you´d have to look that up and experiment on your own.
Unfortunatly, it’s outside of Wisej.NET scope.
Hope that helps anyways.
Best regards
Frank
You can replace the & with && to have the & displayed and not treated as an indicator for the mnemonic.
Otherwise replace the & with just nothing.
&& is a bit like an escape sequence. Similar to how \n is newline, but \\ is just \.
Thanks, Frank. I tried this very thing with the version I am working with (2.2.x) and it didn’t work. Just want to confirm that this got fixed in more recent versions and I am not missing anything.
Hi Matthew,
Key* events are so called Lazy Events in Wisej.NET.
They only fire for your control if you attach a handler to them.
It´s not enough e.g. to just override OnKeyDown.
Please find attached a simple sample that attaches to KeyDown.
Once you attached to it, you can also use the TextChanged event because
it will also be synced together with the KeyDown event.
(see uncommented code in KeyDown, it´s enough to just attach to it).
Best regards
Frank
Very grateful for your help
Hi Paul,
As requested, attached is the source code for the sample.
Best,
Alaa
Hi Kieran,
This issue was indeed fixed in version 3.2.3 of the extension.
When a NavigationBar is collapsed, only the ItemClick event would work, and if it’s not, both the ItemClick and MouseClick events will work.
Can you please give it a try?
Best,
Alaa
Hi Kieran,
Did you checkout the latest preview builds of Wisej.NET 3.2.4?
A similar issue was fixed and we published it in a beta build, you can find it on NuGet, can you please check it out and let me know if it’s fixed?
Best,
Alaa
Do you have an idea of when this will be fixed?
Thanks,
But these are different demos. I am looking for the code to go forward and return to the same item of the Datarepeater: https://demo.wisej.com/datarepeater/
Hi Dino,
You can’t add rows to a data-bound DataGridView.
You can simulate a DataBound DGV by calling the Fill() method of the DataGridView, and passing the data object.
From there, it’s a matter of handling the CellClick event and implementing your logic, and also applying the same styling principles of the sample found in the forum post you linked.
Or, you can build the DataGridView by code.
HTH,
Alaa
Hi Paul,
You can access the newly created DataRepeater demo on the DemoBrowser.
You can check the source code directly from the application itself, or by browsing the GitHub Repository.
HTH,
Alaa
Hi Martin,
please contact us at salesATwisej.com including your current license key.
Best regards
Frank
You cannot set the session timeout to 2 seconds. It’s explained in the default.json file itself. The minimum is 60 seconds, and the timeout will fire at 120 (timeout * 2) in order to be able to keep the session.
This is different from ASP.NET where the session timeout fires AFTER the session has already expired and disposed.
There is a full explanation on session management in the docs.
Hi Sergio,
You’re correct, setting the Session Timeout by calling Application.SetSessionTimeout() would invalidate your session, so the paint won’t work.
Also, I want to quickly mention, that it is far better to set the ImageSource property, or the Image for that matter to the image you want to display you want as opposed to using the Paint event, because it’s resource heavy.
HTH,
Alaa
Hi Nikos,
A similar question was answered previously, please check out https://wisej.com/support/question/google-maps-marker-options-question for more details!
Best,
Alaa
Hi Walter,
Sorry for the delayed response, what you found is correct.
You can launch your application from the command line like you stated above, “application.exe –urls http://*:5050” for example would let you access any website from any machine on your network.
You can try configuring the launchSettings.json file however you like to adapt to your requirements.
That’s basically how easy it is with .NET Core, you don’t need the dotnet SDK dependency as you can publish your app as “self-contained” and it would work on whatever environment is supported, everything is pretty much the same process, while the executable may change, for example with Windows, it’s Application.exe, in Linux and macOS, it’s just Application!
HTH,
Alaa
Hello
I have now found the solution myself. The site https://weblog.west-wind.com/posts/2016/Sep/28/External-Network-Access-to-Kestrel-and-IIS-Express-in-ASPNET-Core
So far I have repeatedly encountered outdated references in my search for solutions. It’s confusing if you’re not familiar with the subject.
So the solution is after the publish with eg. “dotnet Applikatons.dll –urls http://0.0.0.0:5050” to run the Kestrel server with a different port and with the possibility of access outside of localhost.
This helps me immensely. Maybe there are other solutions?
Hallo
habe nun selbst die Lösung gefunden. Geholfen hat die site https://weblog.west-wind.com/posts/2016/Sep/28/External-Network-Access-to-Kestrel-and-IIS-Express-in-ASPNET-Core
Bisher bin ich auf der Suche nach Lösungen immer wieder auf veraltete Hinweise getroffen. Das verwirrt wenn man sich noch nicht mit der Materie auskennt.
Also die Lösung ist nach dem publish mit zB. “dotnet Applikatons.dll –urls http://0.0.0.0:5050” den Kestrel-Server mit anderen Port und mit der Möglichkeit des Zugriffs ausserhalb von localhost zu betreiben.
Dies hilft mir schon ungemein weiter. Vielleicht gibt es noch andere Lösungen?
