Skip to content
Browse files

added initializer to curated feeds to fix the MaxProtocolVersion prob…

…lem that was breaking them
  • Loading branch information...
1 parent f7be422 commit ca09e71430be610f67f5d55b65c4d247214cd9b9 @half-ogre half-ogre committed Jun 21, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 Website/DataServices/V2CuratedFeed.svc.cs
View
6 Website/DataServices/V2CuratedFeed.svc.cs
@@ -1,6 +1,7 @@
using System;
using System.Data.Entity;
using System.Data.Services;
+using System.Data.Services.Common;
using System.Linq;
using System.Reflection;
using System.ServiceModel.Web;
@@ -34,6 +35,11 @@ protected override FeedContext<V2FeedPackage> CreateDataSource()
};
}
+ public static void InitializeService(DataServiceConfiguration config)
+ {
+ InitializeServiceBase(config);
+ }
+
[WebGet]
public IQueryable<V2FeedPackage> FindPackagesById(string id)
{

0 comments on commit ca09e71

Please sign in to comment.
Something went wrong with that request. Please try again.