Hi Masafumi,
We are planning to add VirtualScroll property to ComboBox. This should fix it as data is transferred ony when it’s needed. Logged as WJ-9170
Hi, Tiago,
Thank you for your quick answer.
I looked at the MSDN thread you presented.
And I tried to fix the code, but from the conclusion there was not much difference.
I originally transplanted the code that was working on VWG, but since VWG worked relatively lightly, I asked a question like this.
Thank you.
Hi Ron,
Add data label feature logged as WJ-9166.
Hi Masafumi,
Did you try what is suggested in this MSDN thread?
Here is the missing sample:
http://wisej.s3.amazonaws.com/support/attachments/DataGridViewCheck.zip
Best regards
Frank
Hi David.
You need both nuget packages
Install-Package Nancy
Install-Package Nancy.Hosting.Aspnet
Last fixes you issue about -> “Could not load type ‘Nancy.Hosting.Aspnet.NancyHttpRequestHandler”
Hi David,
I had a quick lock at the sample but it’s unclear to me what you need to do. The sample references Nancy but uses ASP.NET WebApi. It uses Nancy only for JSON serialization but it also references Newtownsoft. It also uses static properties in a non-static lass “output” to save user authentication. Static properties will be available to all sessions – if one client is authorized then all clients become authorized (I don’t know if this was intended).
In general web api routing, whether using Nancy, WebApi or Web Handlers (ashx) is not hampered or managed by Wisej at all. Static routing is entirely up to the web server and the routing framework.
Wisej is a stateful system. Each client (browser) creates a session on the server. If a stateless api call from a specific client needs to access the Wisej session, it must pass back the session id as part of the URL. If that is what you are trying to do I can send you an api sample using either Nancy, WebApi, or Web Handlers.
Let me know which routing system you prefer.
You can find a sample “UploadFiles” either here on our website:
Or at github:
https://github.com/iceteagroup/wisej-examples
Best regards
Frank
But can i upload file first, how can i do this with your framework
Hi,
there are many ways of counting number of lines in C#.
Find a related discussion here:
https://stackoverflow.com/questions/496663/c-sharp-how-do-i-count-lines-in-a-textfile
Best regards
Frank
I need to upload a file, and count lines from it to a variable, how can I do this?
Hi,
A Wisej application is exactly like every other web application. It runs on the server. So you can close your browser or turn off your computer and the server continues to run and make the web pages available to everyone that connects to the application.
Please keep in mind what I said earlier about sessions and session timeout. So while the server keeps running, most probably the session will timeout and stop.
Hi,
Can you describe the problem you are facing? Does the above code raise an exception? What exception?
It would be event better if you attach a small example.
This is the simplest code to do a basic handler that does basic REST / HTTP API POST [That is transfer data from an application up to a web service – database]
Attached is WebApi.sln
a. Winform POST json object to http://localhost:xxx/api/a/b
b. WebApi Handler decodes JSON POST to object and can then store to database/etc. Code gets very specific to your api once you get started (swagger / api editors )
Seems Nancy is a wrapper that makes syntax easier to read when decoding/encoding your data
Let me know if you can figure out how the Application.MainPage can access to WebApi object so you dont have to go via database with SignalR to alert app/ or poll database.
If I turn off my computer, it will run on the server, right?
Hi,
A web site is always running so it’s ready for everyone that uses it.
If you are referring to a session – an instance started on a given tab of a given browser – this is quite different. All sessions timeout. Please refer to Session Timeout under the Session documentation.
You can have a session on the first tab of Chrome and another session on the second tab of Chrome, If you close the first tab, its session will go away but you can go on using the session on the other tab.
Hope That Helps.
Thanks Edmond,
got it.
You can find a few pointers and a possible solution here:
https://wisej.com/support/question/readonly-property
Hope that helps.
Best regards
Frank
Hi Edmond,
I have tried to reproduce it, but this is what I got:
Enabled = false – Cannot drop down
ReadOnly = true, Enabled = false – Can drop down but not select a value.
Would you mind putting together a test case for us ?
Thanks in advance.
Best regards
Frank
Solved with last update 🙂
I have tried many ways to implement basic RESTful API function like
http://volkanpaksoy.com/archive/2015/11/11/building-a-simple-http-server-with-nancy/
https://www.codeproject.com/tips/894355/microservice-net-create-micro-services-easily-with
I have run into issues with System.Web.HttpException: Could not load type ‘Nancy.Hosting.Aspnet.NancyHttpRequestHandler’ from web.config
A simple working WiseJ example with RESTful implementation would be greatly appreciated.
