Click here to Skip to main content
15,944,733 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm working on project in which i need to share database between web and FORM application. From my guide i found that i need to use web service to do same.So, I started to finding on internet about it but deeper i go, more i got confused.
> so guys please explain me about creating of WEB SERVICES and how to consume it.
P.S. If possible then give me example with figure.
JasonMacD 28-Feb-14 10:04am    
Search the articles here on CodeProject and other sites, that is the forum for giving out elaborate code examples and covering entire topics. Not here in the question forum.

1 solution

Very well. You can achieve through it.

Web Services are the web components which works in platform independent manner. If you're using .NET framework, then you may find 2 kind of services in it.
1.) ASP .NET Service (.asmx)
2.) WCF Service (.svc)

The following describes the major differences between ASMX and WCF services (you may Google it):
Message Structure and Serialization
SOAP Extensions
Transport Protocols
Exception Handling
State Management

You may find the comparison between ASMX and WCF over here[^] and here[^].

I would suggest you to look at
Your first C# Web Service[^]
A Beginner's Tutorial for Understanding Windows Communication Foundation (WCF)[^]
WCF: From a Beginner's perspective & a Tutorial[^]

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900