Cообщество разработчиков на платформе Microsoft >
Форумы
>
Windows Communication Foundation
>
Where is .SVC file????
Where is .SVC file????
- Hi
I am not able to find the file with extension .SVC in my visual Studio...
Can somebody help me how to get the file in visual studio 2008 Professional Edition with .Net framework 3.5
Help me soon..
Ответы
- Abhi0410,
I assume you're trying to create a WCF service hosted in IIS. There isn't a file template for this file in VS (at least I've never seen one). You have to create it manually.
You can find step-by-step instructions here: http://msdn.microsoft.com/en-us/library/ms733766.aspx
You might also try googling "servicehost" to see some of the other things you can do with the svc file.
Chris
Chris Snyder, Stumbling through code one day at a time If your question was answered, please mark it.- Предложено в качестве ответаGaurav Arora 4 июля 2009 г. 18:38
- Помечено в качестве ответаabhi0410 6 июля 2009 г. 5:57
- Hi abhi0410,I agree with Chris, when anyone is trying to create a WCF service on IIS then '.svc' file is come to contact.You have to manually add an '.svc' file in the application director.After completion of code you can check the same as :
http://localhost/IISHostedCalc/Service.svcI refer you the same link as Chris provided: http://msdn.microsoft.com/en-us/library/ms733766.aspxand one more : http://www.codeproject.com/KB/WCF/first_WCF_Service.aspx- Предложено в качестве ответаGaurav Arora 4 июля 2009 г. 18:38
- Помечено в качестве ответаabhi0410 6 июля 2009 г. 5:57
Все ответы
- Abhi0410,
I assume you're trying to create a WCF service hosted in IIS. There isn't a file template for this file in VS (at least I've never seen one). You have to create it manually.
You can find step-by-step instructions here: http://msdn.microsoft.com/en-us/library/ms733766.aspx
You might also try googling "servicehost" to see some of the other things you can do with the svc file.
Chris
Chris Snyder, Stumbling through code one day at a time If your question was answered, please mark it.- Предложено в качестве ответаGaurav Arora 4 июля 2009 г. 18:38
- Помечено в качестве ответаabhi0410 6 июля 2009 г. 5:57
- Hi abhi0410,I agree with Chris, when anyone is trying to create a WCF service on IIS then '.svc' file is come to contact.You have to manually add an '.svc' file in the application director.After completion of code you can check the same as :
http://localhost/IISHostedCalc/Service.svcI refer you the same link as Chris provided: http://msdn.microsoft.com/en-us/library/ms733766.aspxand one more : http://www.codeproject.com/KB/WCF/first_WCF_Service.aspx- Предложено в качестве ответаGaurav Arora 4 июля 2009 г. 18:38
- Помечено в качестве ответаabhi0410 6 июля 2009 г. 5:57
- Hi Chris and Gaurav,
Thanks...I could get the .svc file once i did the Add New items in Project.
Initially i was not getting that...but once i restarted my VS 2008 then i could see that...
Thanks for the link....
Abhi

