会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
兴杰(stooges.com.my)
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
59
60
61
62
63
64
65
66
67
···
71
下一页
2016年3月23日
MVC route 和 Angular router 单页面的一些方式
摘要: 直接看代码和注释吧 ASP.NET MVC router ASP.NET Controller 这里可以注意一点,如果使用了 AttributeRoute , routeMap 就不灵了, cshtml Angular 注意 angular 和 base 的冲突
阅读全文
posted @ 2016-03-23 18:16 兴杰
阅读(691)
评论(0)
推荐(0)
2016年1月22日
Visual Studio 2015 Owin+MVC+WebAPI+ODataV4+EntityFrawork+Identity+Oauth2.0+AngularJS 1.x 学习笔记之"坑"
摘要: 1.AngularJS route 与 MVC routehttp://www.cnblogs.com/usea/p/4211989.htmlpublic class SingleRoute : RouteBase{ public override RouteData GetRouteData...
阅读全文
posted @ 2016-01-22 12:03 兴杰
阅读(442)
评论(0)
推荐(0)
2016年1月21日
Visual Studio 2015 Owin+MVC+WebAPI+ODataV4+EntityFrawork+Identity+Oauth2.0+AngularJS 1.x 学习笔记
摘要: 2016年,.net 会有很多大更新 ASP.NET 5 在此之前我都是用着古老的.net做开发的 (WebForm + IIS) 为了接下来应对 .net 的新功能,我特地去学习了一下基本的 MVC Owin 等等. 接下来我会针对主题写一些学习笔记. Setup startup Owin + M
阅读全文
posted @ 2016-01-21 11:44 兴杰
阅读(842)
评论(0)
推荐(0)
2015年11月28日
游览器保存密码和自动填充密码的困惑 (browser save password and auto fill password )
摘要: 原文 refer :http://www.cnblogs.com/happyfreelife/p/4240100.html当一个带有username and password 的表单被提交, 游览器会智能的询问用户是否要保存密码。 如果开发人员不希望这“智能”的事儿,可以使用ajax去提交表单,这样...
阅读全文
posted @ 2015-11-28 09:33 兴杰
阅读(386)
评论(1)
推荐(0)
2015年11月13日
SQL basic
摘要: 更新: 2021-05-13 convert int to am pm https://stackoverflow.com/questions/38329899/convert-integer-value-into-hour-value-am-pm-in-sql-server/38330108#38
阅读全文
posted @ 2015-11-13 20:32 兴杰
阅读(583)
评论(0)
推荐(0)
2015年10月30日
ui router digest 10 time
摘要: refer :https://github.com/angular-ui/ui-router/issues/600$urlRouterProvider.when("/", "/companys") redirect to companys 时,如果被 onStateChange 拦截并且 preve...
阅读全文
posted @ 2015-10-30 18:44 兴杰
阅读(214)
评论(0)
推荐(0)
2015年10月15日
HttpCookie
摘要: 参考 :http://www.cnblogs.com/fish-li/archive/2011/07/03/2096903.html上文结尾有提到一个说法4. HttpRequest.Cookies 与 HttpResponse.Cookies 会有关系(很奇怪吧)。微软官网也是这么说的 :http...
阅读全文
posted @ 2015-10-15 09:36 兴杰
阅读(265)
评论(0)
推荐(0)
2015年9月14日
web api 2 学习笔记 (OData Batch request)
摘要: 之前介绍过OData 中实现RPC的写法,今天在来一个批量操作。参考 :https://damienbod.wordpress.com/2014/08/14/web-api-odata-v4-batching-part-10/http://www.odata.org/getting-started/...
阅读全文
posted @ 2015-09-14 09:49 兴杰
阅读(1422)
评论(0)
推荐(0)
2015年9月9日
$provide.decorator
摘要: $provide.decorator 是angular 提供的一个功能。目的是让我们可以扩展或装修我们的服务.var app = angular.module("app", []);app.factory("firstService", function () { return { ...
阅读全文
posted @ 2015-09-09 20:59 兴杰
阅读(541)
评论(0)
推荐(0)
2015年8月20日
Entity Framewor 学习笔记 (碎碎的东西)
摘要: 看到了吧,可以返回一个 Detached 的Entity, 可以帮助提升性能. [NotMapped] prop不要map to sql [DatabaseGenerated(DatabaseGeneratedOption.Computed)] //让sql来generate value [Conc
阅读全文
posted @ 2015-08-20 00:16 兴杰
阅读(209)
评论(0)
推荐(0)
上一页
1
···
59
60
61
62
63
64
65
66
67
···
71
下一页
公告