Skip to content

Conversation

@zhenlei520
Copy link
Contributor

@zhenlei520 zhenlei520 commented Apr 2, 2022

Chore

Docs

Refactor

Test

@zhenlei520 zhenlei520 requested a review from doddgu April 2, 2022 03:22
Copy link
Contributor

@doddgu doddgu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

* 环境默认提供了7个解析器,执行顺序为:HttpContextItemParserProvider、QueryStringParserProvider、FormParserProvider、RouteParserProvider、HeaderParserProvider、CookieParserProvider、EnvironmentVariablesParserProvider (获取系统环境变量中的参数,默认环境隔离的参数:ASPNETCORE_ENVIRONMENT)
* HttpContextItemParserProvider: 通过请求的HttpContext的Items属性获取租户信息
* QueryStringParserProvider: 通过请求的QueryString获取环境信息
* https://github.com/masastack?ASPNETCORE_ENVIRONMENT=dev (环境信息是dev)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dev -> development?

Copy link
Contributor Author

@zhenlei520 zhenlei520 Apr 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default development environment is development, here is an example, abbreviated

@doddgu doddgu merged commit a024d11 into main Apr 7, 2022
@zhenlei520 zhenlei520 deleted the feature/isolation branch April 7, 2022 11:30
@zhenlei520 zhenlei520 mentioned this pull request Apr 18, 2022
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants