文章列表
 
您正在查看 "Development" 分类下的文章

2009-07-20 11:37
Silverlight 不是 .Net 的一个分支,至少现在已经不是了。他是一个全新的东西, 曾经传说的"WPF/E"已经不存在了。

记得有人曾经告诉过我, Silverlight已经跟WPF分家, 但是一直没注意, 直到今天。‘

如果非要说有关系的话, 那就是Silverlight的Runtime在最大限度上使用了.Net现有的内容。

详细信息见下面的链接:

http://blogs.msdn.com/jasonz/archive/2007/05/01/origin-of-the-silverlight-clr-and-net-framework.aspx

另外, 微软真TMD的操蛋, 一个1MB+的程序居然
 
2009-07-01 22:31
1. 速度快了, 尤其是提示.
2. 样子感觉比以前好了些.



上面的截图是C# 4.0的新功能: Optional parameter

 
2009-01-13 14:02
Extension Method
1. C#中不会覆盖已有的函数, VB.Net中有所区别

Anonymous Type
1. C#中属性不可改变(只有Get, 没有Set), VB.Net中需要使用关键字“Key”來指定那些属性为只读。
   “Key”还会重写Anonymous Type的GetHashCode方法,“Key”不限制个数
2. 见下面的例子:
public static TResult ReturnAGeneric<TResult>(Func<TResult> creator)
{
    return creator();
 
2008-08-14 11:41

之前有过类似的问题, 不过想法一直都围绕怎么怎么在页面上显示,编辑word文档的内容.

今天发现了一个新的方法.

基本的原理就是将远程的文件夹(Web Folder)映射成本地的文件夹, 这样用户就可以轻易的使用本机的Word来显示,编辑文件的内容.

这其实是一个变通的方式, 但是又更易于实现, 将我们的工作内容从word文档的显示,编辑脱离出来, 转移到了网络文件夹(Web Folder)的映射上.

此方案的关键技术: WMI脚本(并不确定在其他的操作系统上(如Linux)是否有相同的解决方案).

当然此方案的仅局限于 Wi

 
2008-02-25 16:30

题目:一个函数,可以将输入的字符串转换成整型,并给出相关的测试用例

要求:不使用系统提供的函数,比如Convert.ToInt32, Int32.Parse等。

题目不难,只要用ASCII相减就行了,前提是对字符串已经做了过滤。

难的是后续的测试,你认为此个函数需要有多少个测试用例来测试。

Code:

       private Boolean IsNumeric(String str)
        {
        

 
2007-10-20 21:08

DLINQ的默认设置

每一次操作都会打开一个新的链接, 每一次操作后会自动关闭链接,并释放链接.
链接的频繁创建,释放增加了执行时间,损耗了性能.

从性能上考虑,应该使用自己的链接.DLINQ也提供了这个接口, 让我们可以自己对链接进行管理.

自己管理的方法:

1. 在初始化的时候传入一个实力化好的Connection

2. 将实例化好的Connection

测试:

以DLINQ调用1000次存储过程为例:

使用默认的Connection管

 
2007-10-09 16:10
       var mouseDown = false;
       var html = "";
       function Init(){
             var objs = document.body.getElementsByTagName("div");
             for(var i=0;i<objs.length;i++){
            
 
2007-09-09 20:06

Now , i launch a new project.

It's a online work together platform base on .Net 3.5.

Some last technic will be use, such as LINQ, Ajax, Workflow foundation.

 
2007-07-16 11:14
memcached:分布式缓存管理系统,主要是用于管理集群web服务器中的缓存。

Url: http://www.danga.com/memcached/

What is the memcached?

memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.

Danga Interactive developed memcached to enhance the speed of LiveJournal.com, a site which was already doing 20 million+ dynamic p
 
2007-07-13 16:07

Refer: Microsoft Codename Astoria Overview

Project Astoria consists of a combination of patterns, libraries and an online service that explores the concept of data services for the web. Currently, Astoria data services use relational databases as the underlying store, but in general the nature of the store does not surface in the Astoria interfaces.

The goal of Astoria is to facilitate the creation of flexible data services that are naturally integrated with the web. As su

 
   
 
 
文章分类
 
   
 
文章存档
 
     
 
最新文章评论
  

调用<stdlib.h>头文件。 atoi()函数就行了。
 

还活着呢???
 

怎么觉得我越来越落伍了,vs2008还没用几下呢。
 

[表情]
 

咦,你还会写程序?
   
帮助中心 | 空间客服 | 投诉中心 | 空间协议
©2012 Baidu