XFEExtension.NetCore.ServerInteractive
[DLL] Server interaction extension, including user identity verification and querying in conjunction with AutoConfig
关注
0
Fork
0
Star
0
返回提交历史
Modified
XFEExtension.NetCore.ServerInteractive.Test/Program.cs
+2
-2
Modified
XFEExtension.NetCore.ServerInteractive/XFEExtension.NetCore.ServerInteractive.csproj
+3
-13
XFEstudio/XFEExtension.NetCore.ServerInteractive
更新框架引用
3b6949a
代码差异
2 个文件
+5
-15
@@ -64,13 +64,13 @@ internal class Program
64
64
#region 基础测试
65
65
66
66
[SMTest]
67
public static async Task TestGET()
67
public static async Task TestPOST()
68
68
{
69
69
using var client = new HttpClient
70
70
{
71
71
BaseAddress = new Uri("http://localhost:3305/api/")
72
72
};
73
var response = await client.GetAsync("v1/test/myTest/test2");
73
var response = await client.PostAsync("v1/test/myTest/test2/test5/test6",new StringContent("test"));
74
74
if (response.IsSuccessStatusCode)
75
75
{
76
76
var content = await response.Content.ReadAsStringAsync();
@@ -5,7 +5,7 @@
5
5
<ImplicitUsings>enable</ImplicitUsings>
6
6
<Nullable>enable</Nullable>
7
7
<GenerateDocumentationFile>True</GenerateDocumentationFile>
8
<Version>3.0.2</Version>
8
<Version>3.0.3</Version>
9
9
<Title>XFEExtension.NetCore.ServerInteractive</Title>
10
10
<RepositoryUrl>https://github.com/XFEstudio/XFEExtension.NetCore.ServerInteractive</RepositoryUrl>
11
11
<AnalysisLevel>latest</AnalysisLevel>
@@ -21,13 +21,7 @@
21
21
<PackageReleaseNotes>
22
22
## 调整
23
23
24
路由匹配优化与错误提示增强,版本升级至3.0.2
25
26
- TestCoreService 路由支持通配符,返回内容更丰富,便于调试
27
- Program.cs 批量注释 SMTest,调整测试路由与服务端一致
28
- RouteMatchHelper 移除长度限制,提升通配符路由灵活性
29
- ServerCoreExceptionProcessService 针对未注册路由返回更友好错误信息
30
- 项目版本号升级至 3.1.0,标志重要功能完善
24
更新框架引用
31
25
32
26
## 新增
33
27
@@ -63,11 +57,7 @@
63
57
<PackageReference Include="XFEExtension.NetCore" Version="4.2.*" />
64
58
<PackageReference Include="XFEExtension.NetCore.AutoConfig" Version="2.0.*" />
65
59
<PackageReference Include="XFEExtension.NetCore.AutoImplement" Version="1.1.*" />
66
<PackageReference Include="XFEExtension.NetCore.XFEConsole" Version="2.1.0" />
67
</ItemGroup>
68
69
<ItemGroup>
70
<ProjectReference Include="..\XFEExtension.NetCore.ServerInteractive.SourceGenerator\XFEExtension.NetCore.ServerInteractive.SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
60
<PackageReference Include="XFEExtension.NetCore.XFEConsole" Version="2.2.*" />
71
61
</ItemGroup>
72
62
73
63
<ItemGroup>