# gt.Microservice **Repository Path**: gt1987/gt.Microservice ## Basic Information - **Project Name**: gt.Microservice - **Description**: 微服务架构示例+.net core样例代码。用于学习使用。 - **Primary Language**: C# - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 9 - **Forks**: 2 - **Created**: 2019-12-23 - **Last Updated**: 2025-10-16 ## Categories & Tags **Categories**: sample-code **Tags**: None ## README # gt.Microservice #### 介绍 微服务架构示例+.net core样例代码。用于学习使用。 #### 软件架构 采用ocelot 作为ApiGateway 采用is4作为认证授权模块,支持client_credentials,password认证 #### gt.UserInfo gt.UserInfo 提供用户注册、信息查询等相关服务 1.使用领域驱动模型设计,采用”洋葱圈“架构,集成ef6 2.增加automapper支持 3.增加版本控制模块 4.第三方IOC组件支持,引入Autofac 5.全局log记录,引入NLog 6.引入全局ApiLog和ExceptionLog记录 7.引入全局统一返回对象 #### gt.ShortMessag 提供了一种独立短信验证码验证机制接口 提供API统一返回对象处理机制,包括BusinessException异常情况返回