This commit is contained in:
杨毅 2024-10-19 21:01:07 +08:00
parent b8b1c59875
commit 814624c36f
5 changed files with 27 additions and 0 deletions

View File

@ -12,6 +12,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "解决方案项", "解决
main.md = main.md
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "asg_form.ServiceDefaults", "asg_form.ServiceDefaults\asg_form.ServiceDefaults.csproj", "{01C5D56B-F869-4305-B338-8B29331A49CD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -22,6 +24,10 @@ Global
{6BBCCC2C-1B0A-4456-B9E5-B0EF2B156D8B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6BBCCC2C-1B0A-4456-B9E5-B0EF2B156D8B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6BBCCC2C-1B0A-4456-B9E5-B0EF2B156D8B}.Release|Any CPU.Build.0 = Release|Any CPU
{01C5D56B-F869-4305-B338-8B29331A49CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{01C5D56B-F869-4305-B338-8B29331A49CD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{01C5D56B-F869-4305-B338-8B29331A49CD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{01C5D56B-F869-4305-B338-8B29331A49CD}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View File

@ -174,6 +174,7 @@ services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
IssuerSigningKey = secKey
};
});
builder.Services.AddApplicationInsightsTelemetry();
var app = builder.Build();

View File

@ -7,6 +7,10 @@
"type": "mssql",
"connectionId": "ConnectionStrings",
"dynamicId": null
},
"appInsights1": {
"type": "appInsights",
"connectionId": null
}
}
}

View File

@ -0,0 +1,10 @@
{
"dependencies": {
"appInsights1": {
"secretStore": null,
"resourceId": null,
"type": "appInsights.sdk",
"connectionId": null
}
}
}

View File

@ -27,6 +27,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Azure.Identity" Version="1.12.0" />
<PackageReference Include="ChatGPT.Net" Version="2.0.0" />
<PackageReference Include="EntityFrameworkCore.DataEncryption" Version="5.0.0" />
<PackageReference Include="Flandre.Adapters.OneBot.Extensions" Version="2.0.0-rc.3" />
@ -37,6 +38,7 @@
<PackageReference Include="MailKit" Version="4.3.0" />
<PackageReference Include="Masuit.Tools.Abstractions" Version="2024.5.8" />
<PackageReference Include="Masuit.Tools.Excel" Version="1.2.8" />
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.22.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="8.0.0" />
@ -77,6 +79,10 @@
<ContainerPort Include="8081" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\asg_form.ServiceDefaults\asg_form.ServiceDefaults.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="Dockerfile">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>