Last active
December 16, 2015 06:49
-
-
Save marckm/5394668 to your computer and use it in GitHub Desktop.
Default Global.asax content for WebApi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace DataIntegrationService.WebApi | |
{ | |
using System; | |
using System.Web.Http; | |
/// <summary> | |
/// Global configuration of the Web Application. | |
/// </summary> | |
public class Global : System.Web.HttpApplication | |
{ | |
/// <summary> | |
/// Handles the Start event of the Application control. | |
/// </summary> | |
/// <param name="sender">The source of the event.</param> | |
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param> | |
protected void Application_Start(object sender, EventArgs e) | |
{ | |
WebApiConfig.Register(GlobalConfiguration.Configuration); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment