tdupont
Name: tdupont
Score: 688.1
Last Seen: 22 days, 17 hours, 25 minutes ago
Member Since: 26 January, 2010
DotNetShoutout
atom rss
1
Shouts

How to Test RavenDB Indexes

published 15 days, 8 hours, 31 minutes ago posted by tduponttdupont 22 days, 17 hours, 25 minutes ago
Tuesday, June 04, 2013 4:49:11 PM GMT Tuesday, May 28, 2013 7:55:25 AM GMT
RavenDB offers an EmbeddableDocumentStore NuGet Package that allows you to create a complete in memory instance of RavenDB. This makes writing integration tests for your custom Indexes extremely easy. (more)
category: Data | clicked: 2 | comment | | source: www.tomdupont.net
tags:
3
Shouts

Alphanumeric Lucene Analyzer for RavenDB

published 27 days, 15 hours, 3 minutes ago posted by tduponttdupont 37 days, 9 hours, 29 minutes ago
Thursday, May 23, 2013 10:17:15 AM GMT Monday, May 13, 2013 3:51:06 PM GMT
RavenDB allows you to save typeless documents into a data store, but the only way to query them is by indexes that are built with Lucene.Net. I found myself in need of an Alphanumeric analyzer; this analyzer is similar to the SimpleAnalyzer, but still respects numeric values. Fortunately Lucene.Net's base classes made this easy to build... (more)
category: Data | clicked: 10 | comment | | source: www.tomdupont.net
tags:
11
Shouts

Understanding .NET Garbage Collection

posted by KodefuGuruKodefuGuru 62 days, 20 hours, 8 minutes ago
Thursday, April 18, 2013 5:11:30 AM GMT
Every program needs memory. Unfortunately, memory is finite. (more)
category: Architecture | clicked: 10 | comment | | source: blogs.telerik.com
tags:
5
Shouts

SQL Server NOLOCK Hint

posted by BlackWaspBlackWasp 63 days, 16 hours, 24 minutes ago
Wednesday, April 17, 2013 8:56:11 AM GMT
Where locking causes problems with queries it can be useful to execute those queries with the NOLOCK hint. This specifies that a query should ignore existing locks and create no data locks. However, the hint introduces the potential of data corruption. (more)
category: How To | clicked: 5 | comment | | source: www.blackwasp.co.uk
tags:
4
Shouts

MVC JSON Model Binder Attribute

published 33 days, 15 hours, 52 minutes ago posted by tduponttdupont 40 days, 6 hours, 45 minutes ago
Friday, May 17, 2013 9:27:50 AM GMT Friday, May 10, 2013 6:35:15 PM GMT
Moving complex data structures from client to server used to be difficult, but not anymore! Just add the JsonBinder attribute to your action parameters, and this Custom ModelBinder will automatically detect the type and parameter name, and deserialize your complex JSON object to the data structure of your choice. (more)
category: Web Dev | clicked: 15 | comment | | source: www.tomdupont.net
tags:
4
Shouts

.NET String Extensions: Split Qualified

published 33 days, 15 hours, 52 minutes ago posted by tduponttdupont 40 days, 7 hours, 12 minutes ago
Friday, May 17, 2013 9:27:50 AM GMT Friday, May 10, 2013 6:07:41 PM GMT
Split a string and take qualified and escaped values into account. For example, split on commas outside of quoted substrings. (more)
category: How To | clicked: 41 | comment | | source: www.tomdupont.net
tags:
5
Shouts

Report Unhandled Errors from JavaScript

posted by tduponttdupont 66 days, 17 hours, 10 minutes ago
Sunday, April 14, 2013 8:09:35 AM GMT
Logging and aggregating error reports is one of the most important things you can do when building software. If you are like the vast majority of websites out there, then you don't know about JavaScript errors, and it's time to fix that! This article talks about reporting unhandled JavaScript errors using the window.onerror event handler with StackTrace.js, and gives solutions for projects built in jQuery and ASP.NET MVC. (more)
category: Web Dev | clicked: 5 | comment | | source: www.tomdupont.net
tags:
1
Shouts

Run Multiple Tasks in a Windows Service

posted by tduponttdupont 82 days, 6 hours, 34 minutes ago
Friday, March 29, 2013 6:45:31 PM GMT
Run multiple tasks in a single WindowsService, and let the base library do all of the work setup and tear down for you. The WindowsServiceTasks NuGet package is simple, flexible, and extremely light weight. (more)
category: How To | clicked: 3 | comment | | source: www.tomdupont.net
tags:
3
Shouts

Running a Windows Service as a Console App

published 99 days, 9 hours, 22 minutes ago posted by tduponttdupont 108 days, 17 hours, 45 minutes ago
Tuesday, March 12, 2013 3:57:33 PM GMT Sunday, March 03, 2013 7:34:45 AM GMT
How do you test windows services? You could install your service into windows and then attach your debugger to it's process, but that is a lot of work. Why not just run your service as a console application? Then you can test it by just pressing play in Visual Studio! (more)
category: How To | clicked: 31 | comment | | source: www.tomdupont.net
tags:
8
Shouts

Cache Repository for MVC

published 112 days, 12 hours, 57 minutes ago posted by tduponttdupont 121 days, 14 hours, 46 minutes ago
Wednesday, February 27, 2013 12:23:10 PM GMT Monday, February 18, 2013 10:33:39 AM GMT
CacheRepository is generic, thread safe, and it's features include lazy loaded GetOrSet methods, single set locking, configurable expiration enums, transparent cache key management by type, and more. The CacheRepository library can be implemented by any caching system that you choose, but comes with a web implementation that leverages System.Web.Caching.Cache (more)
category: Web Dev | clicked: 82 | comment | | source: www.tomdupont.net
tags:
4
Shouts

Form Extensions for Selenium 2.0 (WebDriver)

published 112 days, 12 hours, 57 minutes ago posted by tduponttdupont 121 days, 14 hours, 54 minutes ago
Wednesday, February 27, 2013 12:23:10 PM GMT Monday, February 18, 2013 10:25:47 AM GMT
These are a series of extension methods for WebElements in WebDriver. These helpers (IsSelected, IsChecked, SetChecked, GetOptionByValue) make it easier to work with form data in Selenium 2.0. (more)
category: Web Dev | clicked: 16 | comment | | source: www.tomdupont.net
tags:
3
Shouts

jQuery Refresh Page Extension

posted by tduponttdupont 169 days, 19 hours, 22 minutes ago
Tuesday, January 01, 2013 5:57:35 AM GMT
There are three scenarios when a web page refreshes: Honors your cache, verifies your cache, or ignores your cache. For a simple page refresh you want your webpage to generate as few server requests as possible. There any many ways to refresh a page in JavaScript, however they can all have different and sometimes undesirable results. (more)
category: How To | clicked: 14 | comment | | source: www.tomdupont.net
tags:
2
Shouts

CookieContainer for HttpWebRequest

posted by tduponttdupont 169 days, 19 hours, 43 minutes ago
Tuesday, January 01, 2013 5:37:23 AM GMT
Are you making a series of HttpWebRequests where you need to persist cookies? For example, perhaps you are experiencing an infinite series of authentication hops. Don't worry, this is very easy to resolve by using the System.Net.CookieContainer class. (more)
category: How To | clicked: 8 | comment | | source: www.tomdupont.net
tags:
3
Shouts

xUnit Visual Studio Integration

published 204 days, 15 hours, 25 minutes ago posted by tduponttdupont 213 days, 15 hours, 18 minutes ago
Tuesday, November 27, 2012 9:55:17 AM GMT Sunday, November 18, 2012 10:01:42 AM GMT
Good news, everyone! It is actually very easy to get xUnit completely integrated with Visual Studio. You only need to install two plugins: 1) xUnit Test Runner Extension, and 2) xUnit Contrib Plugin (more)
category: How To | clicked: 21 | comment | | source: www.tomdupont.net
tags:
4
Shouts

Why You Should Not Estimate in Hours or Days

published 237 days, 15 hours, 37 minutes ago posted by martinigmartinig 246 days, 23 hours, 34 minutes ago
Thursday, October 25, 2012 9:42:48 AM GMT Tuesday, October 16, 2012 1:45:32 AM GMT
Developers don’t like to provide time estimates for implementing a software feature. Management, on the other hand, has a legitimate need for project management estimates. This article explains how the Scrum Agile Project Management framework provides a solution to this conflict. (more)
category: Agile | clicked: 68 | comment | | source: www.scrumexpert.com
2
Shouts

How to Unlock a Configuration Section from IIS Manager

published 229 days, 13 hours, 37 minutes ago posted by tduponttdupont 239 days, 8 hours, 25 minutes ago
Friday, November 02, 2012 11:42:26 AM GMT Tuesday, October 23, 2012 4:54:58 PM GMT
HTTP Error 500.19 - Internal Server Error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level. ...did you know that you can unlock configuration sections from IIS Manager? It's easy! (more)
category: How To | clicked: 11 | comment | | source: www.tomdupont.net
tags:
4
Shouts

Func Injection in Unity

published 257 days, 15 hours ago posted by tduponttdupont 266 days, 9 hours, 27 minutes ago
Friday, October 05, 2012 10:20:12 AM GMT Wednesday, September 26, 2012 3:52:44 PM GMT
If you are using LinqToSql and dependency injection, then you have probably created a factory with which you create DataContexts. But what if you could just let your IOC Container do that work for you? You can! If you are using Unity then you can inject a Func (more)
category: How To | clicked: 26 | comment | | source: www.tomdupont.net
tags:
4
Shouts

Running WebDrivers in Parallel

published 282 days, 14 hours, 19 minutes ago posted by tduponttdupont 288 days, 8 hours, 23 minutes ago
Monday, September 10, 2012 11:00:35 AM GMT Tuesday, September 04, 2012 4:57:04 PM GMT
A WebDriver is not thread safe, but it is not required to be a singleton either. If you instantiate multiple drivers, they can all be run at the same time. If you cast a series of drivers into a collection of the IWebDriver interface, and then throw that into a Parallel ForEach, you have yourself one fun toy to play with! (more)
category: Web Dev | clicked: 9 | comment | | source: www.tomdupont.net
tags:
2
Shouts

Batched Future Queries for LinqToSql, available via NuGet

published 289 days, 12 hours, 18 minutes ago posted by tduponttdupont 295 days, 9 hours, 41 minutes ago
Monday, September 03, 2012 1:02:22 PM GMT Tuesday, August 28, 2012 3:38:40 PM GMT
Future queries are an unobtrusive and easy to use way of batching database queries into a lazy loaded data structures. Future queries were originally a feature of NHibernate, and have since been ported to other ORMs. To batch queries together, simply call the ToFuture extension method on your IQueryables, this will return a Lazy collection of entities. The first time that one of the Lazy collections is accessed, all of the pending queries will be batched and executed together. (more)
category: Data | clicked: 23 | comment | | source: www.tomdupont.net
tags:
2
Shouts

Lazy Unity Injection

published 308 days, 14 hours, 21 minutes ago posted by tduponttdupont 317 days, 21 hours, 49 minutes ago
Wednesday, August 15, 2012 10:58:40 AM GMT Monday, August 06, 2012 3:31:01 AM GMT
One way to trim a deep or expensive dependency tree is to inject Lazy types of your services. Lazy injection will prevent an optional resource from being instantiated until it is actually needed; this can often be a crucial performance optimization. (more)
category: How To | clicked: 31 | comment | | source: www.tomdupont.net
tags:
Previous 1 2 3 4 Next