Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > Direct ADO instead of Web Service
 

Direct ADO instead of Web Service

Has anyone ever re-written the webservice data provider for TaskVision to be just a another class in the main TaskVision project so that TaskVision can just go directly to SQL to get it's data instead of through a webservice. For the purposes of an intranet, this capability would be faster in retrieving data. I was going to attempt to do something like this, but thought I'd see if anyone else has already done it. If so, can you provide your code changes?

thanks,

MigrationUser 1  Monday, May 17, 2004 5:07 PM
I've done this, but I'm also using an O/R mapper I wrote, and also the provider pattern.  The O/R mapper is trivial because you could just as easily use the CRUD.

This isn't a trivial change until we implement the provider pattern on the project.

Using the provider you set the provider in the app.config, which can be done during install, to give the user an option of using a file share access method.
MigrationUser 1  Monday, May 17, 2004 5:51 PM

You can use google to search for other answers

Custom Search

More Threads

• Update Web Refrence Problem (Issue Vision)
• How to use c# to write a sound recorder
• Occupied Space and cellRadius
• Adventure Works for SQL Server 2000
• Attacking by herbies...
• Problem with merging assemblies using ILmerge
• See What URL present on Internet Explorer
• Want help related to Windows Forms Controls
• ObjectDisposedException
• Server not responding error on login