随笔分类 -  net core mvc C#

摘要://使用MVC app.UseMvc(routes => { routes.MapRoute( name: "areas", template: "{area:exists}/{controller=Home}/{action=Index}/{id?}" ); routes.MapRoute( na 阅读全文
posted @ 2019-12-20 16:18 enych 阅读(722) 评论(0) 推荐(0) 编辑
摘要:public static class A { private static readonly MethodInfo GetServiceInfo; public static IApplicationBuilder My_UseStaticFiles(this IApplicationBuilde 阅读全文
posted @ 2019-11-30 10:51 enych 阅读(1252) 评论(0) 推荐(0) 编辑
摘要:using Microsoft.AspNetCore.Http; using System.Globalization; using System.Threading.Tasks; namespace Culture { public class tets { //调用我的自定义类 public v 阅读全文
posted @ 2019-11-28 14:23 enych 阅读(903) 评论(1) 推荐(0) 编辑
摘要:出处: https://www.cnblogs.com/intotf/p/10189665.html app.UseMvc(routes => { routes.MapRoute( name: "default", template: "{co... 阅读全文
posted @ 2019-10-25 16:42 enych 阅读(277) 评论(0) 推荐(0) 编辑
摘要:public static IWebHostBuilder CreateWebHostBuilder(string[] args) => WebHost.CreateDefaultBuilder(args) .UseStartup<Startup>(); public static IWebHost 阅读全文
posted @ 2019-10-25 14:09 enych 阅读(30521) 评论(0) 推荐(0) 编辑
摘要:出处 :https://www.cnblogs.com/damsoft/p/9529525.html 阅读全文
posted @ 2019-10-24 17:40 enych 阅读(629) 评论(0) 推荐(0) 编辑
摘要:/* IFormFileCollection Files 再Request对象下的From对象下的Files对象 public interface IFormFileCollection : IReadOnlyList, IEnumerable, IEnumerable, IReadOnlyCollection publ... 阅读全文
posted @ 2019-09-10 16:25 enych 阅读(542) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示