#2994·Nancy

NancyFx not working on .Net Core 3

Author: rock85mxCreated Nov 15, 2019Updated Apr 1, 2020
  • I just to migrate mi proyect from net core 2.2 to 3.0, and nancy dosnt work.

  • Nancy version: 2.0

  • Microsoft.Owin: 3.0

  • Startup.cs

public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { app.UseOwin(b => b.UseNancy()); }

using Nancy;

namespace WebApplicationCore { public class Index : NancyModule { public Index() { Get("", args => Root()); }

    public Response Root()
    {
        return Response.AsText("Server up");
    }
}

}