(Scott Mitchell) I started my career as a web developer with Microsoft’s Active Server Pages (ASP), the predecessor to ASP.NET. ASP was a very simple scripting engine and lacked the tools that ASP.NET developers today take for granted, most notably a debugger. Debugging an ASP script typically invol
Tag: Development
Creating Master/Detail and Update Pages with Entity Framework
(Peter Vogel) In previous columns (“Integrating Entity Framework with an ASP.NET Web Site,” “Extending an Entity Framework Model — and Some Limitations” and “Using the Entity Model to Create an ASP.NET Page”), I’ve built a simple Entity Framework model and used it to drive a series of drop-down lis
Writing Tests to Catch Memory Leaks in .NET
(Brian Genisio) Although Microsoft will claim that it is “not possible to have a memory leak in managed code”, most seasoned .NET developers will laugh at that statement. It turns out that it is very easy to leak memory — just keep a referencing object around longer than the referenced object, and
Data Access with the ADO.NET Entity Framework
(Ty Anderson) The recent release of the Microsoft .NET Framework 3.5 Service Pack 1 delivered two new technologies that can positively affect how you work with data: The ADO.NET Entity Framework and ADO.NET Data Services. Since Microsoft doesn’t typically release new technologies in a service pack,
Performance Tuning in Database Systems
(John Charles Olamendy) Performance is a very important topic in database systems, and it’s highly related to well design queries.
Printing ListView Or DataGridView
(vsevolod_p) As I needed a tool to print out the ListView and DataGridView from C# code, I couldn’t find anything easy to handle with on the web. So I spent a bit of time writing my own printing class. Known bugs: whether one chooses Landscape in Printer Settings or not, it is discarded. I assume it
Exemplifying the Factory Method Pattern inside the .NET Framework
(Xianzhong Zhu) Design patterns were introduced in Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides’s seminal work “Design Patterns: Elements of Reusable Object-Oriented Software” (Addison-Wesley). In this book, 23 patterns were specified and described, which form the foundation of any s
Maintaining state in ASP.NET: Know your options
(Tony Patton) Developing robust solutions with ASP.NET requires a thorough understanding of the platform. An important part of most Web applications is maintaining data or state between pages. Here’s a look at ASP.NET’s four ways to maintain data.
WPF RichTextBox
(dinesh kumar) The RichTextBox control allows you to view and edit text, paragraph, images, tables, other rich text format contents.
Using Styles to Define Silverlight 2 Control Templates
(Dan Wahlin) Silverlight 2 allows styles to be defined to prevent duplication of attributes across controls in a XAML file. In the previous article, I demonstrated how styles could be defined and used. As a review, here’s an example of defining a style named ButtonStyle that targets a Button control
