All Answers

0 votes

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

0 votes

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.

0 votes
In reply to: software developer

Hi Ron,

Add data label feature logged as WJ-9166.

0 votes

Hi Masafumi,

Did you try what is suggested in this MSDN thread?

  • Tiago (ITG) answered Aug 29, 2018 - 8:55 am
  • last active Aug 29, 2018 - 8:56 am
0 votes

Here is the missing sample:

http://wisej.s3.amazonaws.com/support/attachments/DataGridViewCheck.zip

Best regards
Frank

0 votes

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”

  • Ser Gar answered Aug 28, 2018 - 5:10 pm
0 votes

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.

  • Luca answered Aug 28, 2018 - 3:25 pm
0 votes

You can find a sample “UploadFiles” either here on our website:

https://wisej.com/examples/

Or at github:

https://github.com/iceteagroup/wisej-examples

Best regards
Frank

0 votes

But can i upload file first, how can i do this with your framework


 

  • DevMan answered Aug 28, 2018 - 10:25 am
  • last active Aug 28, 2018 - 10:33 am
0 votes

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

0 votes

I need to upload a file, and count lines from it to a variable, how can I do this?

  • DevMan answered Aug 28, 2018 - 10:07 am
  • last active Aug 28, 2018 - 10:20 am
0 votes

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.

0 votes

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.

0 votes

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.

  • David answered Aug 28, 2018 - 7:52 am
  • last active Aug 28, 2018 - 7:54 am
0 votes

If I turn off my computer, it will run on the server, right?

  • DevMan answered Aug 27, 2018 - 10:15 pm
  • last active Aug 27, 2018 - 10:16 pm
0 votes

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.

0 votes

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

0 votes

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

 

0 votes

Solved with last update 🙂

0 votes

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.

 

 

 

  • David answered Aug 26, 2018 - 1:03 am
  • last active Aug 27, 2018 - 6:11 am
Showing 6861 - 6880 of 11k results