
Framework4.0
一直学习
这个作者很懒,什么都没留下…
展开
-
ASP.NET 4.0 缓存机制
ASP.NET 4 缓存输出缓存提供程序的配置设置(AppFabric 1.1 缓存) http://msdn.microsoft.com/zh-cn/library/hh361708 在 ASP.NET 中构建和使用自定义的 OutputCache 提供程序 http://msdn.microsoft.com/zh-cn/magazine/gg650661.aspx AS原创 2011-12-31 05:34:47 · 984 阅读 · 0 评论 -
WCF和Entity framework 发现的性能问题(转)
最近在用entity framework 和 WCF结合做服务端,偶然发现一个问题,就是数据传输对象(DTO)的容量问题,我的项目方案是把数据访问层封装为WCF部署在外网服务器上供客户端调 用.我发现传输速度没有想象的那么好,简直就是不堪入目,终于有一天我发现问题的所在,就是edmx生成的实体类和自己手写实体类的区别,我用 District这张表来做演示,表中一共有5个字段,废话不多说,先看一代码转载 2013-05-14 17:07:25 · 2121 阅读 · 2 评论 -
Calling a Web API From a .NET Client (C#)
This tutorial shows how to call a web API from a console application, using HttpClient. In this tutorial, we will consume the "ProductStore" API, described in Creating a Web API that Supports C转载 2013-08-09 10:12:19 · 5172 阅读 · 0 评论 -
SQL Server 数据类型映射
.NET Framework 4.5 其他版本 此主题尚未评级 - 评价此主题 SQL Server 和 .NET Framework 基于不同的类型系统。 例如,.NET Framework Decimal 结构的最大小数位数为 28,而 SQL Server 的 decimal 和 numeric 数据类型的最大小数位数为 38。 为了转载 2013-11-04 15:53:33 · 1174 阅读 · 0 评论