Thursday, October 26, 2006

Step-by-Step MVP pattern for ASP.NET

http://haacked.com/archive/2006/08/09/ASP.NETSupervisingControllerModelViewPresenterFromSchematicToUnitTestsToCode.aspx

Wednesday, August 23, 2006

Approaches to Paging through Large DataSet

Sql Server 2000

  1. http://www.4guysfromrolla.com/webtech/042606-1.shtml - A More Efficient Method for Paging Through Large Result Sets
  2. http://www.4guysfromrolla.com/webtech/041206-1.shtml - Efficiently Paging Through Large Result Sets in SQL Server 2000

Sql Server 2005
  1. http://www.asp.net/learn/dataaccess/tutorial25vb.aspx?tabid=63 - ASP.NET 2.0

Pagin Cursor Approach

  1. http://groups.google.com/group/comp.databases.ms-sqlserver/browse_thread/thread/20ce9a296fa23a81/509bbac9261f02a0?lnk=st&q=anonieko&rnum=1#509bbac9261f02a0

Articles by Saravana Kumar on ASP.NET 2.0 ans SQL

Good site to view articles at Extreme Experts
http://www.extremeexperts.com/Net/Articles/default.aspx

Running Different .NET versions in ASP.NET / Application Pool

Ken Egozi : IRresistible - Running ASP.NET applications of various versions side-by-side: "Running ASP.NET applications of various versions side-by-side
Some annoying problem I've encountered lately.
While developing on my XP machine, I have had some ASP.NET 1.1 applications and ASP.NET 2.0 applications running side-by-side, as virtual directories on the single website allowed by IIS5.1
When I've published an ASP.NET 2.0 application to a production server, running IIS6.0 (on Windows 2003 Server) with already installed ASP.NET 1.1 applications, I've found out that if the old applications are running, the new one returns 'Server Application Unavailable', and vice versa.
A quick search in the Event Viewer revealed that IIS isn't fond of running applications of different ,NET runtime version, in the same process. Quite reasonable that is, yet annoying.
That's when I remembered that I've always said to myself that I should look into the reason that IIS5.0 and IIS5.1 runs each ASP.NET application in a aspnet_wp.exe worker process, while IIS6.0 uses a single w3wp.exe worker process.
A little web search and I've found this: http://technet2.microsoft.com/WindowsServer/en/Library/d0a61f24-942e-4379-adad-8232be03441c1033.mspx, and adjacent pages.
So this is a new feature of ASP.NET, that makes it possible to run a few applications in the same process. Every few applications (virtual directories) are assigned to an application pool, and each application pool runs in its own process.
There are a few settings that can be done for each application pool. Those settings are overriding the defaults in the machine.config file.
Adding an application pool is done through inetmgr.msc, by just adding a new pool to the Application Pools section. Use the option to copy settings from t"

Grab Bags and Database Models

http://del.icio.us/jyotirmaya - list of grab bags free


http://www.databaseanswers.org/data_models/

a web developers cheat sheet list

a web developers cheat sheet list http://succor.co.uk/index.cfm/2006/3/21/a-web-developers-cheat-sheet

Saturday, August 19, 2006

Great Online Ebook on C# Threading

c# supports parallel execution of code through multithreading. A thread is an independent execution path, able to run simultaneously with other threads.
A C# program starts in a single thread created automatically by the CLR and operating system (the "main" thread), and is made multi-threaded by creating additional threads. Here's a simple example and its output http://www.albahari.com/threading/

Biztalk Links

Virtual Labs Home: BizTalk Server

http://blogs.msdn.com/gsnowman/default.aspx

http://blogs.msdn.com/gsnowman/archive/2006/01/15/513159.aspx

Monday, August 14, 2006

A Primer on Using DB2 with .NET

15 Seconds : A Primer on Using DB2 with .NET: "
By Chip IrekRating: 4.4 out of 5
Rate this article


print this article

email this article to a colleague

suggest an article
Introduction
Working with DB2, from a .NET application developer's perspective, is just like working with any other relational database. One can find endless examples of how to perform databases tasks (from the mundane to the interesting) for Microsoft SQL Server and Oracle, but there is not as much similar documentation for accessing DB2 from Microsoft technologies, including .NET.
A developer currently has different access techniques to programmatically connect .NET programming clients to DB2. For each of these the code is basically the same thanks to the providers involved, but some interesting limitations exist that you should consider."

Wednesday, August 09, 2006

.NET XML Web Services Repertory

http://www.xmlwebservices.cc/index.htm

Christian Weyer is an expert for Microsoft and Web technologies with focus on .NET. Since the end of 1999 he plays and works with XML, SOAP and related Web Services technologies with having a background of DCOM, CORBA and Java. Being a founding partner of thinktecture he regularly speaks on developer conferences and other events - lately he has been elected as an official speaker for the European INETA speaker's bureau. Christian writes German and English articles about the latest and most promising technologies.Additionally, he is an MVP for ASP.NET and XML Web Services for being very active and knowledgeable in the .NET and Web Services community. Christian is also a Microsoft Regional Director for Germany.His hobbyhorse all around .NET and XML Web Services is the site known as '.NET XML Web Services Repertory'. This place is dedicated to building Web Services on the .NET platform, especially focused on ASP.NET. Here you can find lots of sample code (also available as online demos), a Web Services FAQ, an Essential Tools overview and a growing collection of useful links. Additionally it provides information on interoperability and integration with other SOAP or Web Services platforms - e.g. Systinet WASP, Apache SOAP, Apache Axis or IBM Web Services Toolkit.

Sandcastle plugins and gui creators

http://weblogs.asp.net/astopford/archive/2006/08/09/Sand-for-my-Sandcastle.aspx

ASP.NET Supervising Controller (Model View Presenter) From Schematic To Unit Tests to Code

http://haacked.com/archive/2006/08/09/ASP.NETSupervisingControllerModelViewPresenterFromSchematicToUnitTestsToCode.aspx

Aug 09, 2006 Add Comment Print Martin Fowler recently split the Model-View-Presenter pattern into two new patterns, Supervising Controller and Passive View. They are pretty much two different flavors of the MVP pattern differentiated by how much application logic is placed within the view.

Wednesday, August 02, 2006

ASPFAQ : SQL Server 2005

ASPFAQ : SQL Server 2005: "
Number of articles: 29
Last update: 2006-05-17
What version of SQL Server 2005 do I have?
How do I manage / connect to SQL Server Express?
Can I download Books Online separately?
What should I know about Express Manager (XM)?
Where do I post issues and questions about SQL Server 2005?
What happened to IntelliSense?
Why does SQL Server 2005 break SQL Server 2000 tools?
How do I view the code for system objects?
What happened to Database Diagrams?
What happened to the 'Open Table' feature?
Why don't Query Analyzer shortcut keys work?
When will SQL Server 2005 be released?
Why is xp_cmdshell disabled?
Why won't Profiler start?
Can I still modify system objects like in SQL Server 2000?
Where do I get SQL Server 2005?
How do I remove previous versions of SQL Server 2005 / Whidbey?
How do I change password policies in SQL Server 2005?
Where else can I learn about SQL Server 2005?
How do I hide system objects in Management Studio's Object Explorer?
How does SQL Server 2005 Express compare to MSDE?
How do I select multiple objects in Object Explorer?
Why is there still no LIMIT clause?
What happened to the DATE and TIME datatypes?
What parts of ANSI SQL-99 have been added to SQL Server 2005? (in progress)
How do I attach a database to SQL Server 2005? (in progress)
Are there better ways to page a resultset in SQL Server 2005? (in progress)
What are the problems with the new PIVOT and UNPIVOT operators? (in progress)
How can I use DDL triggers? (in progress)"

Tuesday, August 01, 2006

How to create a simple setup program for your administrator to run.

How to create a simple setup program for your administrator to run.

This post is better read in mono-space format.

Scenario: As usual you don't have the access right to do ClickOnce
'publish' option. It's just how big companies work so
you have to work with the deployment team.

Well, your ever witty manager tells you to write
an install file that will automatically unzip and copy
the deployment files. Let the administrator run it and
never you.

You know exactly that a virtual directory already
exists and the exact location of this in the server.
Say example "c:\inetpub\wwwroot\MyClient" It
was setup before by someone.

Let me think:

I can create an msi file but it is too much. Hmm...

I can not use Visual Studio 'Setup Project' to create
one msi because it is too much work. Besides it
is considering dependencies like .NET framework
automatically. The thing I don't need here.

So what do I do???


My Solution:

Use 7zip file to create a self extracting file.
It is open source and free It can be downloaded at 7zip.org

The instructions are less clear in 7zip.org but you can
follow it after a few trials. Don't worry, to speed
you up I will describe an example setup.

For example. Imagine you have a directory like these
note ('\' means a folder)


C:
|
+---\WorkArea
|
+---\ClickOnceFiles
| |
| +---\MyClickOnceApp_0_1_0_4
| | |
| | +--
| |
| +---MyClickOnceApp.application
| +---MyClickOnceApp_0_1_0_4.application
| +---publish.htm
| +---setup.exe
| +---run.bat
|
+---\Output
|
+---7za.exe
+---7zSD.sfx
+---config.txt
+---create.bat


First, you can publish locally to your computer to the
'ClickOnceFiles' Folder as above.


Secondly, note that 'run.bat' is copied inside the folder
together with the ClickOnce deployment files.
This is intentional because it will part of the zip
component.

All you have to do is the run CREATE.bat, and it will produce
MySetup.exe in the output directory.

Yes, give MySetup.exe to your system administrator.
(better give its md5 hash also for peace of mind).
And you will look 'cool' from now on.

-------------
Ok, now the descriptions and contents of these files.

The files 7za.exe, 7zSD.sfx can be downloaded from 7zip.org
Look for 7z Library, SFXs for installers


create.bat
----------

del TempFile.7z
7ZA a -r TempFile.7z C:\WorkArea\ClickOnceFiles\*.*
copy /b 7zSD.sfx + config.txt + TempFile.7z output\MySetup.exe
del TempFile.7z


config.txt
----------

;!@Install@!UTF-8!
Title=" Client ClickOnce Files Setup- (C)2006 "
BeginPrompt="Do you want to update Client Deployment Files?"
RunProgram="run.bat"
;!@InstallEnd@!



run.bat
-------

(I know, I know this is not optimized, you can probably use variables
to store the virtual directory path, etc...) but here it is.


@ECHO OFF
CLS


IF NOT EXIST c:\inetpub\wwwroot\MyClient GOTO ERROR_DIR

XCOPY *.* c:\inetpub\wwwroot\MyClient /s /Y 1> nul 2> nul
if ERRORLEVEL 1 GOTO :ERROR_COPYING
REM DEL c:\inetpub\wwwroot\MyClient\*.bat

@ECHO ******************************************
@ECHO * *
@ECHO * SUCCESS IN COPYING DEPLOYMENT FILES!! *
@ECHO * *
@ECHO * Thanks Mr. Admin! - ERV *
@ECHO * *
@ECHO ******************************************

GOTO END_BATCH

:ERROR_DIR
@ECHO ******************************************
@ECHO * *
@ECHO * ERROR! APP VIRTUAL DIR NOT FOUND *
@ECHO * *
@ECHO * For Client to deploy this virtual *
@ECHO * directory which point to folder *
@ECHO * *
@ECHO * c:\inetpub\wwwroot\MyClient must *
@ECHO * *
@ECHO * must exist! *
@ECHO * *
@ECHO * *
@ECHO ******************************************

GOTO END_BATCH

:ERROR_COPYING
@ECHO ******************************************
@ECHO * *
@ECHO * ERROR IN COPYING FILES. NOT DEPLOYED *
@ECHO * *
@ECHO ******************************************


:END_BATCH
PAUSE

Saturday, July 29, 2006

Using the XmlDataSource Data property for easy samples

More Atlas stuff : Using the XmlDataSource Data property for easy samples: "Using the XmlDataSource Data property for easy samples
Here's a little trick to write samples that involves data binding controls to a database. It's very inconvenient to have to package a sample database with your code (especially when it's just a few lines of code in a blog), and just making sure your users have SQL Server installed is no small thing. All this just diverts the attention from what really matters: your sample code.
It's a little-known feature that XmlDataSource enables you to declaratively expose sample data to the page. Here's how it's done:














BackColor='<%# TypeDescriptor.GetConverter(typeof(
System.Drawing.Color)).ConvertFromString((string)Eval('value')) %>'
Text='<%# Eval('name') %>' />
: "Slides and Code for my ASP.NET Connections Talks
I just returned from speaking at the ASP.NET Connections conference in Orlando which was a lot of fun. If you haven't ever attended before I highly recommend it. I had a chance to meet a few other speakers I hadn't met before as well as talk with a lot of conference attendees that were building some cutting-edge ASP.NET applications. I gave 3 different talks at the conference and promised everyone that I'd add the slides and code....so here it is.
Migrating from Web Services to SOAs
Building N-Tier ASP.NET Applications
Synchronous and Asynchronous Web Services
Although the conference was a blast, I have to say that I had the "

Sunday, July 23, 2006

Asynchronous WebService calls – the truth behind the Begin… End… functions

After running into this same fundamental problem again (different calling behavior, but same pipelining idea), the behavior is different than I expected based on the documentation. I decided to do some more digging and resolve this once and for all.To illustrate, let’s take a simple WebService function exposed on a service called SimpleService:
public struct Bar { public int i; }
[WebMethod] public int Foo( Bar bar ) { System.Threading.Thread.Sleep(2000); return bar.i; }


http://codebetter.com/blogs/steve.hebert/archive/2006/07/14/147371.aspx

Wednesday, June 28, 2006

Dr Dobbs Video Audio Center

RailsConf 2006: The Future Looks Really Good On day two of RailsConf, Mike Riley is looking at Ruby-on-Rails case studies and digging deep into Rails code. (MP3, 5:29 mins.)
RailsConf 2006: Out of the Blocks Mike Riley reports what's happening with Ruby and Ruby-on-Rails from the conference floor of the RailsConf 2006 conference in Chicago. (MP3, 4:44 mins.)
ClickOnce Boundaries Brian Noyes on installing application prerequisites with ClickOnce, the API, and the limitations of customizing ClickOnce that can force a look into the Updater Application Block from the MS Patterns and Practices group. (MP3, 17:34 mins.)
MS Live Labs Grants Awarded and Tiny BioSensors Created at Cornell Microsoft Live Labs has announced 12 grant recipients for the Accelerating Search in Academic Research campaign; see research.microsoft.com/ur. Engineers at Cornell university have developed tiny sensors to monitor a patient's blood flow, blood pressure, and temperature; see www.cnf.cornell.edu. (MP3, 2:55 mins.)

Multithreaded Programming Quickstart

May 16, 2006
Multithreaded Programming Quickstart
This NetSeminar explains the benefits of adding parallelism to your application. You will get a high-level understanding of the methods for locating areas within an application to add parallelism. The presentation also highlights some of the common issues which can cause incorrect behavior or poor performance in a threaded application. It concludes with suggestions for ways to incrementally add concurrency without having to completely re-implement your application.
Multithreaded Programming Quickstart

Monday, May 01, 2006

Automating Database maintenance in SQL 2005 Express Edition Part II

Automating Database maintenance in SQL 2005 Express Edition Part II

Configuring SQL Server Express 2005 for Remote Access

Configuring SQL Server Express 2005 for Remote Access

Friday, April 28, 2006

developerWorks : DB2 : Forums : FW 2.0 / VS 2005 Developers Release Refresh is Available Now!!

developerWorks : DB2 : Forums : FW 2.0 / VS 2005 Developers Release Refresh is Available Now!!: "FW 2.0 / VS 2005 Developers Release Refresh is Available Now!!
Originally posted: 2006 April 27 11:39 AM
bpgross Post new reply

The DR Refresh has just been released, it is the same location as before, you can get to it from the VS Zone:

http://www-128.ibm.com/developerworks/db2/zones/vstudio/

Please make sure you uninstall the current DR first - the refresh does not support installing overtop of an already installed DR.

This refresh will coexist with any level of V8, and includes a runtime client that can be installed seperately. It does not require V8 already installed on the machine.

This DR refresh will also work against the Viper test drive server, including the new XML datatype. This functionality should be considered more beta level code.

Brent."

Thursday, April 27, 2006

Secure the Core follows the story of CSTF Financial, a credit card company

Arbor Networks, Inc. Secure the Core is brought to you by Arbor Networks® a leader in network security for global business networks. This first-of-its-kind dramatic podcast series features expert commentary from industry leaders. It begins with a two-episode pilot and will feature a new 3 to 6 minute episode every Tuesday. Come back each week as Secure the Core takes you deep into the world of a company under attack, and demonstrates how the Arbor Peakflow® Platform protects your network from external and internal threats. Be sure to download important technical information after each episode.

Wednesday, April 26, 2006

Stuart Celarier : Transact this! System.Transactions 2.0 tutorial: Part 8 — Enlisting a volatile resource manager in a transaction

Stuart Celarier : Transact this! System.Transactions 2.0 tutorial: Part 8 — Enlisting a volatile resource manager in a transaction: "Transact this! System.Transactions 2.0 tutorial: Part 8 — Enlisting a volatile resource manager in a transaction
From the task list we wrote in Part 6, the next items are to change the value of the managed int in a transaction which commits, and in a transaction which aborts. This will require making the volatile resource manager aware of when an ambient transaction is present, and enlisting in it.
Testing a change in a committed transaction
Here’s the task before us.
Item 4. Change the value of a managed int in a transaction that commits.
Following the same process, we’ll create a unit test by first writing the code that the client is expected to write, and then asserting what the client should expect from that code. Then we’ll implement the bare minimum to get the test to pass.
Starting from where we left off, add a unit test to VolatileResourceManagerTest.cs [.vb] that changes the value of an int managed by a VolatileResourceManagerInt inside of a transaction that commits.
[Test]
public void VolatileResourceManagerIntCommit()
{
int i = 3;
int j = 4;
VolatileResourceManagerInt vrmi = new VolatileResourceManagerInt( i );
using ( TransactionScope scope = new TransactionScope() )
{
vrmi.Value = j;
scope.Complete();
}
}

The calling scope.Complete votes to commit the ambient transaction. Since nothing else is voting, the transaction will commit.
The client should expect that the VolatileResourceManagerInt has the correct value before and after assignment, and after the transaction. Here we�"

Play the Test-Driven Development Pairing Game (Level 200)

Events Home

Sunday, April 23, 2006

FREE Agile e-book

Saturday, April 22, 2006

Brendan Tompkins : Going Beyond AJAX - What's Really Needed for Asynchronous Web Development

Brendan Tompkins : Going Beyond AJAX - What's Really Needed for Asynchronous Web Development: "Going Beyond AJAX - What's Really Needed for Asynchronous Web Development "

Thursday, April 20, 2006

Paul Laudeman : Windows Forms Tip: Ensure only one instance of your application is running at a time

Paul Laudeman : Windows Forms Tip: Ensure only one instance of your application is running at a time: "Ensure only one instance of your application is running at a time "

Paul Laudeman : Windows Forms Tip: Ensure only one instance of your application is running at a time

Paul Laudeman : Windows Forms Tip: Ensure only one instance of your application is running at a time: "Ensure only one instance of your application is running at a time "

ClickOnce in Visual Studio 2005

ClickOnce in Visual Studio 2005

Monday, April 17, 2006

How to: Perform Custom Authentication Using SOAP Headers

How to: Perform Custom Authentication Using SOAP Headers: "How to: Perform Custom Authentication Using SOAP Headers
The following custom solution is built using ASP.NET to provide an authentication mechanism using SOAP headers. The solution involves a custom HTTP Module on the Web server that executes the following steps:
The HTTP Module parses HTTP messages to check whether they are SOAP messages.
If the HTTP Module detects a SOAP message, it reads the SOAP headers.
If the SOAP message has the SOAP header with authentication credentials, HTTP Module raises a custom global.asax event.
In the sample provided, the HTTP Module authenticates the user and sets Context properties that a Web service can use to decide whether the client is authorized access to the Web service."

Useful Resources for C# Programming

Useful Resources for C# Programming: "Useful Resources for C# Programming
What's New in the C# 2.0 Language and Compiler
How Do I in C#?
Using the Visual C# IDE
C# Programming Guide
C# Programmer's Reference
C# Samples
Also check out the Tools and Features available in VS 2005
Misc: .NET Framework Glossary"

Saturday, April 15, 2006

Visual Studio 2005: Develop Smart Client Applications

Visual Studio 2005: Develop Smart Client Applications

http://msevents.microsoft.com/cui/eventdetail.aspx?eventID=1032278543&Culture=en-US - BEST PRACTICES IN SMART CLIENT

RSS Feed Aggregator and Blogging Smart Client - The Code Project - Smart Client

RSS Feed Aggregator and Blogging Smart Client - The Code Project - Smart Client: "Single instance of an application
This is a common requirement for many desktop applications where you need only one instance of your app to be allowed to run.
Doing this requires a bit of Win32 level knowledge. When an app is created, it registers a Mutex. But before creating it first checks whether there is any Mutex already registered with the same name. If there is, then another instance of application is already running and so we quit.
public static bool IsAlreadyRunning()
{
string strLoc =
Assembly.GetExecutingAssembly().Location;
FileSystemInfo fileInfo = new FileInfo(strLoc);
string sExeName = fileInfo.Name;
bool bCreatedNew;

mutex = new Mutex(true,
'Global\\'+sExeName, out bCreatedNew);
if (bCreatedNew)
mutex.ReleaseMutex();

return !bCreatedNew;
}"

And other Winforms techniques

Friday, April 14, 2006

C# From a Java Developer's Perspective

C# From a Java Developer's Perspective

Thursday, April 13, 2006

Creating bootable Windows 2000/XP/2003 Disc (Nero 6) (Windows 2000/XP/2003) - TACKtech Corp.

Creating bootable Windows 2000/XP/2003 Disc (Nero 6) (Windows 2000/XP/2003) - TACKtech Corp.

Wednesday, April 12, 2006

Shankun blogger sTarter kit

About Me

Tuesday, April 11, 2006

Credit Card Electronic Payment Processing with ASP.NET

Credit Card Electronic Payment Processing with ASP.NET

Saturday, April 08, 2006

Interview Question from QuestPond for .NET developers

Google Groups : C# Developers

Build an Anthem.NET [AJAX] Autosuggest Textbox

Build an Anthem.NET [AJAX] Autosuggest Textbox: "Remote Scripting (which is now referred to inaccurately as 'AJAX' mostly because of a bunch of marketing hype) was invented by Microsoft around 1998, and was first notably used in a commercial application by the MS Exchange team in Outlook Web Access to make the Outlook Web application 'look and feel' more like the desktop Outlook. The level of maturity of OWA was incredible, but it was only recently that browsers besides Internet Explorer got religion and implemented the XMLHttpWebRequest feature natively. That's why the big buzz over 'AJAX', with many developers not even realizing that it has actually been around since last century! "

Tuesday, April 04, 2006

Download or Order Virtual Server 2005 R2 Enterprise Edition for Free

http://www.microsoft.com/windowsserversystem/virtualserver/software/default.mspx

Wednesday, March 29, 2006

WSE 3.0 and VS2005 bootstrap installer

WSE 3.0 and VS2005 bootstrap installer

Distribution License Oracle OPD,NET Beta for ado.net 2.0

Distribution License

Thursday, March 23, 2006

Healthmonitoring in ASP.NET 2.0 (EIF++)

Healthmonitoring in ASP.NET 2.0 (EIF++)

GridViewGuy.com

GridViewGuy.com

GridView Delete, with Confirmation - The Code Project - ASP.NET

GridView Delete, with Confirmation - The Code Project - ASP.NET

Spring .NEt IOC Inversion of Control Basics

Chapter�15.�Quickstarts

Tom Hollander's blog : Some bloody cool Enterprise Library v2 Extensions

Tom Hollander's blog : Some bloody cool Enterprise Library v2 Extensions

Sessions MIX06

Sessions

Monday, March 20, 2006

Microsoft Skills Assessment

Microsoft Skills Assessment

David Hayden [MVP C#] : Open-Closed Principle - IFormattable, IFormatProvider, ICustomFormatter

David Hayden [MVP C#] : Open-Closed Principle - IFormattable, IFormatProvider, ICustomFormatter: "Jeffrey provided an example of a SocialSecurityNumber Class in his recent post, called EVERY application has a natural domain model - level 200.
The class is really a template that leaves things rather wide open, but it served his discussion nicely and didn't need to be built-up futher. Here is the class 'template':"

Wednesday, March 15, 2006

ASP.NET Developer Center: Design Templates

ASP.NET Developer Center: Design Templates

MSDN2 Library

MSDN2 Library

Saturday, March 11, 2006

Jeremy D. Miller -- The Shade Tree Developer : Jeremy's Second Law of TDD: Push, Don't Pull

Jeremy D. Miller -- The Shade Tree Developer : Jeremy's Second Law of TDD: Push, Don't Pull: "Laws of TDD is probably something that should be written by someone with more authority in the community, but I've got a blog and I thought of it first, so here goes. I'll expound on each of these at some point in the misty future, but just for fun here is Jeremy's Laws of Test Driven Development (I'm certainly not claiming any kind of originality here. Some of these rules predate TDD anyway).
Isolate the Ugly Stuff
Push, Don't Pull (this post)
Test small before testing big
Avoid a long tail
Favor composition over inheritance
Go declarative whenever possible
Don't treat testing code like a second class citizen
Isolate your unit tests, or suffer the consequences!
The unit tests will break someday
Unit tests shall be easy to setup"

Scott Bellware [MVP] : Persistence, Repositories, and NHibernate

Scott Bellware [MVP] : Persistence, Repositories, and NHibernate

Friday, March 10, 2006

A Brief History of Microsoft on the Web: Reflections on microsoft.com from Birth to 'Middle Age'

A Brief History of Microsoft on the Web: Reflections on microsoft.com from Birth to 'Middle Age': "

In the beginning, www.microsoft.com was just one computer tucked under a table at the end of a long hallway. It was designed to test Microsoft's first 32-bit Windows implementation of TCP/IP, the software plumbing in Windows that enables Internet communications. "

Thursday, March 09, 2006

Developing Automated Tests Using NUnit and VB.NET

Developing Automated Tests Using NUnit and VB.NET

Tuesday, March 07, 2006

XML Schema Part 1: Structures

XML Schema Part 1: Structures: "XML Schema Part 1: Structures"

XML Quick Reference PDF CheatSheet

http://www.netobjectives.com/download/xmlquickreference.pdf

MinOccurs Attribute Binding Support

MinOccurs Attribute Binding Support

System.Data.OracleClient requires Oracle client software version 8.1.7 or greater. on ASPNET 2

Roy Tore Gurskevik's weblog : System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.: "When usign System.Data.OracleClient with Oracle9i client, i got the following message while connecting to the Oracle database from and ASP.NET application.
System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.

Cause
Security permissions were not properly set when the Oracle 9i Release 2 client was installed on Windows with NTFS. The result of this is that content of the ORACLE_HOME directory is not visible to Authenticated Users on the machine; this again causes an error while the System.Data.OracleClient is communicating with the Oracle Connectivity software from an ASP.NET using Authenticated User privileges.
Solution
To fix the problem you have to give the Authenticated Users group privilege to the Oracle Home directory.
Log on to Windwos as a user with Administrator privileges.
Start Window Explorer and navigate to the ORACLE_HOME folder.
Choose properties on the ORACLE_HOME folder.
Click the �Security� tab of the �Properties� window.
Click on �Authenticated Users� item in the �Name� list.
Uncheck the �Read and Execute� box in the �Permissions� list under the �Allow� column.
Re-check the �Read and Execute� box under the �Allow� column
Click the �Advanced� button and in the �Permission Entries� verify that �Authenticated Users� are listed with permission = �Read & Execute�, and Apply To = �This folder, subfolders and files�. If not, edit that line and make sure that �Apply To� drop-down box is set to �This folder, subfolders and files�. This should already be set properly but it is important that you verify it.
Click the �Ok� button until you close out all"

Simple Talk: Excellent Blog

Simple Talk

Monday, March 06, 2006

Attributes That Control XML Serialization

Attributes That Control XML Serialization

Attributes That Control XML Serialization

Attributes That Control XML Serialization

Scott Bellware [MVP] : NUnit Code Snippets for Visual Studio 2005

Scott Bellware [MVP] : NUnit Code Snippets for Visual Studio 2005

Scott Bellware [MVP] : NUnit Code Snippets for Visual Studio 2005

Scott Bellware [MVP] : NUnit Code Snippets for Visual Studio 2005

Scott Bellware [MVP] : NUnit Code Snippets for Visual Studio 2005

Scott Bellware [MVP] : NUnit Code Snippets for Visual Studio 2005

Ajax alert raises security, scalability issues

Ajax alert raises security, scalability issues: "With Ajax-style applications on the rise, organizations need to consider potential security vulnerabilities and performance issues, according to XML security vendor Forum Systems Inc., which today issued an alert today on this topic. "

Eric Pascarello dissects Ajax security vulnerabilities

Eric Pascarello dissects Ajax security vulnerabilities: "Pascarello's Rules of Thumb for Ajax Security:

If you use user authentication, make sure you check for it on the request page!
Check for SQL injections.
Check for JavaScript injections.
Keep the business logic on the server!
Don't assume every request is real!
Check the data with validation!
Look at the request's header information and make sure it is correct. "

Sunday, March 05, 2006

K. Scott Allen : Health Monitoring in ASP.NET 2.0

K. Scott Allen : Health Monitoring in ASP.NET 2.0

Saturday, March 04, 2006

PrepLogic Free Video Podcast for MCSE, CISSP, CCNA, A+

PrepLogic Free Video Podcast for MCSE, CISSP, CCNA, A+

SH/SC Wiki : UsefulWindowsSoftware

SH/SC Wiki : UsefulWindowsSoftware: "H/SC Wiki: UsefulWindowsSoftware
ShscWiki :: LogIn :: PageIndex :: RecentChanges
This is an organized list of all the software mentioned in the most recent incarnation of the perennial 'post some cool software' thread in SH/SC. In particular, the thread this list was based on was 'Share your recent 'cool programs' that are keepers', which has recently been closed, and will soon be going to the great big archives server in the sky. A previous thread can be seen here [requires archives access], or here as an html document."

Friday, March 03, 2006

Create your own Parameter to the data-source control's parameters collection

Fredrik Norm�n's blog - NSQUARED2: "Create your own Parameter to the data-source control's parameters collection Sunday, January 22, 2006



Category: ASP.Net 2.0


When you use the data-source controls such the SqlDataSource or ObjectDatSource etc, you probably also add parameters to the data-source control�s specified commands, such as the SessionParameter, ControlParameter, ProfileParameter etc. You can also create your own parameters. This post is about how you can create your own Parameter for the data-source controls."

Download details: Anti-Cross Site Scripting Library V1.0

Download details: Anti-Cross Site Scripting Library V1.0: "Microsoft Anti-Cross Site Scripting Library V1.0
Brief Description
This download contains the redistributable files for the Microsoft Application Security Anti-Cross Site Scripting Library."

Characters filteration or validation for XML document.

Characters filteration or validation for XML document.: "Characters filteration or validation for XML document. "

Single and Double Quote for XML document

Single and Double Quote for XML document: "Single and Double Quote for XML document
On my last article we are talking about replacing special character for XML document which was working great but our testing team able to break it again. The single and double quote character are different from NOTEPAD to Microsoft Word .Here is how it looks and it's decimal/Hex value
"

Thursday, March 02, 2006

Brian Knight, SQL Server MVP : Pubs and Northwind databases not installed in SQL Server 2005

Brian Knight, SQL Server MVP : Pubs and Northwind databases not installed in SQL Server 2005: "Pubs and Northwind databases not installed in SQL Server 2005
I love the new Microsoft SQL Server 2005 sample databases (AdventureWorks and AdventureWorksDW). Compared with the Northwind and even worse the Pubs databases, they're amazingly more real-world. They show best practices and demostrate a good portion of the 2005 features. The problem lies in a lot of the SQL Server 2000 examples on the Internet still work in SQL Server 2005 and content that's specific to 2005 is still being produced. So, what to do while you wait for the examples to be updated? Why not live like it's 2002 and install the SQL Server 2000 sample databases? That way the sample RDL files, T-SQL scripts and most other examples on the net will work. "

Wednesday, March 01, 2006

Test Driven Development with ASP.Net and the Model View Presenter Pattern

Jeremy D. Miller -- The Shade Tree Developer : Test Driven Development with ASP.Net and the Model View Presenter Pattern: "Test Driven Development with ASP.Net and the Model View Presenter Pattern"

Web.Net.WebRequest() class in Atlas

Web.Net.WebRequest() class in Atlas

Rex V: an AJAX Regular EXpression eValuator -

Rex V: an AJAX Regular EXpression eValuator -: "This site is a Regular Expression evaluator for three different regular expression systems:
PHP PCRE.
PHP Posix.
Javascript."

Ajax.NET Professional Source Code Download

Ajax.NET Professional Source Code Download

CodeSmith templates : .NetTiers

Files: .NetTiers: ".NetTiers are CodeSmith templates for object-relational mapping that takes an existing SQLServer database and automatically generates a personnalized Data Tiers application block to use in your .Net applications.

Core features include:
Generates ready to use Visual Studio projects and solution.
Fully integrate with Entreprise Library application blocks architecture. Shipped with it's own plugin, so you can configure your application directly from the entlib configuration console. "

Development - Florida - .NET Tools

David Hayden - Sarasota Web Design Development - Florida - .NET Tools

Free .NET XML Tools and links to other .NET tools

XML Tools on the Microsoft XML Tools Team Website - Free .NET XML Tools

Tuesday, February 28, 2006

Jeremy D. Miller -- The Shade Tree Developer : Test Driven Development with ASP.Net and the Model View Presenter Pattern

Jeremy D. Miller -- The Shade Tree Developer : Test Driven Development with ASP.Net and the Model View Presenter Pattern: "The traditional approach for building maintainable user interface code is to separate the typical concerns of a user interface with the Model View Controller (MVC) pattern. Unfortunately, ASP.Net is optimized for Rapid Application Development, not for creating maintainable code. A common criticism of the ASP.Net development model (and ASP classic before that) is that it does not enforce or even encourage a clean Model View Controller separation. Many ASP.Net applications seem to be a jumble of data access code, HTML markup, and business logic, but it doesn’t have to be that way. By itself, the “code-behind” model in ASP.Net does not do enough to create a good separation of concerns. Plus it’s difficult to get code-behind code into unit tests.



My preference is to use the Model View Presenter pattern to structure ASP.Net code to create maintainable and testable solutions. I think of MVP as just a flavor of MVC, but it’s worth stating the differences. The central fact of MVP architectures is that the “view” is a very shallow wrapper around the actual screen. Unlike most traditional MVC implementations, the view classes are entirely passive. The Presenter classes are the active classes that are responsible for initiating the view processing. "

NUnit Code Snippets for Visual Studio 2005

Scott Bellware [MVP] : NUnit Code Snippets for Visual Studio 2005

Sunday, February 26, 2006

PrintFile. Easy file printing in Windows

PrintFile. Easy file printing in Windows

Saturday, February 25, 2006

Download details: Visual Studio Team Foundation Server MSSCCI Provider

Download details: Visual Studio Team Foundation Server MSSCCI Provider

Thursday, February 23, 2006

Course Catalog FREE sql 2005 courses

Course Catalog

Enterprise .NET Community: Build a Data Access Layer with the Visual Studio 2005 DataSet Designer

Enterprise .NET Community: Build a Data Access Layer with the Visual Studio 2005 DataSet Designer

Wednesday, February 22, 2006

Microsoft ASP.NET 2.0 Webcast Series

Microsoft ASP.NET 2.0 Webcast Series: "Welcome to the Microsoft� ASP.NET 2.0 Webcast Series, sponsored by Microsoft, Dr. Dobb�s, and O�Reilly. Choose from 45 webcasts organized by track�JSP, PHP, and ColdFusion. Each track has been designed to take advantage of your existing Web development skills and includes insightful content contributed by Dr. Dobb�s and O�Reilly. Select the track you�re most familiar with, and then pick the webcast topics that�ll make your skill set even more versatile.
When you attend three webcasts, you�ll receive an ASP.NET 2.0 Development Pack, including Microsoft Visual Studio� 2005 Standard Edition (Not for Resale), five chapters of Programming ASP.NET 2.0 Core Reference, by Dino Esposito, and more.*"

Monday, February 20, 2006

Basic Column, Row, and Cell Features in the Windows Forms DataGridView Control

Basic Column, Row, and Cell Features in the Windows Forms DataGridView Control: "How to: Hide Columns in the Windows Forms DataGridView Control
Describes how to prevent specific columns from appearing in the control.
How to: Hide Column Headers in the Windows Forms DataGridView Control
Describes how to prevent the column headers from appearing in the control.
How to: Enable Column Reordering in the Windows Forms DataGridView Control
Describes how to enable users to rearrange columns in the control.
How to: Freeze Columns in the Windows Forms DataGridView Control
Describes how prevent one or more adjacent columns from scrolling.
How to: Make Columns Read-Only in the Windows Forms DataGridView Control
Describes how to prevent users from editing specific columns in the control.
How to: Prevent Row Addition and Deletion in the Windows Forms DataGridView Control
Describes how to remove the row for new records at the bottom of the control to prevent users from adding rows. Also describes how to prevent users from deleting rows.
How to: Get and Set the Current Cell in the Windows Forms DataGridView Control
Describes how to access the cell that currently has focus in the control.
How to: Display Images in Cells of the Windows Forms DataGridView Control
Describes how to create an image column that displays an icon in every cell. "

ASP.NET 2.0 Provider Model: Introduction to the Provider Model

ASP.NET 2.0 Provider Model: Introduction to the Provider Model

David Hayden [MVP C#] : Enterprise Library 2.0 Logging Application Block

David Hayden [MVP C#] : Enterprise Library 2.0 Logging Application Block

Sunday, February 19, 2006

ClickOnce security issues

ClickOnce security issues: "In particular, Dominick (in related posts) points to this article by Brian Noyes which indicates the following:
The registry key \HKLM\Software\Microsoft\.NETFramework\Security\TrustManager\PromptingLevel is the one that allows you to customize the prompting behavior. This key is not present by default after a .NET Framework 2.0 installation, so you will have to create it manually if you want to customize these settings.
Dominick has provided these changes in the lockdown registry script. If you are writing ClickOnce applications, be sure to read this post and understand the issues as well as use his suggestions for locking down your own deployment. "

Friday, February 17, 2006

Windows Forms FAQ

Windows Forms FAQ

Team System blog from vertigo

Team System

Tuesday, February 14, 2006

.NetTiers

.NetTiers: ".NetTiers are CodeSmith templates for object-relational mapping that takes an existing SQLServer database and automatically generates a personnalized Data Tiers application block to use in your .Net applications. "

Yahoo! UI Library

Yahoo! UI Library: "Yahoo! User Interface Library
The Yahoo! User Interface Library is a set of utilities and controls, written in JavaScript, for building richly interactive web applications using techniques such as DOM scripting, HTML and AJAX. The UI Library Utilities facilitate the implementation of rich client-side features by enhancing and normalizing the developer's interface to important elements of the browser infrastructure (such as events, in-page HTTP requests and the DOM). The Yahoo UI Library Controls produce visual, interactive user interface elements on the page with just a few lines of code and an included CSS file. All the components in the Yahoo! User Interface Library have been released as open source under a BSD license and are free for all uses. "

Office Developer Center: Visual Studio Tools for Office Code Samples and Downloads

Office Developer Center: Visual Studio Tools for Office Code Samples and Downloads

Sunday, February 12, 2006

Commonly Used .NET Coding Patterns in CodeDom - The Code Project - C# Programming

Commonly Used .NET Coding Patterns in CodeDom - The Code Project - C# Programming

ASP.NET: Combine Web and Windows Services to Run Your ASP.NET Code at Scheduled Intervals -- MSDN Magazine, March 2005

ASP.NET: Combine Web and Windows Services to Run Your ASP.NET Code at Scheduled Intervals -- MSDN Magazine, March 2005 Timer Scheduling in ASPNET

MSDN .NET Framework Developer Center: SDKs, Redistributables & Service Packs

MSDN .NET Framework Developer Center: SDKs, Redistributables & Service Packs

Deploying Word and Excel Solutions

Deploying Word and Excel Solutions

Compare Visual Studio Team System Editions

Compare

Friday, February 10, 2006

Using Property Extender Providers with ASP.NET 2.0 - The Code Project - ASP.NET

Using Property Extender Providers with ASP.NET 2.0 - The Code Project - ASP.NET

Atlas Tutorial: Creating an AJAX Scribble application - The Code Project - ASP.NET

Atlas Tutorial: Creating an AJAX Scribble application - The Code Project - ASP.NET: "Download C# source files - 74 KB
Download VB.NET source files (Contributed by Hudson Akridge) - 20 KB
Please read instructions at the end of article on how to run the application after downloading the source."

Wednesday, February 08, 2006

ONDotnet.com -- Building Web Parts, Part 2

ONDotnet.com -- Building Web Parts, Part 2

Tuesday, February 07, 2006

Free Training - Learning Series

Free Training - Learning Series: "Learning Series


WebSphere ( 3 items )

C# ( 11 items )
SQL Server 2005 ( 54 items )
ASP.NET 2.0 ( 45 items )


Career Tracks ( 9 items )
J2EE ( 12 items )
VB.NET 2005 ( 56 items )
Oracle 10g DBA ( 34 items )


Oracle Apps ( 38 items )
Wireless ( 9 items )
ASP.NET ( 15 items )
SQL Server ( 6 items )
Oracle 9i ( 20 items )
MSAS ( 71 items )

"

SqlAssist, SQL Intellisense

SqlAssist, SQL Intellisense: "SqlAssist supplies high quality intellisense for SQL to your Visual Studio .NET IDE.
Editing T-SQL is significantly faster with SqlAssist. We've included highly efficient algorithms for offering you exactly what you want to see in the list, and included many additional features to increase your coding productivity.
Highly configurably user templates interface
Many data retrieval and manipulation functions
Run single script on multiple servers/databases
Pretty Formatting"

Sunday, February 05, 2006

Web Log : Using SQL Server Management Studio (and Profiler) Tools with SQL Express 'User Instances'

Stuart Padley's Web Log : Using SQL Server Management Studio (and Profiler) Tools with SQL Express 'User Instances': "In the SQL Server 2005 Express Edition, available for free here, there is new connection string option: 'user instance=true'. When this connection string option is specified, the SQL Express instance you are connecting to (we call this the parent instance), spins of another instance of the sqlservr.exe process, as a client process (not a server service), running in the security context of the currently logged on user. The connection object passed back to the client is to this new user instance (we also call this the 'child instance'), running as a client process in the user's security context.
Internally (in the SQL Engine Group), we call this feature RANU, 'Run As Normal User', it enables each user to have their own sqlservr.exe process, sandboxed to their own security context.
For troubleshootig purposes, it maybe useful to use your SQL Server Management Studio and/or SQL Server Profiler tools (obtained when purchasing a Workgroup/Standard/Enterprise edition) to connect to the 'user instance'."

Friday, February 03, 2006

Web Services White Papers, Webcasts and Product Information from Top IT Vendors

Web Services White Papers, Webcasts and Product Information from Top IT Vendors using a....ko@....l.com

ScottGu's Visual Studio 2005 Web Application Project Preview

Visual Studio 2005 Web Application Project Preview: "Visual Studio 2005 Web Application Project Preview

The Visual Studio 2005 Web Application Project Model is a new web project option for Visual Studio 2005 that provides the same conceptual web project approach as VS 2003 (a project file based structure where all code in the project is compiled into a single assembly) but with all the new features of VS 2005 (refactoring, class diagrams, test development, generics, etc) and ASP.NET 2.0 (master pages, data controls, membership/login, role management, Web Parts, personalization, site navigation, themes, etc). "

Tuesday, January 31, 2006

VB-Tips

VB-Tips

Monday, January 30, 2006

ASP Training for ASP.NET on CDs

ASP Training for ASP.NET on CDs

Using ROW_NUMBER() to paginate your data with SQL Server 2005 and ASP.NET - The Code Project - C# Database

Using ROW_NUMBER() to paginate your data with SQL Server 2005 and ASP.NET - The Code Project - C# Database

ODP.NET: send a ref cursor to PL/SQL with ODP.NET

ODP.NET: Cursor In, Cursor Out: "send a ref cursor to PL/SQL with ODP.NET and Oracle Database 10g Release 2"

Tuesday, January 24, 2006

Channel9 Welcome to Security Wiki

Channel9 Wiki: HomePage

Top 10 Microsoft Webcasts

Top 10 Microsoft Webcasts

Channel 9 ARCast with Ron Jacobs

Channel 9: "ARCast with Ron Jacobs"

Monday, January 23, 2006

MSDN TV: ASP.NET "Atlas" First Look

MSDN TV: ASP.NET "Atlas" First Look

Saturday, January 21, 2006

Download details: Enterprise Library for .NET Framework 2.0 - January 2006

Download details: Enterprise Library for .NET Framework 2.0 - January 2006

Friday, January 20, 2006

Developer::Pipelines | DevNet .NET Cast

Developer::Pipelines | DevNet .NET Cast

Wednesday, January 18, 2006

Polymorphic Podcast :: What makes a good user experience? (January 4, 2006)

Polymorphic Podcast :: What makes a good user experience? (January 4, 2006)

Saturday, January 14, 2006

Download details: Microsoft SQL Server Management Studio Express

Download details: Microsoft SQL Server Management Studio Express

Monday, January 02, 2006

SQL Server Database Book Excerpts

SQL Server Database Book Excerpts

A P R E S S . C O M : Expert ASP.NET 2.0 Advanced Application Design

A P R E S S . C O M : Expert ASP.NET 2.0 Advanced Application Design

A P R E S S . C O M : Expert ASP.NET 2.0 Advanced Application Design

A P R E S S . C O M : Expert ASP.NET 2.0 Advanced Application Design

A P R E S S . C O M : Expert ASP.NET 2.0 Advanced Application Design

A P R E S S . C O M : Expert ASP.NET 2.0 Advanced Application Design

Friday, December 30, 2005

.NET Research Library

.NET Research Library: "Find the latest white papers, case studies, webcasts and product information to help you expand your knowledge of .NET and other relevant technologies. Browse and search through this large repository of documents on the topics that are important to you, from J2EE to SOA to Web Services. View the Daily Top 50 Reports to see the most popular IT reports on .NET and .NET related topics. "

Extend the ASP.NET 2.0 GridView

Extend the ASP.NET 2.0 GridView
Posted by: Keith Nicholson on December 13, 2005 @ 06:41 PM
Parag Agarwal, a support engineer working with the Microsoft ASP.NET support group, demonstrates how to extend the new GridView control in ASP.NET 2.0 to support multiple rows in the footers.

Look over the solution on his blog.

Parag recently authored a Knowledge Base article comparing user controls to custom controls. Access the article here.

Thursday, December 29, 2005

Seven Habits of Highly Effective Programmers

Seven Habits of Highly Effective Programmers

Wednesday, December 28, 2005

Various ASPNET Podcast

http://aspnet.libsyn.com/

An interview with Miljan Braticevic over Skype. ComponentArt is working on a new set of components that provide support for Ajax style development. Listen in as Miljan talks about Ajax, their new components, and a Windows Explorer type sample from the ComponentArt web site at http://webui30.componentart.com/

Tuesday, December 27, 2005

VistaDB 2.1 database for .NET has been released

VistaDB 2.1 database for .NET has been released


This 2.1 update includes over 60 improvements, including new support for .NET 2.0 and Visual Studio 2005. VistaDB is a small-footprint, embedded SQL database alternative to Jet/Access, MSDE and SQL Server Express 2005 that enables developers to build .NET 1.1 and .NET 2.0 applications. Features SQL-92 support, small 500KB embedded footprint, free 2-User VistaDB Server for remote TCP/IP data access, royalty free distribution for both embedded and server, Copy 'n Go! deployment, managed ADO.NET Provider, data management and data migration tools. Free trial is available for download.
- Learn more about VistaDB
- Repost this to your blog and receive a FREE copy of VistaDB 2.1!

Monday, December 26, 2005

MP3 dotnet podcast from DDJ

http://devnet.developerpipeline.com/windows/

Some UDDI powerpoint and IT course materials

Download also a lecture, etc.

http://www.sims.berkeley.edu/academics/courses/is290-3/f05/

Saturday, December 24, 2005

Dotnet Webcasts from DevNet

http://devnet.developerpipeline.com/podcasts/dotnetcast/

Friday, December 23, 2005

Web service security patterns released

Web service security patterns released

Wednesday, December 14, 2005

J.D. Meier's Blog : Security Guidance for .NET 2.0 Index

J.D. Meier's Blog : Security Guidance for .NET 2.0 Index

Tuesday, December 13, 2005

Download details: Internet Explorer Developer Toolbar Beta

Download details: Internet Explorer Developer Toolbar Beta

Thursday, December 08, 2005

Eric Wise : Self Documenting Code

Eric Wise : Self Documenting Code: "Methods
When you name a method, do try to describe its intent. Please don't use generic names like 'GetValue', or 'GetNext', or 'GetAvg'. They are obscure and require the reader to actually drill into the logic to determine what the method actually does. Instead use something like 'GetCustomerId()' or 'GetNextCustomer' or even 'CalculateAvgPrice'.
In addition, when naming methods, since they are 'actions' I try to use the verb-noun naming convention. A good example of this is 'DisplayHourlyReport', a bad example is 'HandleOutput'.
Another advantage to implementing this type of specific naming in your code is that it can give you an excellent heads up when a method is trying to do too much. Many coders, including myself, advocate that a method should be responsible for only one task, and related tasks even if called in line should be abstracted to their own methods. When you are attempting to name a method and you find it difficult because of the scope of the method you should definitely examine it and see if you can break it up into smaller more specific pieces.

Variables
Simliar to the principles for naming methods, name your variables explicitely as to what they accomplish. The worst case scenario of this would be using a variable 'd' which tells me absolutely nothing. Slightly less harsh would be using 'dt, dte, or date'. What is most beneficial to the reader is using a name like 'CurrentDate' or 'MeetingDate'.
Something many are guilty of, including myself, is the use of counters like i or j. This is mostly the fault of our coding book authors since it seems to be in almost any sample code that has a loop counter. However i and j tell us nothing about the loop. This also ties to the use of magic numbers in l"

Test Driven Development (TDD) and Extreme Programming (XP) Agile Methods at Google

Test Driven Development (TDD) and Extreme Programming (XP) Agile Methods at Google: "After reading Applying UML and Design Patterns - An Introduction to Object-Oriented Analysis and Design and Iterative Development by Craig Larman, I am now using a custom version of Agile UP as presented in the book. I say ?custom?, because I am still getting comfortable and knowlegable about various agile methods and trying to find what works for me. Given my love for test driven development, Extreme Programming may better suit my needs, but I will probably take what I need from several methodologies, which is okay.
Regardless, I think the key is iterative development. You want to develop your applications in short iterations ( 1 - 2 weeks for my projects ) that produce quality subsets of your application. For me, these iterations have to produce a compilable and executable subset of the application from which the client can provide feedback. I also agree with Craig Larman in that your initial iterations should focus on a combination of Risk Driven Development and Client Driven Development Requirements. Hit those requirements first that are architecturally significant and difficult as well as provide those features that are signficant to the client. If you wait on the tough stuff until the end, you are setting your project up for doom if it turns out you cannot pull off the critical functionality based on your earlier work. You risk the chance of an application core rewrite."

ADO.NET Programmer's Reference - Chapter 16 - COM Interoperability - The Code Project - Book Chapters

ADO.NET Programmer's Reference - Chapter 16 - COM Interoperability - The Code Project - Book Chapters

Using ROW_NUMBER() to paginate your data with SQL Server 2005 and asp.net c# - The Code Project - C# Database

Using ROW_NUMBER() to paginate your data with SQL Server 2005 and asp.net c# - The Code Project - C# Database

Complete Comparison for VB.NET and C# - The Code Project - .NET

Complete Comparison for VB.NET and C# - The Code Project - .NET

Sending SMS using .NET through a Web service - The Code Project - C# WebServices

Sending SMS using .NET through a Web service - The Code Project - C# WebServices

Call a .NET component from an ASP page - The Code Project - .NET

Call a .NET component from an ASP page - The Code Project - .NET: "Introduction
Call a .NET component from an ASP page

The following steps outline how to call a .net component from VB6.0/ASP developed in either Microsoft Visual Basic? .NET or Microsoft Visual C#? .NET.
PART - I
1. Launch your Visual Studio .NET.
2. Open your .NET Class Project
3. Add a reference to the System.EnterpriseServices namespace.
4. At the top of the code file, add the following statements to specify the namespaces needed
-----------------------------------------------------------
[C#]
using System.EnterpriseServices;
using System.Runtime.InteropServices;

[Visual Basic .NET]
Imports System.EnterpriseServices
Imports System.Runtime.InteropServices
-----------------------------------------------------------

5. Add the following statements before the namespace declaration to set the assembly options:
-----------------------------------------------------------
[C#]
[assembly: ApplicationName('ClassLibrary1')]
[assembly: ApplicationActivation(ActivationOption.Server)]
[assembly: ApplicationAccessControl(false,
AccessChecksLevel=AccessChecksLevelOption.ApplicationComponent)]

[Visual Basic .NET]




* ClassLibrary1 ? sample project.
----------------------------------------------------------

These attributes help specify how the .NET assembly will operate with COM+ services. The Appli"

Application development with DB2 UDB PDF DOC

Application development with DB2 UDB DOWNLOAD THE PDF

Wednesday, December 07, 2005

DB2 add-ins for Visual Studio 2005 - Developer Release

DB2 add-ins for Visual Studio 2005 - Developer Release

Sample programs for DB2 UDB for Linux, UNIX and Windows Version 8

Sample programs for DB2 UDB for Linux, UNIX and Windows Version 8

Developing a Visual Basic 6 Web Service Client for the Car Rental System

Developing a Visual Basic 6 Web Service Client for the Car Rental System

Tuesday, December 06, 2005

Tips to optimize design-time build performance for Web Sites in Visual Studio 2005

Tips to optimize design-time build performance for Web Sites in Visual Studio 2005

Monday, December 05, 2005

A Laboratory For Teaching Object-Oriented Thinking

A Laboratory For Teaching Object-Oriented Thinking

ASP.NET 2.0 QuickStart Tutorial - Developer Fusion, the UK Developer Community

ASP.NET 2.0 QuickStart Tutorial - Developer Fusion, the UK Developer Community

useit.com: Jakob Nielsen on Usability and Web Design

useit.com: Jakob Nielsen on Usability and Web Design

Sunday, December 04, 2005

ASP.NET 2.0 QuickStart Tutorial - Developer Fusion, the UK Developer Community

ASP.NET 2.0 QuickStart Tutorial - Developer Fusion, the UK Developer Community

Friday, December 02, 2005

Omnicore Software

Omnicore Software

Thursday, December 01, 2005

CodeXchange.net Addin for Visual Studio.NET

CodeXchange.net Addin for Visual Studio.NET

GotCodeSnippets.NET: THE online source for Visual Studio code snippets

GotCodeSnippets.NET: THE online source for Visual Studio code snippets

FinalBuilder.com

FinalBuilder.com

Web Administration: Top Ten Ways To Pump Up IIS Performance -- TechNet Magazine, November ? December 2005

Web Administration: Top Ten Ways To Pump Up IIS Performance -- TechNet Magazine, November ? December 2005

Tuesday, November 29, 2005

GotCodeSnippets.NET: THE online source for Visual Studio code snippets

GotCodeSnippets.NET: THE online source for Visual Studio code snippets

ASP.NET Developer Center: Provider Toolkit

ASP.NET Developer Center: Provider Toolkit

Configuring ASP.NET 2.0 Application Services to use SQL Server 2000 or SQL Server 2005

Configuring ASP.NET 2.0 Application Services to use SQL Server 2000 or SQL Server 2005

Microsoft TechNet: SQL Server 2005

Microsoft TechNet: SQL Server 2005

mssqlserver.com: Achieving High Availability Part 1

mssqlserver.com: Achieving High Availability Part 1

SQL Server 2005 - Management Utilities

SQL Server 2005 - Management Utilities

Enjoy Every Sandwich : SQL Server Express failed to generate user instance

Enjoy Every Sandwich :: "SQL Server - Otherwise (RSS)
Think of it as a default constraint
A fix for that annonying per-user instance problem with SQLExpress
Thanks to fellow DevelopMentor 'Brain' Kevin Jones (RSS) for pointing this one out.
These problems left me stranded for days, then today, on another machine, I hit a different set of problems I kept getting the following 'Failed to generate user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.' and if I set 'User Instance' to false the following 'An attempt to attach an auto-named database for file C:\[app_path]\ASPNetDB.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.'
..
If you don't want to follow the link, the short answer is that SQLExpress creates a directory per user in 'c:\Documents and Settings\[user]\Local Settings\Application Data\Microsoft\Microsoft SQL Server Data\SQLEXPRESS' that it uses to store information. Deleting this directory has fixed both of my problems. "

ASPFAQ : SQL Server 2005

ASPFAQ : SQL Server 2005: "Number of articles: 29
Last update: 2005-10-29
What version of SQL Server 2005 do I have?
What should I know about Express Manager (XM)?
Where do I post issues and questions about SQL Server 2005?
What happened to IntelliSense?
Can I download Books Online separately?
Why does SQL Server 2005 break SQL Server 2000 tools?
How do I view the code for system objects?"

Monday, November 28, 2005

SQL 2005 - advanced querying Richard Campbell Blogs Too

Richard Campbell Blogs Too: "I'm hanging out in the United Kingdom in Reading, just outside of London, attending the VBUG Conference.
Carl and Mark Miller are here as well.
Yesterday I did my famous advanced querying session, I've attached my demo files here for the folks who wanted them.
AdvQuerying_Setup.sql (3.48 KB)
AdvQuerying.sql (23.52 KB)
I'm also including my error handling queries, since I had enough time to quickly show off how SQL Server 2005 can actually handle an error: in this example, I handle a deadlock inside a stored procedure.
Error Handling Main.sql (1.48 KB)
Error Handling Second.sql (.26 KB)"

Adding Google Suggest to ASP.NET application

Adding Google Suggest to ASP.NET application

PageMethods, well-defined URLs for your ASP.NET sites by metaSapiens

PageMethods, well-defined URLs for your ASP.NET sites by metaSapiens: "PageMethods provides a solution for the limitations of the standard way of handling pages, URLs and parameters.
The usual way to proceed is not structured. With PageMethods, the code of your pages is simpler, cleaner and more reliable"

Sunday, November 27, 2005

Google Logo Maker : Search Engine Maker - Googlefor.com - Search Maker

Google Logo Maker : Search Engine Maker - Googlefor.com - Search Maker

MSDN TV: Web Service Enhancements (WSE) 3.0 and Secure Web Services

MSDN TV: Web Service Enhancements (WSE) 3.0 and Secure Web Services

Wrapping up ASP.NET Providers and remote setups

Wrapping up ASP.NET Providers and remote setups: "Like Rogers' comment, you need to run them in a particular order. However if you run the command with a filename you'll get them all in one single SQL script so run it like this:
aspnet_regsql -sqlexportonly MyProvider.SQL -A all"

TechEd 2005 HOL

TechEd 2005 HOL: "TechEd 2005 Hands-On Lab Manuals
HOL001 - Visual Studio Team Architect Edition
ARC01: Using the Distributed System Designers to visually design and validate service-oriented systems in Visual Studio 2005
Download Hands-On Lab Manual (Download Size: 364KB)
HOL002 - Visual Studio Team Architect Edition
ARC02: Using the Application Designer to design Your Web Service Architecture in Microsoft Visual Studio 2005
Download Hands-On Lab Manual (Download Size: 291KB)
HOL003 - ARC03: Using the Logical Datacenter Designer for Configuration and Deployment in Visual Studio 2005
Download Hands-On Lab Manual (Download Size: 271KB)"

Download details: Application Verifier

Download details: Application Verifier: "Application Verifier is a runtime verification tool for unmanaged code that assists in quickly finding subtle programming errors that can be extremely difficult to identify with normal application testing. "

Thursday, November 24, 2005

Using the System.Net.WebClient Asynchronously

Using the System.Net.WebClient Asynchronously

This will help you understand C# Constructor Overloads and Inheritance

This will help you understand C# Constructor Overloads and Inheritance

Wednesday, November 23, 2005

ASP.NET QuickStart Tutorial

ASP.NET QuickStart Tutorial: "Welcome to the ASP.NET 2.0 QuickStart Tutorial"

SQL 2005 Service Manager

SQL 2005 Service Manager

Tuesday, November 22, 2005

Artima Chapters Library - Books

Artima Chapters Library - Books

.NET Deployment Options

.NET Deployment Options

Using ROW_NUMBER() to paginate your data with SQL Server 2005 and asp.net c# - The Code Project - C# Database

Using ROW_NUMBER() to paginate your data with SQL Server 2005 and asp.net c# - The Code Project - C# Database

Asynchronous Web Service Options in .NET V2

The #1 online source for .NET/XML and Web Service Topics: "Asynchronous Web Service Options in .NET V2
Description As more and more Web Services are made available additional flexibility is needed when calling them. Applications that call Web Services may need to do so in an asynchronous (parallel) manner especially when calling multiple services or services that may take a longer amount of time to complete.
The code found in this sample demonstrates how to make synchronous and asynchronous calls to Web Services using features in .NET version 2.0. The included code demonstrates the following types of asynchronous calls:
Callbacks
WaitHandles
Polling
Asynchronous Events
Asynchronous ASP.NET Pages "

Monday, November 21, 2005

ASP.NET 1.1 Insider Solutions Great 1.1 samples and solutions

ASP.NET 1.1 Insider Solutions

Sunday, November 20, 2005

Configuring ASP.NET 2.0 Application Services to Use SQL Server 2000 or SQL Server 2005

Configuring ASP.NET 2.0 Application Services to Use SQL Server 2000 or SQL Server 2005

ASP.NET 2.0 and the Provider Model, without SQL Express

ASP.NET 2.0 and the Provider Model, without SQL Express

Data Access and Storage Developer Center: New DataSet Features in ADO.NET 2.0

Data Access and Storage Developer Center: New DataSet Features in ADO.NET 2.0

Data Access and Storage Developer Center: New DataSet Features in Visual Studio 2005

Data Access and Storage Developer Center: New DataSet Features in Visual Studio 2005

Saturday, November 19, 2005

System.Transactions: Implement Your Own Resource Manager

System.Transactions: Implement Your Own Resource Manager

Sahil Malik [MVP C#] : SQL Server 2005: A neat T-SQL trick - Batching

Sahil Malik [MVP C#] : SQL Server 2005: A neat T-SQL trick: "DECLARE @rowcount int
DECLARE @count int
SET @rowcount = 10
WHILE (@rowcount = 10)
BEGIN
BEGIN TRANSACTION
Update top (10) veryBigTable set a = b, updated=1 where updated=0 and c = d
Set @rowcount = @@rowcount
COMMIT
END"

Encrypt Connection Strings AppSettings and Web.Config in ASP.NET 2.0 - Security Best Practices

Encrypt Connection Strings AppSettings and Web.Config in ASP.NET 2.0 - Security Best Practices

Thursday, November 17, 2005

.NET Heaven - Essential Resources for .NET, Visual C#.NET, VB.NET, ASP.NET, Visual Studio .NET

.NET Heaven - Essential Resources for .NET, Visual C#.NET, VB.NET, ASP.NET, Visual Studio .NET: "C# Corner v2.0 Launched Nov 14, 2005
BOOTHWYN, PA. Nov 15, 2005. Mindcracker announced launch of C# Corner version 2.0. This new 2.0 version of C# Corner is redesigned and rewritten using C# and ASP.NET and adds many new features to the site.


Visual Studio 2005 Section Launched Nov 14, 2005
We have recently launched a new section dedicated to Visual Studio IDE features, code snippet, and articles. Check it out here. "

Active Directory and Microsoft .NET

Active Directory and Microsoft .NET

.NET TREATS & TRICKS :: TOOLS

.NET TREATS & TRICKS :: TOOLS

Script Repository: Active Directory User Accounts

Script Repository: Active Directory User Accounts

.NET TREATS & TRICKS :: ACTIVE DIRECTORY AND .NET

.NET TREATS & TRICKS :: ACTIVE DIRECTORY AND .NET

Ajax.NET Professional and Client Callbacks

Ajax.NET Professional and Client Callbacks

Wednesday, November 16, 2005

edevil?s weblog ? Javascript libraries roundup

edevil?s weblog ? Javascript libraries roundup

Tuesday, November 15, 2005

Visual Basic 6.0 Resource Center: Diagnose This

a process wrapper

Using the Process class from VB6
Like most of the classes in the .NET Framework, the Process class is not directly available to a VB6 application. Instead, you can expose the functionality of this class by creating a simple wrapper in VB.NET.

The code for the wrapper is as follows:

Listing 2. VB.NET Wrapper Class




Visual Basic 6.0 Resource Center: Diagnose This

Caching Method Results in ASP.NET 2.0 using Delegates

Caching Method Results in ASP.NET 2.0 using Delegates

ASP.NET 2.0 Security Practices at a Glance

ASP.NET 2.0 Security Practices at a Glance

MSDN .NET Framework Developer Center: Runtime Breaking Changes

MSDN .NET Framework Developer Center: Runtime Breaking Changes

Monday, November 14, 2005

Cheat Sheet Roundup - Over 30 Cheatsheets for developers

Cheat Sheet Roundup - Over 30 Cheatsheets for developers

Demystifying SAML

Demystifying SAML

ASP.NET Developer Center: Provider Toolkit

ASP.NET Developer Center: Provider Toolkit

CommerceStarterKit.org - Home of the PayPal-enabled Commerce Starter Kit

CommerceStarterKit.org - Home of the PayPal-enabled Commerce Starter Kit

ASP.NET 2.0: URL Mapping with RegEx Support

ASP.NET 2.0: URL Mapping with RegEx Support

Certification FAQ | Certification Discussions

Certification FAQ | Certification Discussions

Sunday, November 13, 2005

Tips for Nested Master Pages and VS 2005 Design-Time

Tips for Nested Master Pages and VS 2005 Design-Time

Saturday, November 12, 2005

Aaron Stebner's WebLog : What to do if I get package load failures in the final release of VS 2005?

Aaron Stebner's WebLog : What to do if I get package load failures in the final release of VS 2005?

Oracle9i Database List of Books (Release 2 (9.2))

Oracle9i Database List of Books (Release 2 (9.2))

Visual Studio 2005 Web Deployment Projects (Beta Preview)

Visual Studio 2005 Web Deployment Projects (Beta Preview)

Visual Studio 2005 - ASP.NET Forums

Visual Studio 2005 - ASP.NET Forums

Got Directory Services? New Ways to Manage Active Directory using the .NET Framework 2.0 -- MSDN Magazine, December 2005

Got Directory Services? New Ways to Manage Active Directory using the .NET Framework 2.0 -- MSDN Magazine, December 2005

GotDotNet User Sample: PINVOKE.NET Add-In for Visual Studio (v1.0)

GotDotNet User Sample: PINVOKE.NET Add-In for Visual Studio (v1.0)

World Wide Region Select Page

World Wide Region Select Page

Friday, November 11, 2005

AutoComplete AJAX Control with Ajax.NET Professional

AutoComplete AJAX Control with Ajax.NET Professional

Thursday, November 10, 2005

Creating a better BackgroundWorker: CancelImmediately and other goodies

Creating a better BackgroundWorker: CancelImmediately and other goodies

Uninstall a VSI File

Uninstall a VSI File: "Uninstall a VSI File
If you want to uninstall a VSI file for Visual Studio .NET 2005, its kinda hard to figure out what is going on. I didn't find anyway any way in the Control Panel applet. I couldn't find it in the Visual Studio Directory. It was driving me up the wall. Well, it appears the files are stored in the 'My Documents\Visual Studio 2005\Templates\Project Templates' directory. Delete the file and its uninstalled. Life is better. "

AJAX problems for newbies

AJAX problems for newbies: "AJAX problems for newbies
I have some items I learned about AJAX (or Ajax.NET Professional) developer newbies:
You cannot access the controls or HTML elements on your web site if you are using DOM/DHTML on the client-side to modify data. Without a postback you will not get the changed parts of the page. An example: if you have a placeholder control you can set the visibility style to hidden on the client. If you want to have the same value for the visibility value on the server you have to post it back, with AJAX or a full postback.
You should not do too many AJAX requests. One reason is that you can only have two connections at the same time (with one process, i.e. with one running iexplore.exe). If you want to initialize a lot of controls on window onload event you should pack it in one method. If you have some initializing data use the JSON serializer to write this data as a JavaScript to the page instead of invoking a AJAX request later.
The Session and Cache collections are available through the System.Web.HttpContext.Current static value. You can also implement the preferred way with implementing the IContextInitializer interface. This will be needed for future developments.
AJAX should not be used to get MBs of data back to the client. Also, you should have a look at the viewstate, some developers showed me pages that are filling DataSets from a database during Page_Load and again, if they are using AJAX. Decide what you want to use and load within AJAX or the common ASP.NET Page.
posted on Thursday, November 10, 2005 12:06 AM "

Wednesday, November 09, 2005

ASP.NET Development Center: Step-By-Step Guide to Converting Web Projects from Visual Studio .NET 2002/2003 to Visual Studio 2005

ASP.NET Development Center: Step-By-Step Guide to Converting Web Projects from Visual Studio .NET 2002/2003 to Visual Studio 2005

Monday, November 07, 2005

Kent Sharkey : Learn VWD and ASP.NET 2.0 with Interactive Simulations

Kent Sharkey : Learn VWD and ASP.NET 2.0 with Interactive Simulations

Saturday, November 05, 2005

: Visual Studio 2005 Product Line Overview

: Visual Studio 2005 Product Line Overview

: Visual Studio 2005 Product Line Overview

: Visual Studio 2005 Product Line Overview

Thursday, November 03, 2005

Plunging into .NET Development - Weblog Pieter Gheysens: Personalization [Web Parts] in ASP.NET 2.0

Plunging into .NET Development - Weblog Pieter Gheysens: Personalization [Web Parts] in ASP.NET 2.0

Configuring ASP.NET 2.0 Application Services to use SQL Server 2000 or SQL Server 2005

Configuring ASP.NET 2.0 Application Services to use SQL Server 2000 or SQL Server 2005

Welcome to the MSDN Library

Welcome to the MSDN Library

A low-level Look at the ASP.NET Architecture

A low-level Look at the ASP.NET Architecture

Wednesday, November 02, 2005

.NET Framework Developer Center: Generics FAQ: Fundamentals

.NET Framework Developer Center: Generics FAQ: Fundamentals

Tuesday, November 01, 2005

Commonly Used .NET Coding Patterns in CodeDom - The Code Project - C# Programming

Commonly Used .NET Coding Patterns in CodeDom - The Code Project - C# Programming

IBM Websphere Community Edition / Oracle 10g Express Edition (FREE)

IBM Websphere Community Edition / Oracle 10g Express Edition (FREE)

Does Visual Studio Rot the Mind?

Does Visual Studio Rot the Mind?: "Does Visual Studio Rot the Mind?
Ruminations on the Psychology and Aesthetics of Coding
By Charles Petzold
A Talk Delivered at the NYC .NET Developer�s Group,
October 20, 2005 "

Monday, October 31, 2005

: Pre-RTM Uninstall Instructions Visual Stuidio 2005

: Pre-RTM Uninstall Instructions

Agile Modeling (AM) Home Page: Effective Practices for Modeling and Documentation

Agile Modeling (AM) Home Page: Effective Practices for Modeling and Documentation: "Agile Modeling (AM) is a practice-based methodology for effective modeling and documentation of software-based systems. Simply put, Agile Modeling (AM) is a collection of values, principles, and practices for modeling software that can be applied on a software development project in an effective and light-weight manner. As you see in Figure 1 AM is meant to be tailored into other, full-fledged methodologies such as XP or RUP, enabling you to develop a software process which truly meets your needs. "

Microsoft Professional Developers Conference 2005

Microsoft Professional Developers Conference 2005
http://microsoft.sitestream.com/PDC05/PRS/PRS407.zip
http://microsoft.sitestream.com/PDC05/PRS/PRS404.zip
http://microsoft.sitestream.com/PDC05/PRS/PRS420.zip

Saturday, October 29, 2005

ActiveWidgets :: Download/Buy

ActiveWidgets :: Download/Buy

SmartNavigation removes CSS and the solution

Sanjay kattimani's blogspace: "Smartnavigation removes CSS after postback
This was the sole reason for blogging this. Yes smartNavigation strips off css after a postback.
Solution - you need to explicitly specify the path of css as absolute path instead of relative path. You can keep it dynamic by adding some server side code as below LINK href=''< =Request.ApplicationPath %>/Styles/Sanjay.css''

Microsoft's documentation of SmartNavigation

If you still wish to use smartnavigation on other browsers take a look at this code project (Free source) Crossbrowser SmartNavigation Alternative II

Conclusion: Use this feature only when you are sure of your audience using latest IE (at least IE 5) only. And make use of it when its absolutely necessary to make your application work better. And do take care of css paths etc."

Download details: Security Engineering Explained

Download details: Security Engineering Explained

Friday, October 28, 2005

PDC05: Hands On Labs rediscovered LEARN QUICKLY

PDC05: Hands On Labs rediscovered

Sunday, October 23, 2005

CoDe Magazine - Order Back Issues ::

CoDe Magazine - Order Back Issues ::

Configure Windows XP to Automatically Login

Configure Windows XP to Automatically Login: "Configure Windows XP to Automatically Login
After downloading fixes from Microsoft Windows Update page or via Automatic Updates, you may notice that Windows XP no longer logs into your account automatically. This is caused by the .NET Framework Update from Microsoft. It creates an additional user account called ASP.NET, which you can see in the Control Panel User Accounts applet. But, don't need to remove this update or don't delete this account. You can still configure Windows XP to automatically login using these methods:
Method 1
Click Start, Run and type CONTROL USERPASSWORDS2, and click Ok. Select the user account from the list (to which account you want to automatically logon). Uncheck Users must enter a user name and password to use this computer option, and click Ok. Type the user account password and complete the process.
For Windows XP Home, don't try to auto-login as the built-in Administrator, as you'll receive a restrictions error.
"

Saturday, October 22, 2005

Partho's Weblog : Generics Terminology in .NET Framework

Partho's Weblog : Generics Terminology in .NET Framework: "Basic Terminology
Generics:
They are classes/structs/interfaces/methods (CSIM hereafter) that have placeholders for one or more of the types they store and/or use.
Generic Type:
Union of the set of all Generic Type Definitions and Constructed Types.
A System.Type object represents a Generic Type iff its IsGenericType property is true
Generic Method:
Must have a non-empty list of Generic Type Parameters.
A method being a Generic Method doesn�t have anything to do with the enclosing type being Generic Type or not
Union of the set of all Generic Method Definitions and Constructed Methods.
Generic Type Parameters can appear as the return type or as the types of the formal parameters
A System.Reflection.MethodInfo object represents a Generic Method iff its IsGenericMethod property is true "

Friday, October 21, 2005

.NET Dashboard - Handle Requests Asynchronously

.NET Dashboard - Handle Requests Asynchronously: "Handler Basics
An HTTP handler in ASP.NET can be any class that implements the IHttpHandler interface. Web Forms themselves are HTTP handlers, in that their System.Web.UI.Page base class implements the IHttpHandler interface. The IHttpHandler interface is called by the ASP.NET runtime to process a request for a destination URL. The IHttpHandler interface has two members as shown below.
"

WebRequest and SSL (The underlying connection was closed. Could not establish trust relationship with remote server.)

WebRequest and SSL (The underlying connection was closed. Could not establish trust relationship with remote server.): "WebRequest and SSL (The underlying connection was closed. Could not establish trust relationship with remote server.)"

MSDN2 Library

MSDN2 Library

Monday, October 17, 2005

Databinding Custom Collections C# Source Code

Databinding Custom Collections C# Source Code: "Databinding Custom Collections C# Source Code
I've received quite a few requests for a C# version of the sample code that came with my article. So, here is a C# version of the 1.1 custom collection. If I get inundated with requests I'll port the 2.0 version, but otherwise it's probably not necessary. There are a couple of changes that you should be aware of."

Sunday, October 16, 2005

Forget MSMQ. SQL Service Broker Handles Asynchronous Messaging Better

BForget MSMQ. SQL Service Broker Handles Asynchronous Messaging Better: "esides relational database management tools, SQL Server 2005 provides several new tools and APIs for building scalable enterprise applications. One of these features is SQL Service Broker, a technology that allows you to exchange data and messages asynchronously between SQL Server databases and SQL Server instances. Because of its integration with the CLR, SQL Service Broker also enables you to place more business logic (such as managed stored procedures) directly in your database. "

Friday, October 14, 2005

VSTS Rocks

VSTS Rocks

Academic Alliance - Visual Studio.NET Tutorials

Academic Alliance - Visual Studio.NET Tutorials

Paul Thurrott's SuperSite for Windows: It's the future of Windows ... Today!

Paul Thurrott's SuperSite for Windows: It's the future of Windows ... Today!

Thursday, October 13, 2005

10/19/05 - Databinding in ASP.NET 1.1 and 2.0 FREE WEBINAR

10/19/05 - Databinding in ASP.NET 1.1 and 2.0: " 10/19/05 - Databinding in ASP.NET 1.1 and 2.0
Wednesday, October 19, 2005
New York 11:00 AM - 12:00 PM
Los Angeles 8:00 AM - 9:00 AM
London 4:00 PM - 5:00 PM
Amsterdam 5:00 PM - 6:00 PM "