Linq to SQL Web Service XML
Posted
by Bryan
on Stack Overflow
See other posts from Stack Overflow
or by Bryan
Published on 2010-03-31T15:36:26Z
Indexed on
2010/03/31
15:53 UTC
Read the original article
Hit count: 459
I built a .NET web service connecting to an MSSQL database. There is a web service call GetAllQuestions() that will not change. I saved the result of GetAllQuestions to GetAllQuestions.xml in the local application folder and set it to content. Normally I would get the result of the web service like this:
var myService = new SATService();
var serviceQuestions = myService.GetAllQuestions();
I want to try something like:
var serviceQuestions = File.Open("GetAllQuestions.xml");
Any suggestions are much appreciated!
© Stack Overflow or respective owner