Showing posts with label Startup. Show all posts
Showing posts with label Startup. Show all posts

Saturday, 26 May 2018

Add a startup.cs class to your application


Startup page is mostly using to configuration for startup of the application when you are configuration OWIN or the OAuth authorization.

There are two what you can directly add it and  as a class file and decorate it as. OWinStartup:

  [assembly: OwinStartup(typeof(WebApiOAuth_1.App_Start.Startup))]


Or you can create startup.cs through the Visual Video by using the below process.
a.       Rt click on App_Start à Add à Class