Skip to content

Instantly share code, notes, and snippets.

@beyond-code-github
Created September 20, 2013 12:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beyond-code-github/6636541 to your computer and use it in GitHub Desktop.
Save beyond-code-github/6636541 to your computer and use it in GitHub Desktop.
using System.Web.Http;
namespace WebApiModuleHelloWorld
{
using Superscribe.WebApi;
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
config.Formatters.Remove(config.Formatters.XmlFormatter);
SuperscribeConfig.RegisterModules(config);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment