예제 #1
0
 public void Configuration(Owin.IAppBuilder app)
 {
     app.UseLightNode(new LightNodeOptions(AcceptVerbs.Get | AcceptVerbs.Post, new JilContentFormatter(), new GZipJilContentFormatter())
     {
         StreamWriteOption = StreamWriteOption.BufferAndWrite
     });
 }
예제 #2
0
 public void Configuration(Owin.IAppBuilder app)
 {
     app.UseErrorPage();
     app.UseLightNode(
         new LightNodeOptions(AcceptVerbs.Get | AcceptVerbs.Post,
         new JavaScriptContentTypeFormatter()));
 }