February 20, 2004

StrutsTestCase: Drilled-down Testing for Struts-based Java Apps

ou can verify that your Web-based Java application accepts the proper inputs from the HTTP request stream and displays the proper results to the HTTP response stream by performing black box testing with HttpUnit. However, since black box testing essentially simulates a Web browser, the testing code interacts with the

ADO.NET Best Practices, Part II

DO.NET has a strong and powerful disconnected model that lets programmers build a Web of in-memory objects and relate contents coming from different tables and even from different data sources. It’s important to think through your code strategy carefully when processing queries and updates on interrelated tables to preserve scalability

Three Cool New Features in C#

# has always had a reputation as a clean language with lots of innovation. The Whidbey-release of Visual Studio .NET ships with a new version of the C# compiler that has a number of great new features. Some of them will be implemented as generic runtime features that will show

Dynamically Adding Controls

‘m a baseball fan. While I’d rather watch a game in person, more often than not, I’m watching it on the television. Something that you may not consciously notice while watching a game on television is the backstop. You see it every time the camera angle from the pitcher’s point

Creating User-Defined Data Types in Yukon

he next version of SQL Server (code name Yukon) has extensive support for the Common Language Runtime (CLR). Previous versions of SQL Server (2000 and earlier) had a mechanism for creating custom data types. These data types were nothing more than aliases to system data types. In Yukon, you can

Creating Skinned Controls for ASP.NET

opular applications including ICQ, WinAmp, and Windows Media Player use skins to enable a user to choose another appearance for that application. The skins for those applications can be very simple, or have outrages themes, such as a particular movie. There’s a very cute Winnie the Pooh skin for ICQ,

Ask the Doc Detective: Background Apps and More

an’t find what you’re looking for? Just ask?if it’s in there, I’ll find it for you; if it isn’t, I’ll let you know that as well (and tell you where else you might go to find it). Have a question for the Doc? Send your questions for future columns to

.NET Gripes and XAML Worries

ike many of you, I spend my days and nights building applications in Visual Studio .NET. I have been developing “real” applications in this tool for around a year and a half and I find some things missing from the Visual Studio .NET languages and the .NET Framework. What things

C# 2.0 Code Refactoring

he next version of C# will feature a code refactoring engine built into the Visual Studio environment. A term coined by Martin Fowler, code refactoring allows you to change the code structure without changing or affecting what the code itself actually does. For example, changing a variable name or packaging

No more posts to show