Last active
November 12, 2017 09:43
-
-
Save AsishP/31779bd9e4734e10842cc5be69d26927 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void InitializeService(DataServiceConfiguration config) | |
{ | |
// TODO: set rules to indicate which entity sets and service operations are visible, updatable, etc. | |
config.SetEntitySetAccessRule("*", EntitySetRights.AllRead); | |
config.DataServiceBehavior.MaxProtocolVersion = DataServiceProtocolVersion.V3; | |
config.UseVerboseErrors = true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment