包大人博客

迎奥运、讲文明、树新风 -- Welcome To Beijin 2008

About the author

Boris Yang
A troupe of little vagrants of the world, leave your footprints in my words.
E-mail me Send mail

Recent comments

Author

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008

Download Surface Demo including DeepZoom

 [引用] http://www.cnblogs.com/yangdawang/articles/1180265.html            http://weblogs.asp.net/mschwarz/archive/2008/03/24/download-surface-demo-including-deepzoom.aspx Well, I forgot to publish the source code of the changed Microso... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: .net
Posted by Admin on Saturday, May 03, 2008 3:11 PM
Permalink | Comments (0) | Post RSSRSS comment feed

泛型代码中的 default 关键字 [C#]

    在泛型类和泛型方法中我们经常会遇到的一个问题是,在预先未知以下情况时,如何将默认值分配给参数化类型 T,主要有两个问题: T 是引用类型还是值类型。  如果 T 为值类型,则它是数值还是结构。     给定参数化类型 T 的一个变量 t,只有当 T 为引用类型时,语句 t = null 才有效;只有当 T 为数值类型而不是结构时,语句 t = 0 才能正常使用。但问题是我们使用泛型的初衷就是为了类或方法的通用性,类型安全性。我们不能只定义专门适用于引用类型的泛型类和方法,或者只定义适用... [More]

Currently rated 3.0 by 1 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,
Categories: .net | c# | FrameWork
Posted by Admin on Tuesday, April 01, 2008 10:51 AM
Permalink | Comments (0) | Post RSSRSS comment feed

What is the difference between a callback and a postback?

What is the difference between a callback and a postback? A callback is a special postback, so a round-trip always occurs; however, unlike the classic postback, the script callback doesn't redraw the whole page. ViewState is not updated during a callback, it is for postback. How to m... [More]

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:
Categories: .net | asp.net
Posted by Admin on Sunday, March 16, 2008 10:21 PM
Permalink | Comments (0) | Post RSSRSS comment feed

Server.ScriptTimeout

The Session.Timeout and the Server.ScriptTimeout are TWO DIFFERENT THINGS. Assuming that a user visits your web site. He then enters a username inside a <textbox>. You then decide to put this username inside a Session variable. The default length of the Session variable is 20 Minutes... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:
Categories: .net
Posted by Admin on Thursday, March 13, 2008 5:09 PM
Permalink | Comments (0) | Post RSSRSS comment feed

迎接 WPF 你准备好了吗?

[参考] WPF官方网站 WPF简介      WPF的全称是Windows Presentation Foundation,是随.Net Framework 3.0一起推出的主打功之一,是微软新发布的Vista操作系统的三大核心开发库之一,其主要负责的是图形显示,所以叫Presentation(呈现)。加上Vista集成.Net Framework 3.0,可以预料改写 WinForm 的时代即将到来。作为新的图形引擎与早期的GDI+不同,WPF是基于DirectX的,支持GPU硬件加速,在不支持也可以使用软件绘制。高级别的线程进... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by Admin on Saturday, March 08, 2008 5:20 PM
Permalink | Comments (0) | Post RSSRSS comment feed

AJAX 快速应用 01(Michael Schwarz ajax.dll 篇)

   从今天起我会用两篇 POST 谈谈 Michael Schwarz 的ajax.net程序集的应用。(附示例和英文原著)    概述    在这个系列中我会重点介绍一下Michael Schwarz的AJAX .NET程序集 (后文就称它为 ajax.dll 或 Ajax 包装器),通过它ASP.NET开发人员可以快速方便的部署很容易利用AJAX功能的页面。虽然在 VS2005 和 VS2008 中已经把 Ajax 集成到开发环境中,但 Michael Schwarz 的 Ajax .net... [More]

Currently rated 4.3 by 3 people

  • Currently 4.333333/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,
Categories: .net | asp.net | ajax
Posted by Admin on Thursday, March 06, 2008 2:13 PM
Permalink | Comments (0) | Post RSSRSS comment feed

ASP.NET MVC 框架路线图更新

【原文地址】ASP.NET MVC Framework Road-Map Update 【原文发表日期】 Tuesday, February 12, 2008 1:05 PM 去年的十二月份,作为ASP.NET 3.5 Extensions CTP版的一部分,我们发布了新ASP.NET MVC 框架的第一个预览版。我也写了几个博客帖子,对该框架到底是什么,以及你可以如何使用它,提供了更多的细节: ASP.NET MVC 框架 简介 ASP.NET MVC 教程 (第一部分) ASP.NET MVC 教程 (第二部分: URL路径选择) ASP.... [More]

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by Admin on Wednesday, March 05, 2008 11:54 AM
Permalink | Comments (0) | Post RSSRSS comment feed

ASP.NET MVC框架(第四部分): 处理表单编辑和提交场景 -- 附源码

【原文地址】ASP.NET MVC Framework (Part 4): Handling Form Edit and Post Scenarios 【原文发表日期】 Sunday, December 09, 2007 4:42 AM 过去的几个星期内,我一直在写着讨论我们正在开发的新ASP.NET MVC框架的系列贴子。ASP.NET MVC框架是个你可以用来结构化你的ASP.NET web应用,使之拥有清晰的关注分离,方便你单元测试代码和支持TDD流程的可选方法。 这个系列的第一篇建造了一个简单的电子商务产品列表/浏览网站。它讨论了MVC后面的高层次的概念... [More]

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by Admin on Wednesday, March 05, 2008 11:43 AM
Permalink | Comments (0) | Post RSSRSS comment feed

ASP.NET MVC框架(第三部分): 把ViewData从控制器传到视图

【原文地址】ASP.NET MVC Framework (Part 3): Passing ViewData from Controllers to Views 【原文发表日期】 Thursday, December 06, 2007 2:49 AM 【译注】根据Scott Guthrie原文的回复,ASP.NET MVC框架的第一个CTP将于12月7日发布 过去的几个星期内,我一直在写着讨论我们正在开发的新ASP.NET MVC框架的系列贴子。ASP.NET MVC框架是个你可以用来结构化你的ASP.NET web应用,使之拥有清晰的关注分离,方便你单元测试代码和支持... [More]

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by Admin on Wednesday, March 05, 2008 11:37 AM
Permalink | Comments (0) | Post RSSRSS comment feed

ASP.NET MVC框架 (第二部分): URL路径选择

【原文地址】ASP.NET MVC Framework (Part 2): URL Routing 【原文发表日期】 Monday, December 03, 2007 2:44 AM 上个月,我发表了我要撰写的系列贴子中的第一篇,这些帖子将讨论我们正在开发的新ASP.NET MVC框架。这个系列的第一个贴子建造了一个简单的电子商务产品列表/浏览场景,讨论了MVC后面的高层次的概念,示范了如何从头创建一个新ASP.NET MVC 项目,实现和测试电子商务产品列表的功能。 在今天的贴子里,我将深入讨论ASP.NET MVC框架的路径选择(routing)架构,讨论一... [More]

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by Admin on Wednesday, March 05, 2008 11:32 AM
Permalink | Comments (0) | Post RSSRSS comment feed

ASP.NET MVC框架(第一部分)

【原文地址】ASP.NET MVC Framework (Part 1) 【原文发表日期】 Tuesday, November 13, 2007 3:45 AM 两个星期前, 我在博客里讨论了ASP.NET的一个新MVC(模型、视图,控制器)框架,我们将在不久的将来作为一个可选功能来支持。该框架提供了一个结构化的模型,来加强应用中的清晰关注分离,方便你单元测试代码和支持TDD流程。它还提供了对你在应用中发布的URL的更多的控制,也可以对从中输出的HTML提供更多的控制。 之后,我回答了来自迫切想了解更多详情的很多人的很多问题。鉴于如此高的兴趣,我觉得,写几个贴子更... [More]

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by Admin on Wednesday, March 05, 2008 11:27 AM
Permalink | Comments (0) | Post RSSRSS comment feed

ASP.NET MVC 框架

【原文地址】ASP.NET MVC Framework 【原文发表日期】 Sunday, October 14, 2007 10:41 PM 过去的几年里,很多人要求ASP.NET的一件事情就是对使用基于model-view-controller(模型-视图-控制器,简称MVC)架构来开发web应用的内置支持。 上个周末在Austin举行的Alt.NET大会上,我首次对我的团队正在开发的新ASP.NET MVC 框架作了一个公开的演示。你可以在Scott Hanselman这里的博客上观看我的讲座的录像。 我们将在今年稍后发布该框架的一个公开预览版,... [More]

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by Admin on Wednesday, March 05, 2008 11:24 AM
Permalink | Comments (0) | Post RSSRSS comment feed