We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.
We could write a novel. But to name a few for myself. Better routing, better conneg, more lightweight modules (vs controllers) extensions via ExtensionMethods or Pipelines rather than Filters. More testable, with better test setup. Better community, and product lifecycle.
Having said that, the changes to MVC6 are very welcome. I've been saying for years that MVC/WebAPI are two frameworks designed to solve 1 problem, I'm glad they are finally merged.
Hello, I have an MVC6 asp.net vnext project I would like to convert to Nancy routes. However, that project uses IApplicationBuilder instead of IBuilder so the UseNancy method is not available. Is it required that I use an empty web project to achieve Nancy?
Please try using this - https://github.com/OmniShar...
Does this example still work with CTP2? When I create an empty web project the first thing I noticed is that I do not get a Helios dependency but a "Microsoft.AspNet.Server.IIS" instead. And for some mysterious reason nuget package manager succesfully restores all packages, including the Nancy ones but Visual Studio shows a yellow exclamation mark next to the Nancy reference.
You should be ok now with the official release of Nancy 0.23.2 not the pre-release
So, correct me if I'm wrong. Nancyfx can run almost anywhere, including OWIN-based and vNext apps, but ASP.NET MVC will only run on vNext apps and not OWIN?
I think the next version of MVC can use OWIN but the current versions can't https://github.com/aspnet/H...
That's a good question. I'm not sure how how ASP.NET MVC/API/WebPages vNext works with OWIN
Just a little side note: It's called Visual Studio "14", not Visual Studio 2014. The 14 stands for the next version number (Microsoft usually skips the 13 because of superstitious reasons).
It's good times being a .NET developer. And it rocks even more if you're friends with NancyFx!
Great post Jonathan!
"I also believe the guys at Microsoft are looking at developing an unmanaged code HTTP server to run on Mono". That would be amazing. While Mono is not really that much slower than the Windows CLR, it has no decent high performance web server which is it's biggest downside when it comes to hosting web pages.
https://github.com/aspnet/K... It's going to start off as a development server but it's OSS x-plat and based on libuv so we'll see where it goes :)
Depends on what you mean. You can use servers like nginx, with mono, without any problems. I believe Jonathan was refering to the discussion (on Twitter) about making Haywire (https://github.com/kellabyte/H... work with managed code, or possibly create something new that wraps libuv (I think Mark Rendle is spiking to get his Flux server to use libuv)
" My personal belief and not an official Nancy statement is that Nancy still offers many great features that MVC and WebAPI (or I should call that MVC6 now that they've merged) doesn't"
Could you ellaborate on the great features it offers which MVC 6 doesnt?