Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Implementing WCF Service Behaviors

, 22 Aug 2012 CPOL
Here we will try to implement different service behaviors to increase service performance
InstanceContextModeSample-noexe.zip
InstanceContextModeSample
InstanceContextModeClient
bin
Debug
obj
x86
Debug
GenerateResource.read.1.tlog
GenerateResource.write.1.tlog
InstanceContextModeClient.Properties.Resources.resources
Properties
Settings.settings
InstanceContextModeSample.suo
InstanceContextModeSample
bin
Debug
obj
Debug
Properties
VisitorCounterService.csproj.user
ServiceInstanceServer
bin
Debug
ServiceInstanceServer.vshost.exe.manifest
obj
x86
Debug
Properties
InstanceContextModeSample.zip
InstanceContextModeClient.exe
InstanceContextModeClient.pdb
DesignTimeResolveAssemblyReferencesInput.cache
GenerateResource.read.1.tlog
GenerateResource.write.1.tlog
InstanceContextModeClient.exe
InstanceContextModeClient.pdb
InstanceContextModeClient.Properties.Resources.resources
TempPE
Settings.settings
InstanceContextModeSample.suo
InstanceContextModeSample.dll
InstanceContextModeSample.pdb
Release
DesignTimeResolveAssemblyReferencesInput.cache
InstanceContextModeSample.dll
InstanceContextModeSample.pdb
TempPE
VisitorCounterService.csproj.user
InstanceContextModeSample.dll
InstanceContextModeSample.pdb
ServiceInstanceServer.exe
ServiceInstanceServer.pdb
ServiceInstanceServer.vshost.exe
ServiceInstanceServer.vshost.exe.manifest
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
ServiceInstanceServer.exe
ServiceInstanceServer.pdb
TempPE
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
    <ProductVersion>8.0.30703</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{AC3E134B-7695-4BFE-8BCF-39EFF1D636A2}</ProjectGuid>
    <OutputType>Exe</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>ServiceInstanceServer</RootNamespace>
    <AssemblyName>ServiceInstanceServer</AssemblyName>
    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    <TargetFrameworkProfile>Client</TargetFrameworkProfile>
    <FileAlignment>512</FileAlignment>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
    <PlatformTarget>x86</PlatformTarget>
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    <PlatformTarget>x86</PlatformTarget>
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.ServiceModel" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System.Data" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Program.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
  </ItemGroup>
  <ItemGroup>
    <None Include="App.config">
      <SubType>Designer</SubType>
    </None>
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\InstanceContextModeSample\VisitorCounterService.csproj">
      <Project>{34FDE1ED-1A31-4708-9833-A511E9B0FDB1}</Project>
      <Name>InstanceContextModeService</Name>
    </ProjectReference>
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
</Project>

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)

Share

About the Author

Vinod Viswanath
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.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150123.1 | Last Updated 22 Aug 2012
Article Copyright 2012 by Vinod Viswanath
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid