Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 16th, 2004, 07:06 PM
Ned Ned is offline
Authorized User
Join Date: Jun 2003
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default Web application Vs Windows Application

Does anybody can comment on this comparison in terms of speed? I want to know which application can run faster on the client machine.

Consider that the database is on the remote machine. Web application will use internet to access the data and Windows application will use VPN connection.

Any thought is appreciated,

Old January 17th, 2004, 12:59 PM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

It's very difficult to compare those two without knowing what the application will be doing. If the application is very processor intensive (i.e. processing data) versus data intensive (retrieving data) then it would make sense to build something for the client environment to offload work from the server. This of course implies that you either know the target client or you'll have to write versions to support multiple client platforms.

On the flip side, if you build the application to run as a web application, you will easily expand your accessibility to the application by not having to deal with cross platform compatibility.

It sounds from your description that you know what your target audience will be given that a client application will have to access data over a VPN. This being so, you will most likely have more control over what you need to support. Your organization probably standardizes on one OS platform.

From a perspective of usability, a client application is most certainly better. Making round trips to a web server can become time consuming. Particularly if your application needs to do a lot of little things instead of large things. Why redraw a whole HTML page just to update one bit of information.

I find it interesting that you posted this message in the web services forum but made no mention of them in your question. I really like the idea of using web services for remote data. Perhaps the optimal solution for you is to build a client application that uses web services to access the data. Not only would this eliminate the need to expose the database server to your whole VPN, but it would provide access to only the data your application needs. When you are working in a pure .net environment, using web services is very easy. From the programmatic side you never even see the HTTP/XML interaction of the web service objects.

Another nice aspect of using web services is that you can secure them without the need for a VPN. By providing restricted access to the web service you can control WHO sees the service. This can be achieved with simple protocol management like IP filtering or by building the service methods to require some kind of authentication. In addition, you can use web services over HTTPS so you can secure against network sniffing. All of this without the need to VPN. Depending on your situation this could be a very attractive benefit.

In the end, you'll need to evaluate several things:
- What is the application doing? (Processor or data intensive?)
- How do you want users to access it? (Will they always be or need to be on VPN?)
- UI consideration. (Fancy or quick).
- Upgrade considerations. (Much easier with a web app. But you could make the application check for updates automatically.)

Work smarter, not harder.
Old January 20th, 2004, 01:27 PM
Ned Ned is offline
Authorized User
Join Date: Jun 2003
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts

Thank you Peter for such an informative response.

Our application is very data intensive and little bit process intensive; users are adding thousands of records daily in the head office database from the satellite offices using VPN connection. Right now we are using desktop application (VB6) but we are thinking of migrating to .NET. Before we go ahead I wanted to know which strategy we should use to get the same speed that we have with the current application. Now I have got the idea.

I appreciate your comments,


Similar Threads
Thread Thread Starter Forum Replies Last Post
Application is Web Or Windows! How to Identify? sizzlin_samy General .NET 1 October 8th, 2007 11:20 AM
Web Application OR Windows Application adesilva .NET Framework 2.0 2 May 4th, 2007 07:12 AM
How can i debug my web/windows application? vijaykumartaduri ASP.NET 2.0 Professional 1 March 20th, 2007 06:40 AM
open a windows application from a web page eresina HTML Code Clinic 1 May 9th, 2005 02:00 PM
How to create pop up windows in web application? samlow82 .NET Web Services 4 April 5th, 2005 11:30 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.