News for hackers. Stuff that matters.
Re:Open Source .NET libraries that make your life easier by willu on Friday April 10, 2015 @10:19AM (#9354452)
Surprised no one has mentioned Nancy: https://github.com/NancyFx/Nancy I can't imagine building APIs without it now.
Re:Open Source .NET libraries that make your life easier by diverightin63 on Friday April 10, 2015 @11:00AM (#9354768)
I find NancyFX really interesting, but I can't really see a reason to stray away from Web API2 besides Mono support. Any specific reasons you prefer Nancy?
Re:Open Source .NET libraries that make your life easier by marpstar on Friday April 10, 2015 @11:44AM (#9355067)
I've been wondering this, too. I've been using MVC since version 2 and am very comfortable with it and Web API, but a startup I've been doing side-work for is using Nancy. Nancy does seem lighter weight, and includes TinyIoC for dependency injection out-of-the-box, but I too don't see a real killer use case for Nancy.
Re:Open Source .NET libraries that make your life easier by Maarten88 on Friday April 10, 2015 @12:31PM (#9355415)
It's nice to serve webapi's and serverside pages from the same class. I like the content negotiation in Nancy. Also the built-in testing features are nice, it is easy to test views too.
Re:Open Source .NET libraries that make your life easier by willu on Friday April 10, 2015 @01:02PM (#9355631)
Mono support is important for us and I prefer the syntax. It's also handy to be able to serve up ancillary pages like documentation alongside the API.
Re:Open Source .NET libraries that make your life easier by xeromal on Friday April 10, 2015 @11:40AM (#9355040)
I agree with you, but maybe because it's lightweight? It's pretty damn simple.