上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 56 下一页
摘要: /// <summary> /// 获得header信息 /// </summary> /// <param name="response"></param> private void GetHeader(HttpResponseMessage response) { var headers = r 阅读全文
posted @ 2018-03-06 10:47 Lulus 阅读(1294) 评论(0) 推荐(0)
摘要: 在Startup的ConfigureServices()中添加services.AddCors()在Startup的Configure()中添加app.UseCors(); 保证其在app.UseMvc();之前 app.UseCors(builder => builder .AllowAnyOri 阅读全文
posted @ 2018-03-02 10:25 Lulus 阅读(3996) 评论(0) 推荐(2)
摘要: 绑定类型 绑定类型可以按照数据流的方向分为三类:从源到视图,从视图到源,以及双向序列 示例 <!-- Bind button disabled state to `isUnchanged` property --> <button [disabled]="isUnchanged">Save</but 阅读全文
posted @ 2018-03-01 15:26 Lulus 阅读(1732) 评论(0) 推荐(0)
摘要: 安装Node 先去Node官网下载并安装Node.js Install the Angular CLI(安装Angular CLI) Create a new application(创建新项目) Serve the application(启动项目) Create the component(创建 阅读全文
posted @ 2018-03-01 15:25 Lulus 阅读(1271) 评论(0) 推荐(0)
摘要: 双花括号{{}} 展示数据 title = 'Tour of Heroes'; myHero = 'Windstorm'; <h1>{{title}}</h1> <h2>My favorite hero is: {{myHero}}</h2> *ngFor 展示列表 heroes = ['Winds 阅读全文
posted @ 2018-03-01 15:25 Lulus 阅读(1557) 评论(0) 推荐(0)
摘要: 双花括号{{}} <img src="{{heroImageUrl}}" style="height:30px"> <!-- "The sum of 1 + 1 is 2" --> <p>The sum of 1 + 1 is {{1 + 1}}</p> <!-- "The sum of 1 + 1 阅读全文
posted @ 2018-03-01 15:25 Lulus 阅读(584) 评论(0) 推荐(0)
摘要: 解决方案 使用现成的基于windows的redis程序 github上有许多封装好的基于windows的redis程序,可以直接使用,但是版本更新不及时比如: 安装Linux Bash Shell How to Install and Use the Linux Bash Shell on Wind 阅读全文
posted @ 2018-02-12 10:01 Lulus 阅读(1556) 评论(0) 推荐(0)
摘要: 实现效果 运用WPF的DoubleAnimation实现桌面端的弹幕效果 示例代码 https://github.com/zLulus/BarrageDemo 阅读全文
posted @ 2018-02-11 13:51 Lulus 阅读(1949) 评论(0) 推荐(0)
摘要: 盛派SDK http://sdk.weixin.senparc.com/服务号/订阅号均可以通过appId/token读取用户信息,但必须是关注自己的用户 通过token读取用户信息 //检查是否已经注册 if (!AccessTokenContainer.CheckRegistered(appId 阅读全文
posted @ 2018-02-08 10:05 Lulus 阅读(839) 评论(0) 推荐(0)
摘要: 为了强制更新文件,取消浏览器缓存 <link rel="stylesheet" href="~/XXX.css?time='+new Date().getTime()+'"> <script src="~/XXX.js?time='+new Date().getTime()+'"></script> 阅读全文
posted @ 2018-02-06 14:37 Lulus 阅读(3825) 评论(0) 推荐(0)
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 56 下一页