Follow @PDSAInc .NET - Paul Sheriff's Blog for the Real World

Paul Sheriff's Blog for the Real World

This blog is to share my tips and tricks garnered over 20+ years in the IT industry

Paul's Favorites

Browse by Tags

All Tags » .NET (RSS)
Wrapping up Configuration Manager
Many developers use the ConfigurationManager class to retrieve settings from the .Config file of your application. This class allows you to retrieve settings from the <appSettings> element. With just a single line of code as shown in the following...
Posted: Feb 06 2012, 07:27 PM by psheriff | with 3 comment(s)
Filed under:
Architecting Applications for Multiple UIs video now available!
Just wanted to let everyone know that I published a new video this morning on "Architecting Applications for Multiple UIs". This $20 video is an hour long and includes 3 sample applications in WPF, ASP.NET and Windows Phone with a common set of class...
Posted: Jan 19 2012, 01:59 PM by psheriff | with 1 comment(s)
Filed under: ,
Clean up after Visual Studio
As programmer’s we know that if we create a temporary file during the running of our application we need to make sure it is removed when the application or process is complete. We do this, but why can’t Microsoft do it? Visual Studio leaves tons of temporary...
Call for Abstracts for Spring 2012 DevConnections Conference
Calling all Speakers! My name is Paul Sheriff and I am one of the conference chairs for DevConnections in the Spring of 2012 which will be held at the MGM Grand in Las Vegas. I am looking for some great speakers in 3 different areas of expertise. 1. Fundamentals...
Retrieving Data: From Synchronous to Asynchronous
As technology keeps moving on, we as developers are continually challenged to learn new ways of doing our jobs. Many years ago (starting as far back as Visual Basic 4.0) the movement was toward OOP and creating N-Tier applications. This meant wrapping...
An Alternate Approach to a GridView
I have long had a problem with using grids to display data to the user. I have an even bigger problem with editing on a grid. A grid is easy to implement for a developer, and this is normally why developers use them. However, a grid is normally not the...
Posted: Sep 20 2011, 01:37 PM by psheriff | with 4 comment(s)
Filed under: , ,
From Normal Collections to Generic Collections
Prior to .NET Version 2.0 if you wanted to hold a collection of string, integers, or objects you had to work with some of the classes in the System.Collections namespace. This namespace contains classes and interfaces needed to define collections of objects...
Posted: Sep 06 2011, 11:58 AM by psheriff | with 2 comment(s)
Filed under: ,
Understanding XAML Screen Layout
When you first start designing XAML screens in either WPF or Silverlight there are several approaches you can take. You can just draw controls on a Grid and let the controls figure out where they are in relation to one another and the Window via the Margin...
Get List of Active Directory Domains
I recently had a client ask how to retrieve a list of Active Directory Domains as he wanted to give a list to his user. Turns out this is very easy to do in .NET. All you have to do is add a Reference to the System.DirectoryServices DLL and add a using...
Sort Data in Windows Phone using Collection View Source
When you write a Windows Phone application you will most likely consume data from a web service somewhere. If that service returns data to you in a sort order that you do not want, you have an easy alternative to sort the data without writing any C# or...
More Posts Next page »