微服务

Posted netqq

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了微服务相关的知识,希望对你有一定的参考价值。

1、consul

2、Gateway->Ocelot

3、服务治理 Steeltoe.Discovery.ClientCore 

4、缓存 CSRedisCore

5、服务调用 Feign.net 一套

6、日志 NLog

7、接口文档组件 Swashbukle.AspNetCore

8、Skywalking分布式链路追踪系统

在iis中部署需要配置环境变量 。在web.config中节点配置

  <aspNetCore processPath="dotnet" arguments=".xxxAPI.dll" stdoutLogEnabled="false" stdoutLogFile=".logsstdout" hostingModel="InProcess">
       <environmentVariables>
                    <environmentVariable name="ASPNETCORE_HOSTINGSTARTUPASSEMBLIES" value="SkyAPM.Agent.AspNetCore" />
                    <environmentVariable name="SKYWALKING__SERVICENAME" value="xxxAPI" />
                </environmentVariables>
    </aspNetCore>
    </system.webServer>

 

 

缺失  sql 输出

日志监控

以上是关于微服务的主要内容,如果未能解决你的问题,请参考以下文章