Monday, November 22, 2010
Tuesday, November 09, 2010
Raven MQ – Messaging queue for the web - by the Rhino Queues developer
Key thing here that I read was that: "Unlike in most queuing systems, queues are cheap"
Monday, November 08, 2010
Tuesday, October 26, 2010
Evernote 4 for Windows is here
Does not look good for .net or WPF mind.
"there were some problems we simply couldn’t fix: the blurry fonts, slow startup times, large memory footprint, and poor support for certain graphics cards were all issues that the technology behind 3.5 (Windows .net and WPF) was incapable of resolving. As a result, we ended up chasing down platform bugs rather than adding the great features our users wanted.
So we decided to start over from scratch, with fast, native C++ that we knew we could rely on. As you’ll see, the results are amazing. This new version will set a foundation for rapid improvement."
Monday, October 25, 2010
Friday, October 22, 2010
Tuesday, October 12, 2010
A Morning Donut Could Improve Your Memory and Ability to Concentrate
Donuts are good for you after all. The article even has science to back this up.
Mmmm donuts!
Thursday, October 07, 2010
Announcing NuPack, ASP.NET MVC 3 Beta, and WebMatrix Beta 2
Package management in .NET. The rails chaps have had something similar for a while now.
Good stuff!
Tuesday, September 28, 2010
ASP.NET Security Update Shipping Tuesday, Sept 28th - ScottGu's Blog
Sunday, September 26, 2010
Separation of Concerns with Domain Events
A good post on using domain events to help with one of my favourite topics separation of concerns. I used to use events quite a bit with my model view presenter based websites and windows forms apps. A bit rusty now but still trying to keep my eye in.
http://mikehadlow.blogspot.com/2010/09/separation-of-concerns-with-domain.html
Wednesday, September 08, 2010
Monday, September 06, 2010
MSDN Magazine: Cutting Edge - Better Web Forms with the MVP Pattern
Wednesday, September 01, 2010
Tuesday, August 31, 2010
Source code for the WSDOT iPhone application
Source code for the WSDOT iPhone application
Monday, August 30, 2010
Thursday, August 26, 2010
My odd sql variable names
Tonight I was looking through some code looking for a snippet of SQL that I wrote ages ago that I quickly wanted to hack and modify for something I am working on when I came across this:
This wasn’t what I was looking obviously but it has made me chuckle.
The Downside Of Providing An API Through Extension Methods
Moq and Rhino Mocks intellisense
Wednesday, August 25, 2010
Internet Explorer 9 UI Revealed
Tuesday, August 24, 2010
Log Reporting Dashboard for ASP.NET MVC
Integrates Log4Net, NLog, Elmah, and ASP.NET Health Monitoring into an ASP.NET MVC 2.0 Website and provide a log reporting dashboard.
Looks a very good article on the code project
My .NET ICache
.NET caching code used to help improve testability, swap out different implementations, and enhance the API.
http://openmymind.net/2010/8/24/My-DOTNET-ICache#
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | using System; using System.Web.Caching; public interface ICache { T Get<T>(string key, params object[] keyArgs); T Fetch<T>(string key, Func<T> callIfGetReturnsNull, params object[] keyArgs); T Fetch<T>(string key, Func<T> callIfGetReturnsNull, DateTime absoluteExpiration, params object[] keyArgs); T Fetch<T>(string key, Func<T> callIfGetReturnsNull, TimeSpan slidingExpiration, params object[] keyArgs); T Fetch<T>(string key, Func<T> callIfGetReturnsNull, CacheDependency dependencies, params object[] keyArgs); T Fetch<T>(string key, Func<T> callIfGetReturnsNull, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration, params object[] keyArgs); T Fetch<T>(string key, Func<T> callIfGetReturnsNull, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, params object[] keyArgs); T Fetch<T>(string key, Action<T> callIfGetReturnsValue, Func<T> callIfGetReturnsNull, params object[] keyArgs); T Fetch<T>(string key, Action<T> callIfGetReturnsValue, Func<T> callIfGetReturnsNull, DateTime absoluteExpiration, params object[] keyArgs); T Fetch<T>(string key, Action<T> callIfGetReturnsValue, Func<T> callIfGetReturnsNull, TimeSpan slidingExpiration, params object[] keyArgs); T Fetch<T>(string key, Action<T> callIfGetReturnsValue, Func<T> callIfGetReturnsNull, CacheDependency dependencies, params object[] keyArgs); T Fetch<T>(string key, Action<T> callIfGetReturnsValue, Func<T> callIfGetReturnsNull, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration, params object[] keyArgs); T Fetch<T>(string key, Action<T> callIfGetReturnsValue, Func<T> callIfGetReturnsNull, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, params object[] keyArgs); void Insert(string key, object data, params object[] keyArgs); void Insert(string key, object data, DateTime absoluteExpiration, params object[] keyArgs); void Insert(string key, object data, TimeSpan slidingExpiration, params object[] keyArgs); void Insert(string key, object data, CacheDependency dependencies, params object[] keyArgs); void Insert(string key, object data, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration, params object[] keyArgs); void Insert(string key, object data, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, params object[] keyArgs); void Remove(string key, params object[] keyArgs); void RemoveAll(); int Count(); } |
Monday, August 23, 2010
Roll your own mocks with RealProxy
An article on writing your own mocking framework. This looks like a good side project to do at work....
NSubstitute - a friendly substitute for .NET mocking libraries
NSubstitute - a friendly substitute for .NET mocking libraries
http://nsubstitute.github.com/
Saturday, August 21, 2010
How to switch between HTTP and HTTPS in ASP.NET MVC2
[RequireHttps]
public ActionResult LogOn()
{
.....
}
Thursday, August 19, 2010
jQuery AJAX calls to a WCF REST Service - Rick Strahl's Web Log
Building JSON,XML REST API using WCF services
[ServiceContract]public interface IFetchChildItems{[OperationContract][WebInvoke(Method = "GET",ResponseFormat = WebMessageFormat,BodyStyle = WebMessageBodyStyle.Wrapped,UriTemplate = "{ID}/{Filter}")]void DoWork(int ID, string Filter);}
Integrated StructureMap container for the MvcServiceLocator in ASP.NET MVC 3 - Context is King
/// <summary>
/// Initializes a new instance of the <see cref="StructureMapControllerFactory"/> class.
/// </summary>
/// <param name="container">The container.</param>
public StructureMapControllerFactory(IContainer container)
: this(container, new DefaultControllerFactory())
{
}