Archive for category: Asp.Net 2.o

Building your own Data Source Controls in ASP.NET 2.0

6 December, 2005 (02:05) | .NET, Asp.Net 2.o | By: Thomas

There is a good chance we may end up trying to write our own datasource for the project I’m on at the moment. But first we need to understand all thats involved. Nikhil wrote a series of articles on his blog that help out.
“….ASP.NET 2.0 introduces a powerful new declarative data-source model. Among other things, [...]

Custom Event Handlers in ASP.NET 2.0

16 October, 2005 (06:53) | Asp.Net 2.o | By: Thomas

This week I came across an issue that took a little bit of research to figure out. So for posterity, here is a solution that worked.
When working with user controls it frequently becomes necessary to notify the container of the user control that some event occurred within the control itself. Especially when the result of [...]

Control state in ASP.NET 2.0

16 October, 2005 (04:50) | Asp.Net 2.o | By: Thomas

Fritz Onion discusses the new ControlState property which allows you to disable the overall Viewstate of a page (?) yet still retain the ability of various controls to respond to events that do require state – paging in a grid for example
Read More
 At the same time Fritz also points out that the ViewState itself [...]

A Unit Testing Walkthrough with Visual Studio Team Test

3 July, 2005 (19:48) | .NET, Asp.Net 2.o | By: Thomas

Learn about the unit testing features of Team Test from a TDD, test-then-code approach with this walkthrough.
Read More

.NET Framework Developer Center: New Recommendations for Using Strings in .NET 2.0

4 June, 2005 (19:13) | .NET, Asp.Net 2.o | By: Thomas

Via Mike Gunderloy – a very nice discussion of reasons why InvariantCulture is deprecated in 2.0 Read More

VS 2005 Beta Notes

26 May, 2005 (18:49) | .NET, Asp.Net 2.o, General | By: Thomas

So I’ve been playing with some of the features found in the VS 2005 IDE and came up with a couple interesting improvements. Here are some screenshots.

This first one shows an alignment aid when working with WinForms in layout mode. The slight purple line on the left side of the text controls helps to align [...]

Microsoft listened – thats nice

23 May, 2005 (14:59) | .NET Code Related, Asp.Net 2.o, General | By: Thomas

It appears that MS not only provided VS 2005 with a new “Object Datasource” – allowing me to bind controls to business objects, MS also has become more and more vocal about the need of using proper domain objects instead of datasets. Thats nice. After 3+ years of railing against datasets as the “cure-all of [...]

SQLConnectionBuilder Class

17 May, 2005 (18:54) | .NET Code Related, Asp.Net 2.o, General | By: Thomas

So there I was perusing the Beta MSDN Documentation when I came across this little ditty.
MS has finally decided to give us a class that lets us deal with a connection string in terms of properties as opposed to a straight out string. So now you can do stuff like “builder.Password = someNewPassword”.
Wadda ya know [...]

Use of Generics to Eliminate Casting

17 May, 2005 (18:49) | .NET Code Related, Asp.Net 2.o | By: Thomas

Uuuuuhhhhh, ahhhh…. nice!
Peter Provost touches on the use of generics to replace casting certain interfaces. Now thats what I’m talking ’bout! What a fun concept.
Read more

How times have changed

12 May, 2005 (17:23) | .NET, Asp.Net 2.o, General, Software Architecture | By: Thomas

I received a free copy of a very anemic Visual Studio magazine. Leafing through it I was reminded how I used to read at least 3 different magazines on a monthly basis. I don’t anymore. As a matter of fact I used to read business related materials incessantly. Programing books, magazines, websites you name it. [...]