The use of ADO.net is the same for both cases as .net
disconnects the database and only uses quick hits to get
data and update the data.
As I see it the advantages of web forms are:
Workstation platform independednt. ie easy to install on a
Mac/Win 95/XP workstation.
There is no updating of workstations as all the work is
done on the server and just uses ie/navigator/other to
access the program
The advantages of Windows forms:
Easier to set up events on the forms.
Full control over presentation layer (not all browsers
show controls etc the same)
Nobody needs to learn Java Script to do clever things on
browsers that are not VB script compliant.
Only need one server to set up, ie database server.
Nobody needs to learn IIS/Apache or whatever web server
you use.
Hope this helps
Paul
-----Original Message-----
Hello
I have employed as a developer in a software company that
its team usesFoxPro / VB 6.0 / VC++ 6.0 as the developing tools and
newly is going tomigrate to VS.NET. There is a project modified that is to
upgrade a big,more than 100,000 lines DOS based program developed by
FoxPro 2.x to .NETplatform. The design is as previous and the
implementation will bereprogrammed. As a duty in my job I should find an answer
about thefollowing question:
There seems to be two options in .NET to develop the
program: Win Form andWeb Form. The question is if we want to redesign the
application as a multitire program which front-end is best to choose so that we
have less problemsin developing the Data Access tire. Is it better to
choose Web Form and usewrapper classes exist in ASP.NET environment or we can
choose to use WinForm?
There are some facts:
1 - Windows forms have more flexibility in view and
effects and users preferto have a Windows based interface but it is not a "must
to be done" rule.
2 - Our programming team has developed VB and VFP
applications and they aremore familiar with VB 6.0 than IIS, ASP and VBScript. The
company can hiresome web programmers but prefer not to do it if possible
3 - They are not familiar with XML at all and I am the
only person thatknows this technology. It seems I myself should develop
the Data Access tireand I am new in .NET technology but have developed
several ADO based ASPapplications
4 - The new application should be able to use different
data engines such asAccess, VFP, MS SQL Server and Oracle.
It seems developing a multi tire application using
windows forms is highlydependent on web services and xml communications. Using
web forms as a frontend have a little flexibility but at least all data
access layer will be inthe server using ADO.NET wrapper classes those are the
same as ADO. But itseems using windows forms means that we should
use "Dataset" and ".NETFramework Data Provider" that is a topic I am new in.
Microsoft says eitherusing web forms or windows forms, there is no difference
in data accesslayer but I don't feel so. Am I right? What are the
benefits and drawbacksof web form and windows form at the layer of Data Access?
Thanks in advance
Hamed.
.