随笔分类 - net core mvc C#
摘要://使用MVC app.UseMvc(routes => { routes.MapRoute( name: "areas", template: "{area:exists}/{controller=Home}/{action=Index}/{id?}" ); routes.MapRoute( na
阅读全文
摘要:public static class A { private static readonly MethodInfo GetServiceInfo; public static IApplicationBuilder My_UseStaticFiles(this IApplicationBuilde
阅读全文
摘要:using Microsoft.AspNetCore.Http; using System.Globalization; using System.Threading.Tasks; namespace Culture { public class tets { //调用我的自定义类 public v
阅读全文
摘要:出处: https://www.cnblogs.com/intotf/p/10189665.html app.UseMvc(routes => { routes.MapRoute( name: "default", template: "{co...
阅读全文
摘要:public static IWebHostBuilder CreateWebHostBuilder(string[] args) => WebHost.CreateDefaultBuilder(args) .UseStartup<Startup>(); public static IWebHost
阅读全文
摘要:出处 :https://www.cnblogs.com/damsoft/p/9529525.html
阅读全文
摘要:/* IFormFileCollection Files 再Request对象下的From对象下的Files对象 public interface IFormFileCollection : IReadOnlyList, IEnumerable, IEnumerable, IReadOnlyCollection publ...
阅读全文