Added FissionContext class Changed name on both class and function for input code to avoid namespace clashes when adding FissionContext Updated README Added section on how to develop/debug the code to README, might be obvious for some but not all Changed code input from static function to method
22 lines
540 B
C#
Executable File
22 lines
540 B
C#
Executable File
using System.IO;
|
|
using Microsoft.AspNetCore.Builder;
|
|
using Microsoft.AspNetCore.Hosting;
|
|
using Nancy.Owin;
|
|
|
|
namespace Fission.DotNetCore
|
|
{
|
|
public class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
var host = new WebHostBuilder()
|
|
.UseContentRoot(Directory.GetCurrentDirectory())
|
|
.UseKestrel()
|
|
.UseUrls("http://*:8888")
|
|
.Configure(app => app.UseOwin(x => x.UseNancy()))
|
|
.Build();
|
|
host.Run();
|
|
}
|
|
}
|
|
}
|