4cd57f4a90
Migrate all SignalR 1.x Persistent Connections to SignalR 2.x Hubs. Abstracts ScheduledTaskStatus with core interface and adds a Mock for optional status reporting. Noticeboards rewritten (with new theme) to be more resilient and accurate.
33 lines
802 B
C#
33 lines
802 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Disco.Services.Web.Bundles
|
|
{
|
|
public class UrlBundle : IBundle
|
|
{
|
|
public bool RemapRequest { get { return false; } }
|
|
|
|
public string Url { get; private set; }
|
|
public string VersionUrl { get; private set; }
|
|
|
|
public string ContentType { get; private set; }
|
|
|
|
public void ProcessRequest(System.Web.HttpContext context)
|
|
{
|
|
// Not needed for Url Bundle
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public UrlBundle(string Url, string ContentType)
|
|
{
|
|
this.Url = Url;
|
|
this.VersionUrl = Url;
|
|
|
|
this.ContentType = ContentType;
|
|
}
|
|
}
|
|
}
|