如何绑定网站域名,搜索网站入口,wordpress wdcp 伪静态,福建建设厅官网文章目录项目地址一、Ticketing模块拆分1.1 创建web api1. 添加引用2. 添加需要的包和配置3. program.cs4. docker-compose修改项目地址
教程作者#xff1a;教程地址#xff1a; 代码仓库地址#xff1a; 所用到的框架和插件#xff1a;
dbt
airflow一、Ticketing模块拆… 文章目录项目地址一、Ticketing模块拆分1.1 创建web api1. 添加引用2. 添加需要的包和配置3. program.cs4. docker-compose修改项目地址
教程作者教程地址 代码仓库地址 所用到的框架和插件
dbt
airflow一、Ticketing模块拆分
1.1 创建web api 1. 添加引用 ItemGroupProjectReference Include..\..\Modules\Ticketing\Evently.Modules.Ticketing.Infrastructure\Evently.Modules.Ticketing.Infrastructure.csproj //ItemGroup删除program.cs里没有用的服务
2. 添加需要的包和配置
Ticketing的webapi和Event.api一样直接复制粘贴 将Event.api里的appsettings复制到改web api只留下自己相关的 appsettings.development.json
{ConnectionStrings: {Database: Hostevently.database;Port5432;Databaseevently;Usernamepostgres;Passwordpostgres;Include Error Detailtrue,Cache: evently.redis:6379,Queue: amqp://evently-queue:5672},Authentication: {Audience: account,TokenValidationParameters: {ValidIssuers: [ http://evently.identity:8080/realms/evently, http://localhost:18080/realms/evently ]},MetadataAddress: http://evently.identity:8080/realms/evently/.well-known/openid-configuration,RequireHttpsMetadata: false},KeyCloak: {HealthUrl: http://evently.identity:8080/health/},Serilog: {Using: [Serilog.Sinks.Console,Serilog.Sinks.Seq],MinimumLevel: {Default: Information,Override: {Microsoft: Information,Evently.Modules.Ticketing.Infrastructure.Outbox: Warning,Evently.Modules.Ticketing.Infrastructure.Inbox: Warning}},WriteTo: [{ Name: Console },{Name: Seq,Args: { serverUrl: http://evently.seq:5341 }}],Enrich: [ FromLogContext, WithMachineName, WithThreadId ],Properties: {Application: Evently.Ticketing.Api}},OTEL_EXPORTER_OTLP_ENDPOINT: http://evently.jaeger:4317
}3. program.cs
删除所有需要其他模块的配置
4. docker-compose修改