Skip to content

Applications

Andrew Bullock edited this page Jun 2, 2018 · 6 revisions

Applications are the container within a MustardBlack project which hold all the details of how the website should work.

For typical usages, you probably want just a single Application.

	public class ExampleApplication : ApplicationBase
	{
		public ExampleApplication(IContainer container) : base(container)
		{
		}

		public override Type DefaultErrorHandler { get; }
		public override bool CanServe(IRequest request)
		{
			throw new NotImplementedException();
		}

		protected override void Configure()
		{
			throw new NotImplementedException();
		}
	}

TODO

Clone this wiki locally