摘要: Vue.use(ELEMENT, { size: 'small' }); 阅读全文
posted @ 2020-07-23 10:23 Aaron_Net 阅读(101) 评论(0) 推荐(0) 编辑
摘要: Framework 4.5 M> Install-Package AutoMapper -Version 7.0.1 Application_Start //初始化配置AutoMapper AutoMapper.Mapper.Initialize((cfg) => { cfg.AddProfile< 阅读全文
posted @ 2020-07-21 14:38 Aaron_Net 阅读(158) 评论(0) 推荐(0) 编辑
摘要: public static DataTable ToDataTable<T>(IList<T> list, params string[] propertyName) { List<string> propertyNameList = new List<string>(); if (property 阅读全文
posted @ 2020-07-15 10:05 Aaron_Net 阅读(288) 评论(0) 推荐(0) 编辑
摘要: watch: { headerMenu: function () { var _this = this; _this.$nextTick(function () { }); } }, watch 在created 加载后 headerMenu 变化检测 配合nexttick 阅读全文
posted @ 2020-07-10 10:26 Aaron_Net 阅读(164) 评论(0) 推荐(0) 编辑
摘要: [HttpGet] public IActionResult GetFile(string filepath) { if (string.IsNullOrEmpty(filepath)) filepath = "D:\\ABC.log"; var provider = new FileExtensi 阅读全文
posted @ 2020-07-09 17:40 Aaron_Net 阅读(204) 评论(0) 推荐(0) 编辑
摘要: Resources-Areas-xxxx-Views-qq-zz.zh-CN.resx Resources-Areas-xxxx-Views-qq-zz.en-US.resx Resources-Areas-xxxx-qqController.zh-CN.resx Resources-Areas-x 阅读全文
posted @ 2020-07-09 09:42 Aaron_Net 阅读(165) 评论(0) 推荐(0) 编辑
摘要: net core 3.1 area app.UseEndpoints(endpoints => { endpoints.MapControllerRoute( name: "default", pattern: "{controller=Home}/{action=Index}/{id?}"); e 阅读全文
posted @ 2020-07-08 16:12 Aaron_Net 阅读(264) 评论(0) 推荐(0) 编辑
摘要: public class xxxContext : DbContext public static readonly ILoggerFactory MyLoggerFactory = LoggerFactory.Create(builder => { builder .AddFilter((cate 阅读全文
posted @ 2020-07-04 15:53 Aaron_Net 阅读(205) 评论(0) 推荐(0) 编辑
摘要: Install-Package Microsoft.EntityFrameworkCore.SqlServer Install-Package Microsoft.EntityFrameworkCore.Design Install-Package Microsoft.EntityFramework 阅读全文
posted @ 2020-07-03 17:52 Aaron_Net 阅读(182) 评论(0) 推荐(0) 编辑
摘要: Install-Package Dapper -Version 1.50.5 Install-Package Oracle.ManagedDataAccess.Core -Version 2.12.0-beta2 appsettings.json "ConnectionStrings": { "Em 阅读全文
posted @ 2020-07-03 14:46 Aaron_Net 阅读(188) 评论(0) 推荐(0) 编辑