03 Apr 2008

MS Ajax 客户端生命周期

The flowing reference  is an excellent post !!!

http://aspnetresources.com/downloads/MS%20Ajax%20Client%20Life-Cycle%20Events.pdf


03 Apr 2008

MS Ajax 客户端生命周期

The flowing reference  is an excellent post !!!

http://aspnetresources.com/downloads/MS%20Ajax%20Client%20Life-Cycle%20Events.pdf


29 Mar 2008

使用dotNetZipLib轻松压缩目录/文件夹

.net1.1时代我们选SharpZipLib
.net2.0时代我们选System.IO.Compression名称空间下的东东
.net3.0时代我们选System.IO.Packaging名称空间下的东东。
今天发现CodePlex上有个好东西,另压缩如此之Easy。。。

 

  ZipFile zip = new ZipFile(directooutputFileName);
            zip.TrimVolumeFromFullyQualifiedPaths 
= true;
            zip.TempFileFolder 
= Path.GetTempPath();
            zip.Comment
                
= string.Format(A zip archives。{0}  {1},  Environment.NewLine, DateTime.Now.ToString());
            zip.AddDirectory(directory, 
string.Format(MyFolder-{0}, DateTime.Now.ToShortDateString()));
            zip.Save();

那就是

DotNet Zip Library

 

 

29 Mar 2008

使用dotNetZipLib轻松压缩目录/文件夹

.net1.1时代我们选SharpZipLib
.net2.0时代我们选System.IO.Compression名称空间下的东东
.net3.0时代我们选System.IO.Packaging名称空间下的东东。
今天发现CodePlex上有个好东西,另压缩如此之Easy。。。

 

  ZipFile zip = new ZipFile(directooutputFileName);
            zip.TrimVolumeFromFullyQualifiedPaths 
= true;
            zip.TempFileFolder 
= Path.GetTempPath();
            zip.Comment
                
= string.Format(A zip archives。{0}  {1},  Environment.NewLine, DateTime.Now.ToString());
            zip.AddDirectory(directory, 
string.Format(MyFolder-{0}, DateTime.Now.ToShortDateString()));
            zip.Save();

那就是

DotNet Zip Library

 

 

06 Mar 2008

IE8 BETA1 来了....

太疯狂了,迅雷30秒就下完了14.43M啊

Install Internet Explorer 8


Internet Explorer 8 can be installed on Microsoft Windows Vista® Service Pack 1 (SP1), Windows Vista, Windows XP® Service Pack 2 (SP2), Windows Server® 2008 and Windows Server2003 Service Pack 2 (SP2). Downloads are available from the following locations:



Internet Explorer 8 Beta 1 for Windows Vista and Windows Server 2008 


Internet Explorer 8 Beta 1 for Windows Vista x64 Edition and Windows Server 2008 x64 Edition


Internet Explorer 8 Beta 1 for Window XP SP2


Internet Explorer 8 Beta 1 for Windows Server 2003 SP2


Internet Explorer 8 Beta 1 for Windows Server 2003 SP2 x64 Edition and Windows XP SP2 Pro x64 Edition


 

22 Feb 2008

Telligent 发布了 CMS 系统

Telligent  Community Server 的出产厂商
发布了 他们的新CMS产品 GraffitiCMS
关于价格:http://get.graffiticms.com/
Licensing:http://graffiticms.com/learn-more/licensing/

Get Graffiti Today!

22 Feb 2008

Telligent 发布了 CMS 系统

Telligent  Community Server 的出产厂商
发布了 他们的新CMS产品 GraffitiCMS
关于价格:http://get.graffiticms.com/
Licensing:http://graffiticms.com/learn-more/licensing/

Get Graffiti Today!

21 Feb 2008

C# .Net Gmail Tools

位于code.msdn.microsoft.com的一个小型Library

你可以很简单的使用它来通过gmail发送邮件或者获取Gmail Atom Feed 。

 

   //Send a message with one line of code

   RC.Gmail.GmailMessage.SendFromGmail("username", "password", "toAddress@gmail.com", "subject", "message body");



   //Send a message with one line of code with a MailMessage object

   RC.Gmail.GmailMessage.SendMailMessageFromGmail("username", "password", mailMessageObject);



   //Use the GmailMessage object to create and send your message

   RC.Gmail.GmailMessage gmailMsg = new RC.Gmail.GmailMessage("username", "password");

   gmailMsg.To = "RCcode@gmail.com";

   gmailMsg.From = "fromAddress@gmail.com";

   gmailMsg.Subject = "C# Test Message";

   gmailMsg.Body = "Test body";



   MailAttachment attachment = new MailAttachment(@"c:\testfile.txt");

   gmailMsg.Attachments.Add(attachment);



   gmailMsg.Send();

 

Visit here to download the GMail Tools

// Create the object and get the feed

   RC.Gmail.GmailAtomFeed gmailFeed = new RC.Gmail.GmailAtomFeed("username", "password");

   gmailFeed.GetFeed();



   // Access the feeds XmlDocument

   XmlDocument myXml = gmailFeed.FeedXml



   // Access the raw feed as a string

   string feedString = gmailFeed.RawFeed



   // Access the feed through the object

   string feedTitle = gmailFeed.Title;

   string feedTagline = gmailFeed.Message;

   DateTime feedModified = gmailFeed.Modified;



   //Get the entries

   for(int i = 0; i < gmailFeed.FeedEntries.Count; i++) {

      entryAuthorName = gmailFeed.FeedEntries[i].FromName;

      entryAuthorEmail = gmailFeed.FeedEntries[i].FromEmail;

      entryTitle = gmailFeed.FeedEntries[i].Subject;

      entrySummary = gmailFeed.FeedEntries[i].Summary;

      entryIssuedDate = gmailFeed.FeedEntries[i].Received;

      entryId = gmailFeed.FeedEntries[i].Id;

   }



Visit here to download the GMail Tools

21 Feb 2008

C# .Net Gmail Tools

位于code.msdn.microsoft.com的一个小型Library

你可以很简单的使用它来通过gmail发送邮件或者获取Gmail Atom Feed 。

 

   //Send a message with one line of code

   RC.Gmail.GmailMessage.SendFromGmail("username", "password", "toAddress@gmail.com", "subject", "message body");



   //Send a message with one line of code with a MailMessage object

   RC.Gmail.GmailMessage.SendMailMessageFromGmail("username", "password", mailMessageObject);



   //Use the GmailMessage object to create and send your message

   RC.Gmail.GmailMessage gmailMsg = new RC.Gmail.GmailMessage("username", "password");

   gmailMsg.To = "RCcode@gmail.com";

   gmailMsg.From = "fromAddress@gmail.com";

   gmailMsg.Subject = "C# Test Message";

   gmailMsg.Body = "Test body";



   MailAttachment attachment = new MailAttachment(@"c:\testfile.txt");

   gmailMsg.Attachments.Add(attachment);



   gmailMsg.Send();

 

Visit here to download the GMail Tools

// Create the object and get the feed

   RC.Gmail.GmailAtomFeed gmailFeed = new RC.Gmail.GmailAtomFeed("username", "password");

   gmailFeed.GetFeed();



   // Access the feeds XmlDocument

   XmlDocument myXml = gmailFeed.FeedXml



   // Access the raw feed as a string

   string feedString = gmailFeed.RawFeed



   // Access the feed through the object

   string feedTitle = gmailFeed.Title;

   string feedTagline = gmailFeed.Message;

   DateTime feedModified = gmailFeed.Modified;



   //Get the entries

   for(int i = 0; i < gmailFeed.FeedEntries.Count; i++) {

      entryAuthorName = gmailFeed.FeedEntries[i].FromName;

      entryAuthorEmail = gmailFeed.FeedEntries[i].FromEmail;

      entryTitle = gmailFeed.FeedEntries[i].Subject;

      entrySummary = gmailFeed.FeedEntries[i].Summary;

      entryIssuedDate = gmailFeed.FeedEntries[i].Received;

      entryId = gmailFeed.FeedEntries[i].Id;

   }



Visit here to download the GMail Tools

31 Jan 2008

DbEntry.Net 又一个国产开源ORM数据访问及 WEB 框架

今天去逛CodePlex发现这个东西

链接到JavaEyeblog,作者:梁利锋

中文描述:http://llf.hanzify.org/llf/show.asp?id=555

Features:

FluentInterface query syntax

  • RoR ActiveRecord style syntax
  • Ambient transaction
  • Dynamic object
  • Partial update
  • 1:1 1:Many Many:Many relations
  • Auto create table
  • Anti sql injection
  • Multiple data source
  • Object validation
  • Paged selector and collection
  • Nullable support
  • DbEntryDataSource
  • ASP.NET 2.0 Membership support
  • Built-in Cache Support
  • Ruby On Rails style MVC framework
  • High performance, almost same as using ADO.NET directly
  • Lightwight, the binary file only about 268KB
  • Rails Style MVC
    1. Getting Started
    2. Scaffolding
    3. Controller
    4. Viewer
    5. Configuration
    6. Deployment


另外还有一些不错的东西比如他的 Rails Style MVC 和TemplateBuilder  还有 HtmlBuilder

看了看并没有Nbear那样类似Linq的查询支持.

令人欣慰的是这个东西一直从.net1.1做到现在,而且就一个人开发,从codeplex上来看,最近还有代码签入.

http://www.codeplex.com/DbEntry/SourceControl/ListDownloadableCommits.aspx



最后贴一下地址:http://www.codeplex.com/DbEntry