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