Skip to content

Instantly share code, notes, and snippets.

@beyond-code-github
Last active December 23, 2015 16:09
Show Gist options
  • Select an option

  • Save beyond-code-github/6660534 to your computer and use it in GitHub Desktop.

Select an option

Save beyond-code-github/6660534 to your computer and use it in GitHub Desktop.
namespace OwinModulesHelloWorld
{
using Owin;
using Superscribe.Owin;
public class Startup
{
public void Configuration(IAppBuilder app)
{
var config = new SuperscribeOwinConfig();
config.MediaTypeHandlers.Add(
"text/html",
new MediaTypeHandler { Write = (res, o) => res.WriteAsync(o.ToString()) });
app.UseSuperscribeModules(config);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment