473,322 Members | 1,345 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Winforms to Asp -- where to start?

Hi,

I am investigating how much work it would take to convert an existing
winform application to a web based application, but need to be pointed in
the correct direction.

We have an existing winform application that attaches to a socket server to
get periodic GPS location updates from CE devices. As these GPS reports
come in, we display the location, which is constantly changing, on a map
that sits on a windows form. How can a web based application receive these
updates? From my limited understanding of ASP, I don't believe it is
possible for "stateless" web page to have a client socket, which is always
open, to receive GPS reports from our server. How would I notify an ASP
application of potentially dozens of updates per minute, so that I can
despite the CE devices moving around on the map?

Any help would be greatly appreciated.

Thanks,
Dave
Feb 20 '06 #1
6 1041
One option is to have a thick client embedded in the browser so more advanced
networking code can happen on the client. Several security hoops need to be
jumped through to make this work, however.

For a thinner client, the web page could request updates from the server at
regular intervals so the server can reply with updated information.

--
I hope this helps,
Steve C. Orr
MCSD, MVP
http://SteveOrr.net

"D. Yates" wrote:
Hi,

I am investigating how much work it would take to convert an existing
winform application to a web based application, but need to be pointed in
the correct direction.

We have an existing winform application that attaches to a socket server to
get periodic GPS location updates from CE devices. As these GPS reports
come in, we display the location, which is constantly changing, on a map
that sits on a windows form. How can a web based application receive these
updates? From my limited understanding of ASP, I don't believe it is
possible for "stateless" web page to have a client socket, which is always
open, to receive GPS reports from our server. How would I notify an ASP
application of potentially dozens of updates per minute, so that I can
despite the CE devices moving around on the map?

Any help would be greatly appreciated.

Thanks,
Dave

Feb 20 '06 #2
Steve,

Thanks for your response.

Inline:
One option is to have a thick client embedded in the browser so more
advanced
networking code can happen on the client. Several security hoops need to
be
jumped through to make this work, however.
By thick client, do you mean an Active-X control or is there more than one
way to do this?

It would be nice if the client didn't have to run a formal install....does
this leave me with just Active-X for a thick client?
For a thinner client, the web page could request updates from the server
at
regular intervals so the server can reply with updated information.


Can this be accomplished without a lot of "clicking" page updates?

Since a web page is suppose to be "stateless", I assume that you would have
to create, open, retrieve, and close a database connection or at least a
client socket each time you wanted to update...is this true? If so, I would
have to do it at least once every five seconds....seems like a lot of wasted
CPU power. Your thoughts?
This new ASP application would also have to receive real time messages from
the CE devices. Would this put me back to the "thick" client model?

Thanks,
Dave
Feb 20 '06 #3
I don't know much about working with web map controls but you might want to
look at using:

(Javascript + Timer) + Ajax

This combination will allow the client to periodically request information
from your web server without posting back to the server.

"D. Yates" <fo****@hotmail.com> wrote in message
news:ed**************@TK2MSFTNGP10.phx.gbl...
Hi,

I am investigating how much work it would take to convert an existing
winform application to a web based application, but need to be pointed in
the correct direction.

We have an existing winform application that attaches to a socket server
to get periodic GPS location updates from CE devices. As these GPS
reports come in, we display the location, which is constantly changing, on
a map that sits on a windows form. How can a web based application
receive these updates? From my limited understanding of ASP, I don't
believe it is possible for "stateless" web page to have a client socket,
which is always open, to receive GPS reports from our server. How would I
notify an ASP application of potentially dozens of updates per minute, so
that I can despite the CE devices moving around on the map?

Any help would be greatly appreciated.

Thanks,
Dave

Feb 20 '06 #4
Mark,

Thanks for your reply. Your suggestion of AJAX has led us to ATLAS
(http://www.asp.net/default.aspx?tabindex=9&tabid=47), which will wrap AJAX
for you in an object oriented way. We will now investigate the two to see
they can do what we want.

Thanks,
Dave
Feb 22 '06 #5
Hi,

My name is Guy Peled and I am the architect of a new development
platform called Visual WebGui which uses WinForms API to
create AJAX applications. As you may think it is another rendering
solutions that takes code and transforms it to HTML it is not, but
rather a true runtime library based on WinForms API. This means you can
take your application and convert it by copying your code and changing
the namespaces from Microsoft namespaces to our namespaces, resulting
in a very cool, no installation, high performance, browser based
application. WebGui runs in the IIS using the core of ASP.NET creating
a "risk free" framework.... You can download the community edition from
http://www.visualwebgui.com and try it your self...

Hope I helped
Guy Peled

Mar 18 '06 #6
Hi,

My name is Guy Peled and I am the architect of a new development
platform called Visual WebGui which uses WinForms API to
create AJAX applications. As you may think it is another rendering
solutions that takes code and transforms it to HTML it is not, but
rather a true runtime library based on WinForms API. This means you can
take your application and convert it by copying your code and changing
the namespaces from Microsoft namespaces to our namespaces, resulting
in a very cool, no installation, high performance, browser based
application. WebGui runs in the IIS using the core of ASP.NET creating
a "risk free" framework.... You can download the community edition from
http://www.visualwebgui.com and try it your self...

Hope I helped
Guy Peled

Mar 18 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Terry H | last post by:
Hi I am deploying a winforms app via the windows installer and a VS.Net 2003 setup and deploymnet project. At the moment, I am adding launch conditions for the .Net Framework 1.1 and MDAC 2.7...
1
by: Michael H | last post by:
I have a strange error occuring in my winforms app that I can't seem to find any fix for. With a button click I am launching something like the following: string url ="http://www.microsoft.com"...
5
by: Cybertof | last post by:
Hello, How to start 2 winforms at the same time (in 2 threads ?) ? Application.Run(new frmForm1()); Application.Run(new frmForm2()); Here frmForm2 waits frmForm1 to be closed before beeing...
20
by: Martin Rosén-Lidholm | last post by:
Although an impossible question to answer, I fell urged to raise it anyhow. Given a fairly complex ERP application scenario, what's your estimation for the X-ratio dev. time for...
5
by: Segfahlt | last post by:
I need a little help here please. I have 2 win forms user controls in 2 different projects that I'm hosting in 2 different virtual directories. The controls have been test and operate okay in...
2
by: deko | last post by:
When to use a privileged user thread rather than a windows service? That's the question raised in a previous post . It was suggested that if the service needs to interact with a WinForms app...
11
by: Steve Smith | last post by:
I have written a winforms application that launches approximately 150 threads with Thread.ThreadStart() Each thread uses CDO 1.21 to logon to a different Exchange mailbox and send/receive a...
6
by: Joe | last post by:
We pass args to our WinForms app and would like the console to wait until the program ends before returning. For example: C:MyApp.exe -r something This returns even though the process is...
4
by: moondaddy | last post by:
I have a .net 1.1 winforms app that calls an aspx page which I need to debug. I also need to start the debugging process from the winform because the winform first calls a web service which passed...
9
by: deerchao | last post by:
I'm developing a WinForms application. It slowly eats up memory, one client reported that it took 200MB or more, and finnaly crashed. I myself noticed it's common to use up 30MB memory, but if I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.