473,394 Members | 1,811 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,394 software developers and data experts.

Moving from WinForm to WebForm

Hi,
Our group has to develop a new UI. We are using a third party and have
them develop this since we don't have a lot of experience in doing this.
We want it to be accessible through the web browser specifically
Internet Explorer on Windows 2003 Server. We want them to initially
build it using WinForm i.e. no browser just a windows application. How
difficult will it be to convert a windows application to a WebForm? Are
there points that we need to keep in mind? Is webform or winform the
right thing to do for this?
thank you in advance for any help here,
Mars

*** Sent via Developersdex http://www.developersdex.com ***
Aug 19 '08 #1
9 4021
Victory <cs****@devdex.comwrote:
Our group has to develop a new UI. We are using a third party and have
them develop this since we don't have a lot of experience in doing this.
We want it to be accessible through the web browser specifically
Internet Explorer on Windows 2003 Server. We want them to initially
build it using WinForm i.e. no browser just a windows application. How
difficult will it be to convert a windows application to a WebForm? Are
there points that we need to keep in mind? Is webform or winform the
right thing to do for this?
If you believe you want a web app in the end, why would you get them to
develop a Windows Forms to start with? There are many design decisions
which will bite you if you try to just port from a WinForms app to a
web app. Furthermore there are plenty of areas of design and
implementation where you really want web app expertise, but that may
not come with Windows Forms expertise.

I suggest you ask them to build a web app right from the start. That
way they won't be trimming a square peg to fit in a round hole.

--
Jon Skeet - <sk***@pobox.com>
Web site: http://www.pobox.com/~skeet
Blog: http://www.msmvps.com/jon.skeet
C# in Depth: http://csharpindepth.com
Aug 19 '08 #2
There are a lot of dependencies with web development like IIS and web
services and database to keep the status updates from components that
will report status back to the UI. Since they are saying web browser
technology does not support Push very well. And so the problem is
resources (lack of head count and may be web programing experience on
both).

Mars

*** Sent via Developersdex http://www.developersdex.com ***
Aug 19 '08 #3
Any real life experiences you can tell me about or articles you have
read about moving WinForm to WebForm. Or is using WPF for a window
application makes the migration to webform any easier?
Thank you,
Mars

*** Sent via Developersdex http://www.developersdex.com ***
Aug 19 '08 #4
There are a lot of dependencies with web development like IIS and web
services and database to keep the status updates from components that
will report status back to the UI. Since they are saying web browser
technology does not support Push very well. And so the problem is
resources (lack of head count and may be web programing experience on
both).
You should consider Silverlight which solves your problems. Push, elegant
UI, platform independent...

Jeff
Aug 20 '08 #5
On Aug 20, 12:05*am, Victory <csh...@devdex.comwrote:
There are a lot of dependencies with web development like IIS and web
services and database to keep the status updates from components that
will report status back to the UI. Since they are saying web browser
technology does not support Push very well. And so the problem is
resources (lack of head count and may be web programing experience on
both).
So perhaps you need to reevaluate whether or not you really need a web
application. You should do that to start with though, rather than
writing a WinForms application as a way to delay doing the hard web
stuff.

Jeff Dillon is right to suggest Silverlight, although you probably
want v2 which isn't out yet. The choice will partly depend on your
time scales, and also how skilled the developers are at picking up new
technologies.

It's true that the web doesn't lend itself to push - but it's clearly
feasible (e.g. using AJAX and/or long-lived requests) and the
existence of various web chat clients proves that. However, this
*will* mean designing the application with the various web constraints
in mind to start with - which is why I don't see significant benefit
in writing a WinForms app to start with.

If the team doesn't have web app experience but you need a web app,
you should perhaps consider using a different team.

Jon
Aug 20 '08 #6
On Aug 19, 6:35*pm, Victory <csh...@devdex.comwrote:
Hi,
Our group has to develop a new UI. We are using a third party and have
them develop this since we don't have a lot of experience in doing this.
We want it to be accessible through the web browser specifically
Internet Explorer on Windows 2003 Server. We want them to initially
build it using WinForm i.e. no browser just a windows application. How
difficult will it be to convert a windows application to a WebForm? Are
there points that we need to keep in mind? Is webform or winform the
right thing to do for this?
thank you in advance for any help here,
Mars

*** Sent via Developersdexhttp://www.developersdex.com***
While I respect and completely agree with previous answers, a direct
answer to your initial question is yes, WinForms to WebForms is doable
even though challenging!

I recently went through this exercise myself: the project I lead
started as a WinForms app but executive(political) decision was made
to switch to IE-based UI.

It's a large discussion, but in a nutshell, you'd need to (or rather
your contractor will have to) exercise extra caution in architecting
your application. Enforcing the principles of app tiering, separation
of concerns and loose coupling will greatly decrease the amount of
work that will have to be done when you try to put a different UI on
your application. There are application frameworks that can jumpstart
and aid the "correct" architecture, like CAB and Composite Web
Application block from Microsoft and similar from non-MS sources.
Aug 20 '08 #7
On Aug 19, 6:35*pm, Victory <csh...@devdex.comwrote:
Hi,
Our group has to develop a new UI. We are using a third party and have
them develop this since we don't have a lot of experience in doing this.
We want it to be accessible through the web browser specifically
Internet Explorer on Windows 2003 Server. We want them to initially
build it using WinForm i.e. no browser just a windows application. How
difficult will it be to convert a windows application to a WebForm? Are
there points that we need to keep in mind? Is webform or winform the
right thing to do for this?
thank you in advance for any help here,
Mars

*** Sent via Developersdexhttp://www.developersdex.com***
depending of how you build your business logic and interface it can be
moderately difficult to almost impossible.
I advise you to use a MVP design for the interface, in this way the
controls will have minimun functionality and will be easier to move.

IMHO you should plan very carefuly your target platform and just
develop for it
Aug 20 '08 #8
G.S.

Could you please direct me to an article or articulate on the following
statement:

"Enforcing the principles of app tiering, separation
of concerns and loose coupling will greatly decrease the amount of work
that will have to be done when you try to put a different UI on your
application."
I have asked them to develop the UI without any business logic or data
access logic. Is this what you are talking about, Or is there anything
else i need to look into?

Could you please send me a link to where the Composite Web Application
Block is documented? Where do i start if i am a newbee to this?

thank you,
Mars

*** Sent via Developersdex http://www.developersdex.com ***
Aug 20 '08 #9
On Aug 20, 1:26*pm, Victory <csh...@devdex.comwrote:
G.S.

Could you please send me a link to where the Composite Web Application
Block is documented? Where do i start if i am a newbee to this?

thank you,
Mars

*** Sent via Developersdexhttp://www.developersdex.com***

WebForms:
Web Client Software Factory (Composite Web App is at the core of this
framework):
http://msdn.microsoft.com/en-us/library/bb264518.aspx

WinForms:
CAB's home on MSDN:
http://msdn.microsoft.com/en-us/library/aa480450.aspx
(you should also look up Smart Client Software Factory)

If you're just starting there might be a steeper learning curve. It
may be too much for your needs as it's aimed at
"composite" (modularized) applications, but you should be able to sift
through it and pick at least the ideas that you need.
Aug 20 '08 #10

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

Similar topics

9
by: Dayne | last post by:
I need to have a auto timeout feature for a webform application(vb.net). Basically, I want to close the application if the user does not have a keyboard or mouse input after a specific period of...
0
by: Nick P | last post by:
Hi I have a webform app with an embedded winform class library (to make use of drag & drop, treeviews etc..). My problem is this, I need to click a LinkLabel on the winform and call up an...
0
by: Thom Little | last post by:
..NET Framework 1.1 I have a C# WinForm that invokes a C# WebForm using System.Diagnostics.Process.Start( ) to invoke the default browser and access a specific URL. This works great but I can...
6
by: Zingam | last post by:
Is it possible to insert a WinForm in a WebForm? I'd like for example to insert a managed directx viewer in a webform, that would display 3d graphics on the form? Is this possible? Regards,...
4
by: acool | last post by:
I want the ability to fill in the public properties of a given class in a webform pump that class into a session variable and then recreate a new instance of that class in order to grab those same...
6
by: IntraRELY | last post by:
I have an WinForm (VB.NET) that is launched from an ASP.NET page that uses Form Authentication. After the WinForm is lauched it calls a web service. I want to use the credentials stored in the...
7
by: Dean Slindee | last post by:
I would like to hear some practical comments about how to decide whether a new application becomes a Winform vs a Webform application. Would you say that every app should be, by default, a Winform...
3
by: Gordon | last post by:
Hi; Can you add a column of button controls to a winform datagrid ? I have a form with three independant grids. I would like to add buttons i.e. update, add buttons at the end of each row....
11
by: jjbutera | last post by:
I know how to use the ErrorProvider in my winforms..or do I? I validate the values and set the ErrorProvider in the validating event. If not valid, I set e.Cancel = True. I clear the ErrorProvider...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.