Welcome to MSDN Blogs
Sign in
|
Join
|
Help
Jeremiah Clark's Blog
A place to collect my ramblings about Microsoft and the .NET Framework.
RSS 2.0
Atom 1.0
Home
Email
Search
Tags
.Net
C#
C# 3.0
Compilers
Debugging
GAC
Hacks
IE8
jQuery
LINQ
MVC
Off Topic
Opinion
Parallel Computing
Performance
PowerShell
Reflection
SharePoint
Singularity
SQL
SSRS
Tips
Training
Twitter
Unit Testing
Unity
Visual Studio
Windows
Windows Media Center
Workflow
News
Follow me at http://twitter.com
Disclaimer:
The views expressed on this blog are mine and do not necessarily reflect the views of my employer. All postings are provided "AS IS" with no warranties, and confer no rights.
Archives
May 2009 (2)
April 2009 (1)
February 2009 (7)
December 2008 (1)
November 2008 (4)
October 2008 (2)
September 2008 (3)
August 2008 (2)
July 2008 (5)
June 2008 (2)
April 2008 (1)
March 2008 (4)
February 2008 (7)
January 2008 (2)
October 2007 (1)
September 2007 (9)
Favorite Blogs
Scott Guthrie's Blog
Scott Hanselman's Computer Zen
Mark Russinovich's Blog
Adam Nathan's Blog
John Robbin's Blog
Tess Ferrandez's Blog
Justin Burtch's Blog
Matt Podwysocki's Blog
Joe Duffy's Blog
Browse by Tags
All Tags
»
Tips
»
.Net
C# 3.0
Hacks
PowerShell
Unit Testing
Unity
Visual Studio
ServiceLocator and Unity – Be Careful
Chris Tavarez has provided a handy adapter ( UnityServiceLocator ) for using ServiceLocator to resolve types from a Unity container. You can then use ServiceLocator.SetLocatorProvider() to register the UnityServiceLocator as the default provider for ServiceLocator.
Read More...
Posted
Tuesday, May 12, 2009 3:00 PM
by
Jeremiah.Clark
|
2 Comments
Filed under:
.Net
,
Tips
,
Unity
Tip: Entity Framework, Unity, and The ASP.NET RoleProvider – Read the MSDN Fine Print
A custom Role Provider is a very useful tool for adding custom authorization to your ASP.NET and/or ASP.NET MVC applications. A common use for a custom Role Provider is when you have role information stored in a data store that differs from the
Read More...
Posted
Monday, May 11, 2009 2:28 PM
by
Jeremiah.Clark
|
2 Comments
Filed under:
.Net
,
Tips
,
Unity
Testing Your Unity XML Configuration
When using Unity as your IoC container , one way to configure the container is to use an configuration section in your app.config or web.config file. A simplified example of this configuration is shown below: 1: <? xml version ="1.0"
Read More...
Posted
Friday, April 03, 2009 6:02 PM
by
Jeremiah.Clark
|
2 Comments
Filed under:
.Net
,
C# 3.0
,
Tips
,
Unit Testing
Use PowerShell To Test Code Snippets
If you are like me, then you might have multiple Console applications in your projects folder that you use for testing small chunks of code. I think at one point recently, I was up to ConsoleApplication28 before I cleaned up the unused projects.
Read More...
Posted
Friday, September 12, 2008 11:59 PM
by
Jeremiah.Clark
|
1 Comments
Filed under:
.Net
,
PowerShell
,
Tips
When is a List not a List?
The answer: When it is a SortedList. Here is one issue that I have with the Framework. The name SortedList<T> implies that the class inherits IList<T>, but it does not. In fact, it implements IDictionary<TKey,TValue>. This
Read More...
Posted
Sunday, June 29, 2008 1:55 AM
by
Jeremiah.Clark
|
1 Comments
Filed under:
.Net
,
Tips
How to Assign a Strong Name to an Unsigned 3rd-Party Assembly
Here is the scenario: You get a .NET DLL from somewhere that provides some really cool functionality that you need for your BizTalk/SharePoint/etc application. So you go to install the utility into the GAC, and then you realize that the DLL
Read More...
Posted
Thursday, February 28, 2008 11:27 PM
by
Jeremiah.Clark
|
4 Comments
Filed under:
.Net
,
Hacks
,
Tips
Visual Studio Tip: Get Public Key Token for a Strong Named Assembly
I can't remember where I picked this tip up from, but I have found it useful on many occasions so I thought that I would share it. Sometimes I need to reference the strong named assembly that I am writing in a config file or some other location, and I
Read More...
Posted
Tuesday, February 19, 2008 6:03 PM
by
Jeremiah.Clark
|
21 Comments
Filed under:
.Net
,
Tips
,
Visual Studio