Archive for May, 2007

Storing Application-wide Data in WPF

It is very common in Windows applications to store application-wide data such as database connection strings, application title and folder path,etc that should be available for the duration of the application instance. The general strategy for storing such data is to have public classes with public properties/fields and access them from anywhere in the application. […]

category: .NET, C#, WPF    

Static Breadcrumb with SiteMapPath Control

Today I saw a question in the ASP.NET newsgroup asking about implementing a static (non-hyperlinked) site map path. As you know, the SiteMapPath control in ASP.NET 2.0 displays a breadcrumb showing the current spot in the site map navigation defined in the web.sitemap XML file. Parent nodes in the current navigation path are shown as […]

category: ASP.NET, C#