Skip to content

Instantly share code, notes, and snippets.

@khellang
Last active August 29, 2015 14:05
Show Gist options
  • Save khellang/a356bc7047843aa65f9f to your computer and use it in GitHub Desktop.
Save khellang/a356bc7047843aa65f9f to your computer and use it in GitHub Desktop.

ReSharper thinks this type is unused because it isn't referenced anywhere, but it's actually being picked up by convention. There's also several other ways this class can be used.

You can read more about the OWIN Startup Class Detection here.

using Owin;
using JetBrains.Annotations;
namespace MyAwesomeApp
{
public class Startup
{
public void Configuration(IAppBuilder app)
{
app.MapSignalR();
app.UseNancy();
}
}
}
@khellang
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment