Skip to content

Commit 092e8b4

Browse files
author
Sunny Raj Rathod
authored
Merge pull request AuthorizeNet#195 from rahulrnitc/master
.Net version upgraded to 4.5 and added TLS1.2 support
2 parents b2378ab + 5d6fb1a commit 092e8b4

File tree

10 files changed

+73
-122
lines changed

10 files changed

+73
-122
lines changed

Authorize.NET/Api/Controllers/getAUJobDetailsController.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ override protected void ValidateRequest() {
2323
protected override void BeforeExecute()
2424
{
2525
var request = GetApiRequest();
26-
RequestFactoryWithSpecified.getAUJobDetailsType(request);
2726
}
2827
}
2928
#pragma warning restore 1591

Authorize.NET/Api/Controllers/getAUJobSummaryController.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ override protected void ValidateRequest() {
2323
protected override void BeforeExecute()
2424
{
2525
var request = GetApiRequest();
26-
RequestFactoryWithSpecified.getAUJobSummaryType(request);
2726
}
2827
}
2928
#pragma warning restore 1591

Authorize.NET/AuthorizeNET.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
1111
<RootNamespace>AuthorizeNet</RootNamespace>
1212
<AssemblyName>AuthorizeNet</AssemblyName>
13-
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
13+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
1515
<TargetFrameworkProfile />
1616
<FileUpgradeFlags>
@@ -30,6 +30,7 @@
3030
<WarningLevel>4</WarningLevel>
3131
<DocumentationFile>bin/Debug/AuthorizeNet.XML</DocumentationFile>
3232
<NoWarn>0219,1591,1635</NoWarn>
33+
<Prefer32Bit>false</Prefer32Bit>
3334
</PropertyGroup>
3435
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
3536
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -40,6 +41,7 @@
4041
<ErrorReport>prompt</ErrorReport>
4142
<WarningLevel>4</WarningLevel>
4243
<DocumentationFile>bin/Release/AuthorizeNet.XML</DocumentationFile>
44+
<Prefer32Bit>false</Prefer32Bit>
4345
</PropertyGroup>
4446
<ItemGroup>
4547
<Reference Include="System" />
@@ -73,6 +75,8 @@
7375
<Compile Include="Api\Controllers\deleteCustomerPaymentProfileController.cs" />
7476
<Compile Include="Api\Controllers\deleteCustomerProfileController.cs" />
7577
<Compile Include="Api\Controllers\deleteCustomerShippingAddressController.cs" />
78+
<Compile Include="Api\Controllers\getAUJobDetailsController.cs" />
79+
<Compile Include="Api\Controllers\getAUJobSummaryController.cs" />
7680
<Compile Include="Api\Controllers\getBatchStatisticsController.cs" />
7781
<Compile Include="Api\Controllers\getCustomerPaymentProfileController.cs" />
7882
<Compile Include="Api\Controllers\getCustomerPaymentProfileListController.cs" />

Authorize.NET/Util/HttpUtility.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ public static ANetApiResponse PostData<TQ, TS>(AuthorizeNet.Environment env, TQ
6666
// Get the response
6767
String responseAsString = null;
6868
Logger.debug(string.Format("Retreiving Response from Url: '{0}'", postUrl));
69+
70+
// Set Tls to Tls1.2
71+
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;
72+
6973
using (var webResponse = webRequest.GetResponse())
7074
{
7175
Logger.debug(string.Format("Received Response: '{0}'", webResponse));

AuthorizeNET.sln

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

2-
Microsoft Visual Studio Solution File, Format Version 11.00
3-
# Visual Studio 2010
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.25420.1
5+
MinimumVisualStudioVersion = 10.0.40219.1
46
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthorizeNET", "Authorize.NET\AuthorizeNET.csproj", "{5D52EAEC-42FB-4313-83B8-69E2F55EBF14}"
57
EndProject
68
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthorizeNETtest", "AuthorizeNETtest\AuthorizeNETtest.csproj", "{CDA0D4D8-E4AA-4BEA-8839-04D69607D914}"
@@ -16,9 +18,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1618
EndProjectSection
1719
EndProject
1820
Global
19-
GlobalSection(TestCaseManagementSettings) = postSolution
20-
CategoryFile = AuthorizeNET.vsmdi
21-
EndGlobalSection
2221
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2322
Debug|Any CPU = Debug|Any CPU
2423
Release|Any CPU = Release|Any CPU
@@ -29,22 +28,25 @@ Global
2928
{5D52EAEC-42FB-4313-83B8-69E2F55EBF14}.Debug|Any CPU.Build.0 = Debug|Any CPU
3029
{5D52EAEC-42FB-4313-83B8-69E2F55EBF14}.Release|Any CPU.ActiveCfg = Release|Any CPU
3130
{5D52EAEC-42FB-4313-83B8-69E2F55EBF14}.Release|Any CPU.Build.0 = Release|Any CPU
32-
{5D52EAEC-42FB-4313-83B8-69E2F55EBF14}.USELOCAL|Any CPU.ActiveCfg = USELOCAL|Any CPU
33-
{5D52EAEC-42FB-4313-83B8-69E2F55EBF14}.USELOCAL|Any CPU.Build.0 = USELOCAL|Any CPU
31+
{5D52EAEC-42FB-4313-83B8-69E2F55EBF14}.USELOCAL|Any CPU.ActiveCfg = Release|Any CPU
32+
{5D52EAEC-42FB-4313-83B8-69E2F55EBF14}.USELOCAL|Any CPU.Build.0 = Release|Any CPU
3433
{CDA0D4D8-E4AA-4BEA-8839-04D69607D914}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
3534
{CDA0D4D8-E4AA-4BEA-8839-04D69607D914}.Debug|Any CPU.Build.0 = Debug|Any CPU
3635
{CDA0D4D8-E4AA-4BEA-8839-04D69607D914}.Release|Any CPU.ActiveCfg = Release|Any CPU
3736
{CDA0D4D8-E4AA-4BEA-8839-04D69607D914}.Release|Any CPU.Build.0 = Release|Any CPU
38-
{CDA0D4D8-E4AA-4BEA-8839-04D69607D914}.USELOCAL|Any CPU.ActiveCfg = USELOCAL|Any CPU
39-
{CDA0D4D8-E4AA-4BEA-8839-04D69607D914}.USELOCAL|Any CPU.Build.0 = USELOCAL|Any CPU
37+
{CDA0D4D8-E4AA-4BEA-8839-04D69607D914}.USELOCAL|Any CPU.ActiveCfg = Release|Any CPU
38+
{CDA0D4D8-E4AA-4BEA-8839-04D69607D914}.USELOCAL|Any CPU.Build.0 = Release|Any CPU
4039
{79796297-BA7B-4F22-8C53-D9B6EFDD7EB7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
4140
{79796297-BA7B-4F22-8C53-D9B6EFDD7EB7}.Debug|Any CPU.Build.0 = Debug|Any CPU
4241
{79796297-BA7B-4F22-8C53-D9B6EFDD7EB7}.Release|Any CPU.ActiveCfg = Release|Any CPU
4342
{79796297-BA7B-4F22-8C53-D9B6EFDD7EB7}.Release|Any CPU.Build.0 = Release|Any CPU
44-
{79796297-BA7B-4F22-8C53-D9B6EFDD7EB7}.USELOCAL|Any CPU.ActiveCfg = USELOCAL|Any CPU
45-
{79796297-BA7B-4F22-8C53-D9B6EFDD7EB7}.USELOCAL|Any CPU.Build.0 = USELOCAL|Any CPU
43+
{79796297-BA7B-4F22-8C53-D9B6EFDD7EB7}.USELOCAL|Any CPU.ActiveCfg = Release|Any CPU
44+
{79796297-BA7B-4F22-8C53-D9B6EFDD7EB7}.USELOCAL|Any CPU.Build.0 = Release|Any CPU
4645
EndGlobalSection
4746
GlobalSection(SolutionProperties) = preSolution
4847
HideSolutionNode = FALSE
4948
EndGlobalSection
49+
GlobalSection(TestCaseManagementSettings) = postSolution
50+
CategoryFile = AuthorizeNET.vsmdi
51+
EndGlobalSection
5052
EndGlobal

AuthorizeNETtest/App.config

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
<?xml version="1.0" encoding="utf-8" ?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<appSettings>
44
<add key="api.login.id" value="API_LOGIN"/>
55
<add key="transaction.key" value="API_KEY"/>
66
<add key="md5.hash.key" value=""/>
77
</appSettings>
8+
<startup>
9+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
10+
</startup>
811
</configuration>
912

AuthorizeNETtest/AuthorizeNETtest.csproj

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
1111
<RootNamespace>AuthorizeNETtest</RootNamespace>
1212
<AssemblyName>AuthorizeNETtest</AssemblyName>
13-
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
13+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
1515
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
1616
<FileUpgradeFlags>
1717
</FileUpgradeFlags>
1818
<OldToolsVersion>3.5</OldToolsVersion>
1919
<UpgradeBackupLocation />
20+
<TargetFrameworkProfile />
2021
</PropertyGroup>
2122
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2223
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -28,6 +29,7 @@
2829
<ErrorReport>prompt</ErrorReport>
2930
<WarningLevel>4</WarningLevel>
3031
<NoWarn>0219,1591,1635</NoWarn>
32+
<Prefer32Bit>false</Prefer32Bit>
3133
</PropertyGroup>
3234
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
3335
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -37,6 +39,7 @@
3739
<DefineConstants>TRACE</DefineConstants>
3840
<ErrorReport>prompt</ErrorReport>
3941
<WarningLevel>4</WarningLevel>
42+
<Prefer32Bit>false</Prefer32Bit>
4043
</PropertyGroup>
4144
<ItemGroup>
4245
<Reference Include="NMock3">
@@ -132,9 +135,6 @@
132135
<Name>AuthorizeNET</Name>
133136
</ProjectReference>
134137
</ItemGroup>
135-
<ItemGroup>
136-
<Shadow Include="Test References\AuthorizeNet.accessor" />
137-
</ItemGroup>
138138
<ItemGroup>
139139
<None Include="Api\ControllerTemplateTest.cst" />
140140
<None Include="App.config">
@@ -144,6 +144,9 @@
144144
<None Include="NMock3\NMockTest.cs" />
145145
<None Include="packages.config" />
146146
</ItemGroup>
147+
<ItemGroup>
148+
<Folder Include="Test References\" />
149+
</ItemGroup>
147150
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
148151
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
149152
Other similar extension points exist, see Microsoft.Common.targets.

AuthorizeNETtest/Test References/AuthorizeNet.accessor

Lines changed: 0 additions & 2 deletions
This file was deleted.

CoffeeShopWebApp/CoffeeShopWebApp.csproj

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,18 @@
1212
<AppDesignerFolder>Properties</AppDesignerFolder>
1313
<RootNamespace>CoffeeShopWebApp</RootNamespace>
1414
<AssemblyName>CoffeeShopWebApp</AssemblyName>
15-
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
15+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1616
<FileUpgradeFlags>
1717
</FileUpgradeFlags>
1818
<OldToolsVersion>3.5</OldToolsVersion>
1919
<UpgradeBackupLocation />
20+
<TargetFrameworkProfile />
21+
<UseIISExpress>false</UseIISExpress>
22+
<IISExpressSSLPort />
23+
<IISExpressAnonymousAuthentication />
24+
<IISExpressWindowsAuthentication />
25+
<IISExpressUseClassicPipelineMode />
26+
<UseGlobalApplicationHostFile />
2027
</PropertyGroup>
2128
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2229
<DebugSymbols>true</DebugSymbols>
@@ -34,6 +41,7 @@
3441
<DefineConstants>TRACE</DefineConstants>
3542
<ErrorReport>prompt</ErrorReport>
3643
<WarningLevel>4</WarningLevel>
44+
<Prefer32Bit>false</Prefer32Bit>
3745
</PropertyGroup>
3846
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
3947
<DebugSymbols>true</DebugSymbols>
@@ -42,6 +50,7 @@
4250
<DebugType>full</DebugType>
4351
<PlatformTarget>AnyCPU</PlatformTarget>
4452
<ErrorReport>prompt</ErrorReport>
53+
<Prefer32Bit>false</Prefer32Bit>
4554
</PropertyGroup>
4655
<ItemGroup>
4756
<Reference Include="AuthorizeNet, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
@@ -50,25 +59,19 @@
5059
</Reference>
5160
<Reference Include="System" />
5261
<Reference Include="System.Data" />
53-
<Reference Include="System.Core">
54-
<RequiredTargetFramework>3.5</RequiredTargetFramework>
55-
</Reference>
56-
<Reference Include="System.Data.DataSetExtensions">
57-
<RequiredTargetFramework>3.5</RequiredTargetFramework>
58-
</Reference>
59-
<Reference Include="System.Web.Extensions">
60-
<RequiredTargetFramework>3.5</RequiredTargetFramework>
61-
</Reference>
62-
<Reference Include="System.Xml.Linq">
63-
<RequiredTargetFramework>3.5</RequiredTargetFramework>
64-
</Reference>
62+
<Reference Include="System.Data.DataSetExtensions" />
63+
<Reference Include="System.Web.ApplicationServices" />
64+
<Reference Include="System.Web.DynamicData" />
65+
<Reference Include="System.Web.Entity" />
66+
<Reference Include="System.Web.Extensions" />
6567
<Reference Include="System.Drawing" />
6668
<Reference Include="System.Web" />
6769
<Reference Include="System.Xml" />
6870
<Reference Include="System.Configuration" />
6971
<Reference Include="System.Web.Services" />
7072
<Reference Include="System.EnterpriseServices" />
7173
<Reference Include="System.Web.Mobile" />
74+
<Reference Include="System.Xml.Linq" />
7275
</ItemGroup>
7376
<ItemGroup>
7477
<Content Include="Content\css\splash.css" />

CoffeeShopWebApp/Web.config

Lines changed: 24 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,34 @@
11
<?xml version="1.0"?>
22
<configuration>
3-
<configSections>
4-
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
5-
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
6-
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
7-
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
8-
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
9-
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
10-
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
11-
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
12-
</sectionGroup>
13-
</sectionGroup>
14-
</sectionGroup>
15-
</configSections>
16-
<appSettings>
17-
<add key="ApiLogin" value="ApiLogin"/>
18-
<add key="TransactionKey" value="TransactionKey"/>
19-
<add key="MerchantHash" value="MERCHANT_HASH"/>
20-
</appSettings>
21-
<connectionStrings/>
22-
<system.web>
23-
<!--
3+
<appSettings>
4+
<add key="ApiLogin" value="ApiLogin"/>
5+
<add key="TransactionKey" value="TransactionKey"/>
6+
<add key="MerchantHash" value="MERCHANT_HASH"/>
7+
</appSettings>
8+
<connectionStrings/>
9+
<!--
10+
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
11+
12+
The following attributes can be set on the <httpRuntime> tag.
13+
<system.Web>
14+
<httpRuntime targetFramework="4.5" />
15+
</system.Web>
16+
-->
17+
<system.web>
18+
<!--
2419
Set compilation debug="true" to insert debugging
2520
symbols into the compiled page. Because this
2621
affects performance, set this value to true only
2722
during development.
2823
-->
29-
<compilation debug="false">
30-
<assemblies>
31-
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
32-
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
33-
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
34-
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
35-
</assemblies>
36-
</compilation>
37-
<!--
24+
<compilation debug="false" targetFramework="4.5"/>
25+
<!--
3826
The <authentication> section enables configuration
3927
of the security authentication mode used by
4028
ASP.NET to identify an incoming user.
4129
-->
42-
<authentication mode="Windows"/>
43-
<!--
30+
<authentication mode="Windows"/>
31+
<!--
4432
The <customErrors> section enables configuration
4533
of what to do if/when an unhandled error occurs
4634
during the execution of a request. Specifically,
@@ -52,62 +40,10 @@
5240
<error statusCode="404" redirect="FileNotFound.htm" />
5341
</customErrors>
5442
-->
55-
<pages>
56-
57-
<controls>
58-
59-
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
60-
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
61-
</controls>
62-
</pages>
63-
<httpHandlers>
64-
<remove verb="*" path="*.asmx"/>
65-
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
66-
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
67-
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
68-
</httpHandlers>
69-
<httpModules>
70-
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
71-
</httpModules>
72-
</system.web>
73-
<system.codedom>
74-
<compilers>
75-
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
76-
<providerOption name="CompilerVersion" value="v3.5"/>
77-
<providerOption name="WarnAsError" value="false"/>
78-
</compiler>
79-
</compilers>
80-
</system.codedom>
81-
<!--
43+
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
44+
</system.web>
45+
<!--
8246
The system.webServer section is required for running ASP.NET AJAX under Internet
8347
Information Services 7.0. It is not necessary for previous version of IIS.
8448
-->
85-
<system.webServer>
86-
<validation validateIntegratedModeConfiguration="false"/>
87-
<modules>
88-
<remove name="ScriptModule"/>
89-
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
90-
</modules>
91-
<handlers>
92-
<remove name="WebServiceHandlerFactory-Integrated"/>
93-
<remove name="ScriptHandlerFactory"/>
94-
<remove name="ScriptHandlerFactoryAppServices"/>
95-
<remove name="ScriptResource"/>
96-
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
97-
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
98-
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
99-
</handlers>
100-
</system.webServer>
101-
<runtime>
102-
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
103-
<dependentAssembly>
104-
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
105-
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
106-
</dependentAssembly>
107-
<dependentAssembly>
108-
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
109-
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
110-
</dependentAssembly>
111-
</assemblyBinding>
112-
</runtime>
113-
</configuration>
49+
</configuration>

0 commit comments

Comments
 (0)