使用 gRPC 实现购物车服务
This commit is contained in:
1 parent
49f2796cc2
commit
c192d209fd
27 files changed
+368
-53
No files matched your search
@@ -22,7 +22,7 @@ namespace HelloShop.ServiceDefaults.Extensions
|
||||
|
||||
services.Configure<SwaggerUIOptions>(options =>
|
||||
{
|
||||
options.DocumentTitle = Assembly.GetExecutingAssembly().GetName().Name;
|
||||
options.DocumentTitle = Assembly.GetEntryAssembly()?.GetName().Name;
|
||||
options.InjectStylesheet("/ServiceDefaults/Resources/OpenApi/Custom.css");
|
||||
});
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<FrameworkReference Include="Microsoft.AspNetCore.App" />
|
||||
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="8.6.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.ServiceDiscovery" Version="8.0.1" />
|
||||
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="8.7.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.ServiceDiscovery" Version="8.0.2" />
|
||||
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.9.0" />
|
||||
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.9.0" />
|
||||
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.9.0" />
|
||||
|
||||
Reference in new issue
Block a user