你的位置: 码友网首页 / 资讯源列表 / Simplified Options usage in ASP.NET Core 2+

关于[Simplified Options usage in ASP.NET Core 2+]的摘要:

We all had at one time the need to have configuration data to consume some of them in our ASP.NET Core application. In general we used the Options pattern as described in the Microsoft documentation. We will in this article see how to do slightly different to actually simplify the use of this pattern. The scenario below works only if your options will never change (singleton usage).

原文地址: http://anthonygiretti.com/2019/09/15/simplified-options-usage-in-asp-net-core-2/

收录时间: 2019-09-17 浏览量: 1713 分类: ASP.NET Core

| 0 收藏 | 0