WHAT IS .SVC FILE IN WCF?

Amit Singh

Total Post:565

Points:2825
Posted by  Amit Singh
WCF 
WCF
 2666  View(s)
Ratings:
Rate this:
  1. Amit Singh

    Post:565

    Points:2825
    What is .svc file in WCF?

    .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"

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!