会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
王杰轲
需要梦想,即使遥远。
博客园
首页
新随笔
联系
订阅
管理
2020年4月22日
asp.net core web api + Element-UI的Vue管理后台
摘要: 后端:asp.net core web api + EF Core 前端:VUE + Element-UI+ Node环境的后台管理系统 数据库:SQL Server2017 服务器:阿里云服务器 线上地址:http://www.wangjk.wang 账号:admin 密码:123 API文档地址
阅读全文
posted @ 2020-04-22 18:05 王杰轲
阅读(4770)
评论(19)
推荐(5)
2018年8月9日
asp.net core webapi Session 内存缓存
摘要: Startup.cs文件中的ConfigureServices方法配置: #region Session内存缓存 services.Configure<CookiePolicyOptions>(options => { options.CheckConsentNeeded = context =>
阅读全文
posted @ 2018-08-09 15:36 王杰轲
阅读(2549)
评论(0)
推荐(1)
asp.net core webapi 配置跨域处理
摘要: 在Startup.cs文件中的ConfigureServices方法中加入如下代码: //配置跨域处理 services.AddCors(options => { options.AddPolicy("any", builder => { builder.AllowAnyOrigin() //允许任
阅读全文
posted @ 2018-08-09 15:34 王杰轲
阅读(2322)
评论(0)
推荐(0)
asp.net core webapi Session 跨域
摘要: 在ajax 请求是也要加相应的东西 $.ajax({ url:url, //加上这句话 xhrFields: { withCredentials: true } success:function(result){ alert("test"); }, error:function(){ } }); w
阅读全文
posted @ 2018-08-09 15:28 王杰轲
阅读(1611)
评论(18)
推荐(1)
公告