随笔分类 - asp.net core 3.0 源码学习
asp.net core 学习
摘要:前面讲到ApplicationModel对象,那接下来看看ApplicationModel /// <summary> /// A model for configuring controllers in an MVC application. /// </summary> [DebuggerDis
阅读全文
摘要:我们先看下IApplicationBuilder接口的扩展方法UseMvc public static IApplicationBuilder UseMvc( this IApplicationBuilder app, Action<IRouteBuilder> configureRoutes) {
阅读全文
摘要:先看下如下的扩展方法 public static class GenericHostWebHostBuilderExtensions { public static IHostBuilder ConfigureWebHost(this IHostBuilder builder, Action<IWe
阅读全文
摘要:配置的实现在以Microsoft.Extensions.Configuration开头的Nuget包中,引入对应的nuget包就可以使用配置功能 Github地址:https://github.com/dotnet/extensions/tree/master/src/Configuration 一
阅读全文
浙公网安备 33010602011771号