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