A good tutorial to follow
http://wcftutorial.net/
Create a sample application
http://www.codeproject.com/Articles/97204/Implementing-a-Basic-Hello-World-WCF-Service
Wednesday, August 28, 2013
Svcutils.exe command to generate WCF Client
Following are the steps to generate config and proxy files for WCF Client
This will generate config and proxy files for your project.
References
http://msdn.microsoft.com/en-us/library/ms733133.aspx
http://www.codeproject.com/Articles/97204/Implementing-a-Basic-Hello-World-WCF-Service
- Navigate to your Project Director , type cmd /K "cd /d projectdirector" Check the location of svcutils.exe file on windows server 2008 it is "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin"
- Run this command "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\SvcUtil.exe" /language:cs /out:generatedProxy.cs /config:app.config url of ur service file
This will generate config and proxy files for your project.
References
http://msdn.microsoft.com/en-us/library/ms733133.aspx
http://www.codeproject.com/Articles/97204/Implementing-a-Basic-Hello-World-WCF-Service
Wednesday, July 11, 2012
Friday, June 29, 2012
Friday, May 25, 2012
Tuesday, May 15, 2012
Pass Eval to a javascript function
OnClientClick=<%# String.Format("javascript:SetContact('{0}','{1}')", Eval("ID"),Eval("Name")) %>
Wednesday, April 18, 2012
Get Enum Integer Value by String
(int)Enum.Parse(typeof(EnumName), value);
Subscribe to:
Posts (Atom)