Discussion Locked

Create custom Web services with .NET

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

This week's .NET newsletter outlines how you can easily create and use custom Web services with the .NET Framework.

Are you already using the .NET Framework to create and use Web services? If not, do you think you will after reading this newsletter? What are your thoughts in general about Web services? Please let us know.

If you aren't subscribed to our free .NET newsletter, click the following link to automatically sign up:
http://nl.com.com/MiniFormHandler?brand=builder&subs_channel=bldr_front_door&list_id=e605&tag=fb

3 replies

by cradford

It would appear that the SQL command is being executed twice in the example, once to test its success or failure and again to return a result if the first execution was successful.

Am I right or does the system 'remember' the result of the first execution and not require another trip to the web service?

by Tony Patton

The example code does make two calls the database, so it would not be recommended for production. The call should be made once and stored in a variable with the variable utilized in the if/then block.

This discussion is closed to new replies.