Skip to content

Commit abd20b5

Browse files
committed
Remove newtonsoft dependency and update mvc.core
1 parent 9cddc8a commit abd20b5

3 files changed

Lines changed: 18 additions & 20 deletions

File tree

‎src/SoapCore.Tests/SoapCore.Tests.csproj‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
4444
<PackageReference Include="MSTest.TestAdapter" Version="3.8.2" />
4545
<PackageReference Include="MSTest.TestFramework" Version="3.8.2" />
46-
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
4746
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
4847
<PrivateAssets>all</PrivateAssets>
4948
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>

‎src/SoapCore/SoapCore.csproj‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
</ItemGroup>
3030

3131
<ItemGroup Condition="$(TargetFramework) == 'netstandard2.0' OR $(TargetFramework) == 'netstandard2.1'">
32-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.3.0" />
32+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.3.9" />
3333
<PackageReference Include="System.CodeDom" Version="9.0.2" />
3434
<PackageReference Include="System.ServiceModel.Http" Version="8.1.1" />
35-
<PackageReference Include="Microsoft.AspNetCore.Connections.Abstractions" Version="9.0.2" />
36-
<PackageReference Include="System.Text.Json" Version="10.0.1" />
35+
<PackageReference Include="Microsoft.AspNetCore.Connections.Abstractions" Version="9.0.*" />
36+
<PackageReference Include="System.Text.Json" Version="10.0.*" />
3737
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="6.0.*" />
3838
</ItemGroup>
3939
<ItemGroup Condition="$(TargetFramework) == 'net8.0'">
@@ -57,7 +57,6 @@
5757
</ItemGroup>
5858

5959
<ItemGroup>
60-
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
6160
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
6261
<PrivateAssets>all</PrivateAssets>
6362
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>

‎src/SoapCore/WSDLFileOptions.cs‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using Microsoft.AspNetCore.Http;
4-
5-
namespace SoapCore
6-
{
7-
public class WsdlFileOptions
8-
{
9-
public virtual Dictionary<string, WebServiceWSDLMapping> WebServiceWSDLMapping { get; set; } = new Dictionary<string, WebServiceWSDLMapping>();
10-
public string UrlOverride { get; set; }
11-
public string SchemeOverride { get; set; }
12-
public string VirtualPath { get; set; }
13-
public string AppPath { get; set; }
14-
public Func<WsdlFileOptions, HttpContext, string> UrlOverrideFunc { get; set; }
15-
}
1+
using System;
2+
using System.Collections.Generic;
3+
using Microsoft.AspNetCore.Http;
4+
5+
namespace SoapCore
6+
{
7+
public class WsdlFileOptions
8+
{
9+
public virtual Dictionary<string, WebServiceWSDLMapping> WebServiceWSDLMapping { get; set; } = new Dictionary<string, WebServiceWSDLMapping>();
10+
public string UrlOverride { get; set; }
11+
public string SchemeOverride { get; set; }
12+
public string VirtualPath { get; set; }
13+
public string AppPath { get; set; }
14+
public Func<WsdlFileOptions, HttpContext, string> UrlOverrideFunc { get; set; }
15+
}
1616
}

0 commit comments

Comments
 (0)