Exemple #1
0
 protected void Application_Start()
 {
     GlobalConfiguration.Configure(WebApiConfig.Register);
     IocConfig.Initialize(GlobalConfiguration.Configuration);
     GlobalConfiguration.Configuration
     .Formatters
     .JsonFormatter
     .SerializerSettings
     .ContractResolver = new CamelCasePropertyNamesContractResolver();
 }
 protected void Application_Start()
 {
     GlobalConfiguration.Configure(WebApiConfig.Register);
     IocConfig.Initialize(GlobalConfiguration.Configuration);
 }