Tuesday, February 15, 2011

WCF Service

1)create service
2)debug
3)copy the url address
4)go to visual studio 2008 commad prompt wrire the command
as

c:/>svcutil /language:cs /out:proxy.cs /config:app.config http://localhost/wcfbatch8-9/MathService.svc
-->hit Enter it creates the following files
c:/>app.config
c:/>proxy.cs
 --------------------------------------------------------------
to open it in a notpad
c:/>notepad app.config
c:/>notepad proxy.cs

To create in a required directory
example to go to D:/ Drive
c:\>d:
it is changed to
D:\>
---------------------------------------
To Open folders in D:\ Drive
D:\>dir
-----------------------------------
To Open folder in D:\ drive
D:\>cd foldername
it changed to
D:\foldername>
------------------------
To go back to a folder
D:\foldername>cd..
it chaanged to
D:\>
----------------
 

No comments: