Click here to Skip to main content
15,884,388 members
Articles / Web Development / ASP.NET

Implementing WCF Service Behaviors

Rate me:
Please Sign up or sign in to vote.
4.95/5 (46 votes)
22 Aug 2012CPOL4 min read 155.1K   2.5K   83  
Here we will try to implement different service behaviors to increase service performance
using System.ServiceModel;
namespace InstanceContextModeService
{
    [ServiceContract]
    public interface IVisitorCount
    {
        [OperationContract]
        int GetVisitorCount();
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Engineer GE Oil & Gas
India India
Vinod is Microsoft Certified Professional in WebDev 4, And Lead Engineer by profession. He has more than 8+ yrs of experience in IT industry working on Microsoft Technologies. Prefer to be judged not on his job title but by ability to do a good job of what he is supposed to do.

Technical experience most specifically C#,Ado.Net,Asp.Net, WCF, Sql Server,JavaScript,XML,Web services.

Comments and Discussions