Skip to content

Instantly share code, notes, and snippets.

John Bennett jtbennett

Block or report user

Report or block jtbennett

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am jtbennett on github.
  • I am jtbennett (https://keybase.io/jtbennett) on keybase.
  • I have a public key ASB_Zmm4gprc-_rFej2ps_qad_69Nl6Po81vx3IOnNFTCwo

To claim this, I am signing this object:

@jtbennett
jtbennett / Global.asax.cs
Created Dec 16, 2012
Proposed naming convention for MVC areas installed by NuGet
View Global.asax.cs
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
...
ViewEngines.Engines.Clear();
ViewEngines.Engines.Add(this.GetRazorViewEngine());
}
private RazorViewEngine GetRazorViewEngine()
@jtbennett
jtbennett / LastInWinsReplicationConflictResolver.cs
Created Mar 10, 2012
RavenDB LastInWinsReplicationConflictResolver
View LastInWinsReplicationConflictResolver.cs
using System;
using System.Linq;
using NLog;
using Raven.Abstractions.Data;
using Raven.Bundles.Replication;
using Raven.Bundles.Replication.Plugins;
using Raven.Json.Linq;
namespace MyRavenReplicationBundle
{
You can’t perform that action at this time.