(Ed Churnside) Sometimes, adding default settings will result in your program throwing a generic error in the app.config file. The MSDN reference page for the error says something like, “This is a generic error thrown when something goes wrong.” Wonderfulit’s completely accurate and totally useless.
Tag: Development
Lessons Learned: Sorting out Crystal Reports 2008 Versioning, Service Packs and Deployment
(Julia Lerman) Since I began developing with Visual Basic around 1996 or 1997, I have been using some form of Crystal Reports (CR) to design reports. As CR has evolved over time, I have had to frequently spend more time than I would like to remember not only updating my development environment and r
.NET Tip: Take a Byte out of Strings
(Jay Miller) If you work much with Streams or Sockets, you are bound come across the need to convert a string to a byte array or to convert a byte array into a string. There is an easy means to accomplish this, but it is not where I would have expected it to be. The methods to do this are […]
Visual Brush in WPF
(Raj Beniwal) In this article describes how to use a VisualBrush in WPF. VisualBrush is a new addition to the brush types since GDI+. A VisualBrush is used to fill UI elements.
Avoid problems when redirecting via dropdownlists
(Tony Patton) One of the most important skills a developer needs is the ability to debug and fix problematic code whether it is their own or another developers handiwork. My own skills were put to the test recently when faced with a situation involving redirection and dropdownlists. I was surprised
Extension Methods
(Roger McCook) Extension methods are available starting with C# 3.0 and Visual Basic 9.0, which were released in 2007 with version 3.5 of the .NET platform.
ASP.NET MVC Tip #44 Create a Pager HTML Helper
(Stephen Walther) In this tip, I demonstrate how you can create a custom HTML Helper that you can use to generate a user interface for paging through a set of database records. I build on the work of Troy Goode and Martijn Boland. I also demonstrate how you can build unit tests for HTML Helpers by f
Using ASP.NET 3.5’s ListView and DataPager Controls: Grouping By a Data Field
(Scott Mitchell) The ListView control renders its ItemTemplate once for every item in its DataSource. As discussed in Grouping Data with the ListView Control it is possible to inject grouping template every N records. This flexibility allows for scenarios like displaying data in a multi-column table
Using JavaScript Effectively in ASP.NET 2.0 – Part 1
(Satheesh Babu) JavaScript is one of the very versatile scripting languages that are used in Web applications. Even though we can accomplish everything in server side programming using C#, we can still prefer to do some of the things, like validations, etc., using JavaScript. In ASP.NET 1.x, we do n
ASP.NET MVC Validation using Policy Injection Application Block in Enterprise Library
(David Hayden) I talked about using the Enterprise Library Validation Application Block with ASP.NET MVC to handle validation of your business objects in our web applications. I used the Validation Application Block’s Validation Facade Class in the Controller and then queried the results of Validati
