mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Add Azure Application Insights.
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
<PackageReference Include="ChoPGP" Version="1.0.1.2" />
|
||||
<PackageReference Include="MailKit" Version="2.7.0" />
|
||||
<PackageReference Include="Markdig" Version="0.20.0" />
|
||||
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.14.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="3.0.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="3.0.0" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.0.0" />
|
||||
|
||||
@@ -32,6 +32,8 @@ namespace Aaru.Server
|
||||
options.User.RequireUniqueEmail = true;
|
||||
}).AddEntityFrameworkStores<AaruServerContext>();
|
||||
|
||||
services.AddApplicationInsightsTelemetry();
|
||||
|
||||
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_3_0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user