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