Wednesday, March 31, 2004

Continuous Integration

we are using the visual build professional right now, but the tools here are free.
To GAC or not to GAC?

it is not my first time seen such article, so getting away from GAC
FxCop Team Page
it is a tools that could make your dotnet code solider
Visual C# Home: C# 2.0: Create Elegant Code with Anonymous Methods, Iterators, and Partial Classes

Visual Studo 2005 and ASP.NET 2.0 made it simple ... way too simple

VS.Net is very easy to use comparing to other development tools such as java, but it also tied the developers with the MS's framework, is it good or bad?

Friday, March 26, 2004

Design Guidelines Update: Generics

introduce the generics deeply
Paging with Repeater control in ASP.NET

Repeater is a replacement of array or list in ASP.net, could it be used in somewhere else?
COCOON's Tech
some DotNet book download

Thursday, March 25, 2004

Exception Handling in C#

using clause is used to do the exception handling,
and the class inside the using clause have to implement the IDisposable interface
A Brief Synopsis of C# Class and Method Modifiers
microsoft effective functional specification-chinese version

Wednesday, March 24, 2004

Tuesday, March 23, 2004

ONJava.com: Effective Unit Testing with DbUnit [Jan. 21, 2004]

the good thing for DBUnit is that it could put the testing data into a XML file,
and use its API to load into database, so you could change the testing data
without changing code. there are another nice stuff called MockObject.
it has DotNet portion.
Changes to Functionality in Service Pack 2 for Microsoft Windows XP
How to Shoot Yourself in the Foot with Code Coverage? (Part I)

Writing the unit test case could eliminate the bugs? who can make sure the test case is correct, I only wrote test case when I think it is necessary,
striving for 100% code coverage is kind of time wasting.
and the unit testing is only for developer, it could not reduce the work load of QA.

Monday, March 22, 2004

Avoid the GAC
CLR Hosting
some link about CLR Hosting
Encrypting SOAP Messages Using Web Services Enhancements

chinese version

Feedroll...freshly rolled news feeds for your site

a free blog tools to show your Blog item list on the web page

Are memory mapped files (MMFs) always faster than normal file I/O techniques?


Danny wrote it, talking some compiler's I/O performance issue, very deep, worthy to read
TestRunner for NUnit
A nice thing for Nunit is that it could test a set of assembly togeather
Squaretwo.Blog - Avalon Performance Tip: Inheritable Properties, Resources, and Replacing Styles

it introduce the use of a configurable property trigger, it could replace the event handler and the changing the properties in code, the reason he metions is because setting inheritable properties is expensive. I didn't get the point, anyway, this method is flexible.
In love with InfoPath

the infopath is a new member of MS office, it make the web service more useful, and will be a big impact to web based application.
The .NET Show: Longhorn Indigo

WSE and remoting will be outdated, the change is just too quick and very hard to catch up
C# Team Bloggers
PermaLink
the demo about the Avalon and XAML, the future UI standard of windows.

Sunday, March 21, 2004

Tim Bray joins Sun, explains .NET's "three flaws"
A long thread about the DotNet Vs Java, I would say that it is a kind of time wasting, the success is not due to the technology but the money, just take a look the point of Nasdaq.

I really like some comment here. such as

Microsoft will lie, cheat, steal, or maybe just work very, very har. whatever it takes. That's the most intimidating realization of all for competitors.
QDocuments.net
it is a free chinese version Delphi IDE expert for generating the document based on the comment in the source code, just like JavaDoc in java, unfortunately the english version is not available.
Some chinese IT E-book
COM thread model
chinese article, simple and clean
ObjectDataSource Sample:

this articel shows how to bind the Business Object with Webform control by web config profile, nice way to separeate the presentation layer with domain layer
The Code Project - Multi Dimensional Arrays using Template Meta Programming - C++ / MFC
This code is written by c++, not c#, since the c# 2.0 supports generic programing, so understanding the template in C+ is good for understanding the generic in c#
The Code Project - Multi-monitor programming in C# - C# Programming

Saturday, March 20, 2004

which language feature in .net could be used in a OR mapping framework
1: Attribute, it is very good for creating the different database access adapter in the data access object.
2: partial class, it is good for separating the business logic code from Value Object code.
3: CodeDom, it could be used to generate the Value Object code according to the XML mapping file during the runtime. just like CGLib in hibernate.
divil.co.uk - Windows Forms Controls
A free library for WinForm
Sysinternals Freeware - Utilities for Windows NT and Windows 2000 - Process Explorer
A great tools for system administrator and developer, you could see the DLL and resource that are used by the system process, it could help you looking for the maliced threads who are concealing in some sytem process, or debuging the application.
Some interview question from M$ China
Installers for GIMP for Windows
A open source tools that is similar to photoshop, worthy to try it.
.NET Resource Generator: Home
AskTom "Running procedures dynamically."

Good article, I really need this kind of feature since we treat stored procedure as a major development method considering its performance, but the parameter of stored proc is always a problem for us to make the generic data access object class.
the method this acticle introduced bring some advantage but losing some benefit such as compiling time type checking. so the tradeoff is everywhere
Java "Beats .NET for Processing XML," Report Claims (SYS-CON)
I can't beceive it, the MSXML is simple enough for me.
The Code Project - Super Combo Box - combo-box with columns, colors and more - Combo and List Boxes
Awesome ASP.NET V2 tip: specifying the assembly name in web.config for custom HttpModules/HttpHandlers in Whidbey's /Code directory
Coding Best Practices Using DateTime in the .NET Framework
Export data in a web application to Excel including formulas for columns