2017-06-03 01:10:46 +01:00
|
|
|
|
// /***************************************************************************
|
|
|
|
|
|
// The Disc Image Chef
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
|
//
|
|
|
|
|
|
// Filename : Global.asax.cs
|
2017-12-19 03:50:57 +00:00
|
|
|
|
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
2017-06-03 01:10:46 +01:00
|
|
|
|
//
|
2017-12-19 03:50:57 +00:00
|
|
|
|
// Component : DiscImageChef Server.
|
2017-06-03 01:10:46 +01:00
|
|
|
|
//
|
|
|
|
|
|
// --[ Description ] ----------------------------------------------------------
|
|
|
|
|
|
//
|
2017-12-19 03:50:57 +00:00
|
|
|
|
// ASP.NET global definitions.
|
2017-06-03 01:10:46 +01:00
|
|
|
|
//
|
|
|
|
|
|
// --[ License ] --------------------------------------------------------------
|
|
|
|
|
|
//
|
2017-12-19 03:50:57 +00:00
|
|
|
|
// This library is free software; you can redistribute it and/or modify
|
|
|
|
|
|
// it under the terms of the GNU Lesser General Public License as
|
|
|
|
|
|
// published by the Free Software Foundation; either version 2.1 of the
|
2017-06-03 01:10:46 +01:00
|
|
|
|
// License, or (at your option) any later version.
|
|
|
|
|
|
//
|
2017-12-19 03:50:57 +00:00
|
|
|
|
// This library is distributed in the hope that it will be useful, but
|
|
|
|
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
|
// Lesser General Public License for more details.
|
2017-06-03 01:10:46 +01:00
|
|
|
|
//
|
2017-12-19 03:50:57 +00:00
|
|
|
|
// You should have received a copy of the GNU Lesser General Public
|
|
|
|
|
|
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
2017-06-03 01:10:46 +01:00
|
|
|
|
//
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
2018-12-29 17:34:38 +00:00
|
|
|
|
// Copyright © 2011-2019 Natalia Portillo
|
2017-06-03 01:10:46 +01:00
|
|
|
|
// ****************************************************************************/
|
2017-12-19 03:50:57 +00:00
|
|
|
|
|
2017-06-03 01:10:46 +01:00
|
|
|
|
using System.Web;
|
|
|
|
|
|
using System.Web.Http;
|
2018-12-27 23:34:14 +00:00
|
|
|
|
using System.Web.Routing;
|
2017-06-03 01:10:46 +01:00
|
|
|
|
|
|
|
|
|
|
namespace DiscImageChef.Server
|
2017-06-03 01:19:47 +01:00
|
|
|
|
{
|
2017-06-03 01:10:46 +01:00
|
|
|
|
public class Global : HttpApplication
|
2017-06-03 01:19:47 +01:00
|
|
|
|
{
|
2017-06-03 01:10:46 +01:00
|
|
|
|
protected void Application_Start()
|
2017-06-03 01:19:47 +01:00
|
|
|
|
{
|
|
|
|
|
|
GlobalConfiguration.Configure(WebApiConfig.Register);
|
2018-12-27 23:34:14 +00:00
|
|
|
|
RouteConfig.RegisterRoutes(RouteTable.Routes);
|
2017-06-03 01:10:46 +01:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2017-12-19 20:33:03 +00:00
|
|
|
|
}
|