﻿<?xml version="1.0"?>
<!--
  <copyright file="web.config" company="Microsoft">
    Copyright (C) Microsoft. All rights reserved.
  </copyright>
-->
<configuration>
	<configSections>
		<section name="wssg.external" type="Microsoft.WindowsServerSolutions.Configuration.ExternalConfigurationSection, WssgCommon, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
	</configSections>
	<runtime>
		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
			<dependentAssembly>
				<assemblyIdentity name="AddinInfrastructure" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
				<codeBase version="10.0.0.0" href="..\..\..\..\..\windows\system32\Essentials\AddinInfrastructure.dll"/>
			</dependentAssembly>
		</assemblyBinding>
	</runtime>
	<system.serviceModel>
		<bindings>
			<wsHttpBinding>
				<!-- Used for normal service operation with two-way SSL -->
				<binding name="wsHttpBinding_TwoWay">
					<security mode="Transport">
						<transport clientCredentialType="Certificate"/>
						<message clientCredentialType="None"/>
					</security>
				</binding>
			</wsHttpBinding>
		</bindings>
		<!-- Update service requires ASP.NET compatibility mode in order to persist HTTP application state -->
		<serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>
	</system.serviceModel>
	<!-- Identifies the file to use for configuring logging -->
	<!-- Logging will not function if no logging config file is specified -->
	<!-- The log files themselves are located in C:\ProgramData\Microsoft\Windows Server\Logs -->
	<wssg.external fileName="MacWebService.Logging.config"/>
	<system.web>
		<compilation targetFramework="4.0"/>
		<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
  </system.web>
</configuration>
