25 lines
450 B
C#
25 lines
450 B
C#
using System;
|
|
using System.Web.Http;
|
|
using Umbraco.Core.Composing;
|
|
|
|
namespace Umbraco.Web.Runtime
|
|
{
|
|
public class WebFinalComponent : IComponent
|
|
{
|
|
|
|
public WebFinalComponent()
|
|
{
|
|
}
|
|
|
|
public void Initialize()
|
|
{
|
|
// ensure WebAPI is initialized, after everything
|
|
GlobalConfiguration.Configuration.EnsureInitialized();
|
|
}
|
|
|
|
public void Terminate()
|
|
{ }
|
|
|
|
}
|
|
}
|