上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 63 下一页
  2020年10月29日
摘要: 官网:https://vuex.vuejs.org/zh/VueX流程:Vue Compontents》dispatch》Actions(Backend API)》commit》Mutation》Mutate》State》Vue Compontents1.安装vuex:https://vuex.vu 阅读全文
posted @ 2020-10-29 12:59 邢帅杰 阅读(410) 评论(0) 推荐(0)
  2020年10月26日
摘要: 1.NuGet安装StackExchange.Redis,如果已经用了Microsoft.Extensions.Caching.Redis的话,就安装StackExchange.Redis.StrongNameStartUp.cs注入服务:services.AddSingleton<IConnect 阅读全文
posted @ 2020-10-26 11:34 邢帅杰 阅读(363) 评论(0) 推荐(0)
  2020年10月22日
摘要: 1.MemoryCache 服务器端缓存添加服务:services.AddMemoryCache();使用:注入IMemoryCache _memoryCache; var cityList = new List<City>(); if (!_memoryCache.TryGetValue("cit 阅读全文
posted @ 2020-10-22 10:06 邢帅杰 阅读(309) 评论(0) 推荐(0)
  2020年10月21日
摘要: 代码: using Microsoft.AspNetCore.Razor.TagHelpers; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; name 阅读全文
posted @ 2020-10-21 11:42 邢帅杰 阅读(331) 评论(1) 推荐(0)
  2020年10月20日
摘要: 代码: //配置所有POST请求都加入 ValidateAntiforgeryToken 验证 services.AddAntiforgery(options => { options.FormFieldName = "AntiforgeryFieldName"; options.HeaderNam 阅读全文
posted @ 2020-10-20 17:00 邢帅杰 阅读(225) 评论(0) 推荐(0)
  2020年10月19日
摘要: 1.注册策略、使用Claim services.AddAuthorization(options => { options.AddPolicy("AlbumEdit", policy => { policy.RequireClaim("AlbumEditClaim"); }); }); [Autho 阅读全文
posted @ 2020-10-19 17:20 邢帅杰 阅读(900) 评论(0) 推荐(0)
摘要: StartUp.cs using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identit 阅读全文
posted @ 2020-10-19 15:04 邢帅杰 阅读(490) 评论(0) 推荐(0)
  2020年10月13日
摘要: 视频教程:https://www.bilibili.com/video/BV1zt411e7oc?p=1日志功能:https://blog.csdn.net/weixin_43847283/article/details/1257008211.IConfiguration configuration 阅读全文
posted @ 2020-10-13 14:15 邢帅杰 阅读(428) 评论(0) 推荐(0)
  2020年9月22日
摘要: 小星星 /**细灰边框*/ .TextBoxThin { width: 100px; line-height: 45px; height: 45px; font-size: 18px; padding-left: 5px; padding-right: 5px; vertical-align: mi 阅读全文
posted @ 2020-09-22 18:06 邢帅杰 阅读(293) 评论(0) 推荐(0)
摘要: code:https://www.cnblogs.com/myprogramer/p/11528131.html function changeNumMoneyToChinese(money) { var cnNums = new Array("零", "壹", "贰", "叁", "肆", "伍" 阅读全文
posted @ 2020-09-22 14:09 邢帅杰 阅读(373) 评论(0) 推荐(0)
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 63 下一页