Home > DeveloperSection > Interviews > What is .svc file in WCF?

Posted on    January-25-2011 12:00 AM

 1 Answer(s)
  2590  View(s)
Rate this:

Amit Singh

Total Post:565

Posted on    January-25-2011 1:00 AM

.svc file is a text file. This file is similar to our .asmx file in web services.

This file contains the details required for WCF service to run it successfully.

This file contains following details :
1. Language (C# / VB)
2. Name of the service
3. Where the service code resides

Example of .svc file

<%@ ServiceHost Language="C#/VB" Debug="true/false" CodeBehind="Service code files path" Service="ServiceName"

Don't want to miss updates? Please click the below button!

Follow MindStick