Sign in
Jeremiah Clark's Blog
A place to collect my ramblings about Microsoft and the .NET Framework.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
.Net
Books
C#
C# 3.0
Compilers
Debugging
Hacks
IE8
LINQ
MVC
Off Topic
Opinion
Parallel Computing
Performance
PowerShell
Reflection
SharePoint
SQL
SSRS
Tips
Unit Testing
Unity
Visual Studio
Windows
Workflow
Archive
Archives
February 2012
(1)
August 2011
(1)
January 2011
(3)
December 2010
(1)
January 2010
(1)
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)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Jeremiah Clark's Blog
Visual Studio Unit Testing Extensions v1.2.0.0
Posted
over 1 year ago
by
Jeremiah.Clark
1
Comments
Version 1.2.0.0 of these Unit Testing Extensions are available on CodePlex today. The original post that talks about the project can be found here . An updated NuGet package is also available . This release contains additional assertions on IEnumerable<T>...
Jeremiah Clark's Blog
PowerShell and SQL Server Compact 4.0: A Happy Mix
Posted
over 2 years ago
by
Jeremiah.Clark
0
Comments
Using SQL Server Compact 4.0 from PowerShell is easy and powerful. Here is an example that shows how to reference the needed libraries, create the database, and add a table to the database – all from PowerShell. 1: $binpath = "C:\Program Files\Microsoft...
Jeremiah Clark's Blog
ASP.NET MVC: Fun With Routes
Posted
over 2 years ago
by
Jeremiah.Clark
0
Comments
For the purposes of this post, let’s say that we are building a community blogging site. We want multiple users to be able to maintain separate blogs on the site. We have an area in our MVC application that is called Blogs . We have...
Jeremiah Clark's Blog
Visual Studio Testing Extensions now available on NuGet
Posted
over 2 years ago
by
Jeremiah.Clark
0
Comments
I have become a huge fan of NuGet lately. It really makes managing references and dependencies a lot easier. If you are not familiar with NuGet, here is the description from its site: NuGet (formerly known as NuPack) is a free, open source developer...
Jeremiah Clark's Blog
Book Review – Microsoft .NET: Architecting Applications for the Enterprise
Posted
over 2 years ago
by
Jeremiah.Clark
1
Comments
For the entire month of January, I am doing the Daddy Day Care thing for our 4 month old twins. Since I can’t really work during this time, I figured that it would be a good chance to catch up on some reading that I have been putting off. This book...
Jeremiah Clark's Blog
Visual Studio Unit Testing Extensions v1.1.0.0
Posted
over 3 years ago
by
Jeremiah.Clark
3
Comments
I just released version 1.1.0.0 of these Unit Testing Extensions on CodePlex today. The original post that talks about the project can be found here . This release contains additional assertions on DateTime, ICollection<T>, and String. This release...
Jeremiah Clark's Blog
2010 – A New Year, Some New Goals
Posted
over 3 years ago
by
Jeremiah.Clark
3
Comments
Like most people, I assume, every new year I come up with a set of goals that I would like to accomplish during the upcoming year. But I never seem to write them down, so I always forget what my plan was by the time February rolls around. So starting...
Jeremiah Clark's Blog
ServiceLocator and Unity – Be Careful
Posted
over 4 years ago
by
Jeremiah.Clark
3
Comments
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...
Jeremiah Clark's Blog
Tip: Entity Framework, Unity, and The ASP.NET RoleProvider – Read the MSDN Fine Print
Posted
over 4 years ago
by
Jeremiah.Clark
2
Comments
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 schema...
Jeremiah Clark's Blog
Testing Your Unity XML Configuration
Posted
over 4 years ago
by
Jeremiah.Clark
2
Comments
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" encoding...
Jeremiah Clark's Blog
Unit Testing The MVC JsonResult
Posted
over 4 years ago
by
Jeremiah.Clark
10
Comments
One of my favorite features of ASP.NET MVC is the support for JSON . In MVC, an Action Method in a Controller can return a JsonResult. This really comes in handy when integrating with jQuery to provide AJAX-like functionality in an application. In...
Jeremiah Clark's Blog
The Plethora Of Prodigal Patterns
Posted
over 4 years ago
by
Jeremiah.Clark
2
Comments
"Make everything as simple as possible, but not simpler" Albert Einstein With all of the software design patterns available to developers, I think that we sometimes lose focus of the pragmatic development approach: Write code that works. Don’t...
Jeremiah Clark's Blog
25 Random Things About Me
Posted
over 4 years ago
by
Jeremiah.Clark
0
Comments
There is a meme going around Facebook where everyone is writing 25 random things about themselves. I thought I would share this on my blog as well. So without further ado, here are some random facts about me: 1. I get really annoyed when people...
Jeremiah Clark's Blog
Are Software Developers Really Engineers?
Posted
over 4 years ago
by
Jeremiah.Clark
17
Comments
A few co-workers and I lately have been having this conversation. The following hypothetical argument illustrates the con of the argument: How can we be engineers if we can’t agree on what we’re building? Do engineers have conversations...
Jeremiah Clark's Blog
Dynamic Expression Trees
Posted
over 4 years ago
by
Jeremiah.Clark
3
Comments
I have been working on a project that uses the Entity Framework as the persistence store. I am implementing a global search capability that returns results from the various entities that have a string property that start with a given query string. So...
Jeremiah Clark's Blog
Visual Studio Unit Testing Extensions v1.0.0.0 - Continued...
Posted
over 4 years ago
by
Jeremiah.Clark
1
Comments
Last night I wrote a post about the Visual Studio Unit Testing Extensions that I put out on CodePlex . I forgot to mention one of my favorite features that the library provides. I showed how you can use the library to write readable unit tests like the...
Jeremiah Clark's Blog
Visual Studio Unit Testing Extensions v1.0.0.0
Posted
over 4 years ago
by
Jeremiah.Clark
7
Comments
This is a personal hobby project that I have been working on recently. The code has been released on CodePlex and can be found here . The Visual Studio Testing Extensions is a library that exposes a set of extension methods to provide a way to write more...
Jeremiah Clark's Blog
Provide Caching For Your Complex Functions
Posted
over 5 years ago
by
Jeremiah.Clark
2
Comments
Function caching, or more specifically memoization , is a code optimization technique that can be used to speed up code that calls complex functions with the same inputs. Let's take a look at the classic fibonacci function: 1: private int Fib( int...
Jeremiah Clark's Blog
Extending MVC: Auto Refreshing A Partial View Using AJAX
Posted
over 5 years ago
by
Jeremiah.Clark
3
Comments
This is something that I put together in a few minutes to provide a way to refresh a partial view on a specified time interval. Let's create a MVC User Control that displays the current date and time called "TimeControl.ascx": 1: <%@ Control...
Jeremiah Clark's Blog
Extending MVC: Returning an Image from a Controller Action
Posted
over 5 years ago
by
Jeremiah.Clark
14
Comments
So I was thinking tonight, what if I want my MVC application to serve images that are stored in a SQL database as binary data? Or files that are stored in the database? One of the things that I really like about MVC is that ability to add...
Jeremiah Clark's Blog
Autocompletion Textbox in MVC Using jQuery
Posted
over 5 years ago
by
Jeremiah.Clark
28
Comments
Ok, I have to admit it: jQuery is awesome. If you haven't started looking at it, I highly recommend that you do. It works wonders in the ASP.NET MVC world. One of the best things about jQuery is the enormous number of plug-ins that are available for adding...
Jeremiah Clark's Blog
CheckBoxList Helper for MVC
Posted
over 5 years ago
by
Jeremiah.Clark
18
Comments
The early previews of the MVC Toolkit contained a few helpers that are not available in the current MVC Beta and MVC Beta Futures . On of the ones that was nixed was the CheckBoxList helper. I was in need of this type of functionality lately...
Jeremiah Clark's Blog
IE8 Rocks! Slicing The Web
Posted
over 5 years ago
by
Jeremiah.Clark
2
Comments
A few days ago, I wrote a post about creating custom IE8 Accelerators . I thought that I would stick to the same IE8 theme and talk about another new feature that I really like: Web Slices. Here is a brief introduction about what Web Slices are...
Jeremiah Clark's Blog
IE8 Rocks! Creating Custom Accelerators
Posted
over 5 years ago
by
Jeremiah.Clark
8
Comments
Internet Explorer 8 Beta 2 is currently available. If you haven't downloaded it yet, you can find it here . I have been using it for about two months now and I am really enjoying some of the new features. One of the features that I find...
Jeremiah Clark's Blog
Use PowerShell To Test Code Snippets
Posted
over 5 years ago
by
Jeremiah.Clark
1
Comments
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...
Page 1 of 3 (60 items)
1
2
3