摘要:
http://www.silverlight.net/archives/videos/openfiledialog-and-file-upload,视频地址,http://www.silverlight.net/learn/advanced-techniques/wcf-ria-servicessilverlight官网学习地址 阅读全文
摘要:
Download source files - 86.17 KBIntroductionThis article examines the implementation of upload and download functionality with progress indication (progress bar feature) using the Windows Communication Foundation. For this sample, you will need Visual Studio 2008.The sample code consists of three pr 阅读全文
摘要:
One of the more useful services that comes out of the box with .NET RIA Services is an authentication service. In fact, if you create an application using the Silverlight Business Application template it comes already wired up for use with the ASP.NET authentication system. Brad Abrams has a good wa 阅读全文
摘要:
Authentication is the third in a series of posts covering the key concepts of RIA Services using the Book Club application to digger deeper and go beyond the basics. Links to the first two posts on validation and authorization as well as an overview of the application/source code are at the end of t 阅读全文
摘要:
IntroductionIn this article, I’ll focus on the security capabilities of WCF RIA Services. Security is one of the areas where RIA Services took something that is vitally important to an application and can be very complex when using WCF on its own, and gave us a simple to use approach that covers 80% 阅读全文
摘要:
漫谈数据库索引一、引言对数据库索引的关注从未淡出我的们的讨论,那么数据库索引是什么样的?聚集索引与非聚集索引有什么不同?希望本文对各位同仁有一定的帮助。有不少存疑的地方,诚心希望各位不吝赐教指正,共同进步。[最近首页之争沸沸扬扬,也不知道这个放在这合适么,苦劳?功劳?……]二、B-Tree我们常见的数据库系统,其索引使用的数据结构多是B-Tree或者B+Tree。例如,MsSql使用的是B+Tree,Oracle及Sysbase使用的是B-Tree。所以在最开始,简单地介绍一下B-Tree。B-Tree不同于Binary Tree(二叉树,最多有两个子树),一棵M阶的B-Tree满足以下条件: 阅读全文
摘要:
Paul D. SheriffPDSA.com2003 年 10 月适用于: Microsoft® .NET 安全 Microsoft® Visual Basic® .NET C#摘要:学习如何利用 .NET Framework 的加密功能创建类似本文所述的包装程序来保护您的数据。下载与本文相关的 CryptoSampleCSSample.msi 和 VBSample.msi">CryptoSampleVBSample.msi 代码示例。(请注意,在示例文件中,程序员的注释使用的是英文,本文中将其译为中文是为了便于读者理解。)目录asp#crypt 阅读全文
摘要:
.NET RIA Services relies heavily on metadata annotations for expressing intent beyond what can be inferrd via convention. For example, validation rules on entities and members can be declared as annotations, which then enable a variety of consumption scenarios. We also have metadata for describing m 阅读全文
摘要:
单位矩阵 对角线上都是1,其余元素皆为0的矩阵。在矩阵的乘法中,有一种矩阵起着特殊的作用,如同数的乘法中的1,我们称这种矩阵为单位矩阵.它是个方阵,除左上角到右下角的对角线(称为主对角线)上的元素均为1以外全都为0.OpenGL中的坐标用齐次坐标表示,即(x,y,z)表示成(x',y',z',h),其中x=x'/h; y=y'/h; z=z'/h. 通常h取1. 比如空间中的点(2,3,4),在OpenGL中将表示成(2,3,4,1). 齐次坐标表示方式适合于矩阵运算,也很方便地表示了无穷远的点,比如(1,0,0,0)就表示x轴上无穷远的点,因为 阅读全文
摘要:
最近文档写了不少,导致Word和Excel的使用能力飞一般成长。考虑到项目中读写数据库的方法存在效率不高,以致影响用户体验的问题,决定测试一下Microsoft新推行的Linq和EF能不能在效率上有所改进。 测试环境当然就是我这台笔记本了,受限与硬盘转速,运行起来一定是不如台式机的,但至少保证了三个方案相同的软硬件环境:Windows Server 2008,Visual Studio 2008,MS SQL Server 2008,清一色的最新产品。 测试分成六个阶段,数据量分别为10,10,100,1千,1万,10万逐级增长,分别测试了读取、写入、更改、删除四个基本的操作的耗时,结... 阅读全文