J
Johnny Jörgensen
OK, I have to do a Winforms application (C# or VB doesn't matter - that's
not the important point here) that interacts with a database on a web server
using an ASP.NET web service.
I've done a lot of WinForms programming, but never Web Services. Got a book
about it but that one only talks about how to use the web service from
ASP.NET web applications.
I assume it's pretty much the same from a windows forms app that I have to
add a web reference to my Web service.
BUT:
1) What happens if the web service is not available because the computer
running the app is not connected to the internet? Will the app crash or can
it continue if the web service referenced is not available?
2) Can I define classes in my web service and have the web service return an
instace of that class? Will my windows app be able to recognize classes
defined in a web service?
I hope somebody can answer this for me, because I have to get started now,
and I could really use any tips you might have. Is there something else I
should think of?
Cheers,
Johnny J.
not the important point here) that interacts with a database on a web server
using an ASP.NET web service.
I've done a lot of WinForms programming, but never Web Services. Got a book
about it but that one only talks about how to use the web service from
ASP.NET web applications.
I assume it's pretty much the same from a windows forms app that I have to
add a web reference to my Web service.
BUT:
1) What happens if the web service is not available because the computer
running the app is not connected to the internet? Will the app crash or can
it continue if the web service referenced is not available?
2) Can I define classes in my web service and have the web service return an
instace of that class? Will my windows app be able to recognize classes
defined in a web service?
I hope somebody can answer this for me, because I have to get started now,
and I could really use any tips you might have. Is there something else I
should think of?
Cheers,
Johnny J.