I want to use WCF service (.svc) in my WPF project., Iam trying to create a service., but in Visual studio we have "WCF service library" and "WCF service application". I tried both.
When we create "WCF Service application" we will get .svc file., that when we host we will get .svc file as a service referece.
But What about the "WCF service Library" project? When i create this i got only .cs files and i tried to added new .svc files, but we doesnt have the option to add .svc files. Please guide me how to use the services created by "WCF service library" project in My WPF application
Services created in WCF service library can be hosted using multiple paradigms. The following link (pretty old) explains various ways of histing a wcf service.
http://msdn.microsoft.com/en-us/library/bb332338.aspx
please note that you need .svc file if you are hosting your wcf service in IIS. you can write your own host and will not require .svc file