We are looking to develop a new web application and came across to Nancy fx (actually I am enrolled with Pluralsight where they have a new course on nancy)
I wanted to know a sample application ( one app or separate apps) showing some of features of Nancy Fx
- Development with Web api (as we have data which come thru web api). Also I want to know does we should have a web api application or there is no need, this can be served by Nancy Fx with one of it extension.
- Authentication (with restful capability (no need for cookies etc))
- Can we use third party control like telerik etc with it or not.
- Can we assign different view for mobile/desktop etc like in asp.net we can have order.mobile.cshtml or even specific to whether its iphone or android etc.
Thanks
Khuzema
Hope you enjoyed the Pluralsight course :-)
Sample wise.. there's small samples inside the main Github repo here: https://github.com/NancyFx/Nancy/tree/master/src
There's a "port" of NerdDinner using Nancy and RavenDb here:
- Demo: http://dinnerparty.azurewebsites.net/
- Source: https://github.com/NancyFx/DinnerParty
There's a new sample that I haven't yet had a chance to look at here:
- Demo: http://people-1.apphb.com/
- Source: https://bitbucket.org/woodwardmatt/people
To answer your questions specifically:
- You can use Nancy to create a website and a webapi in one site quite easily.
- There's several different types of authentication supported, the 0.12 release due shortly includes a "stateless" authentication system.
- Depends what they are, if they're tied specifically to MVC or WebForms then no, if they're client side stuff that uses AJAX then yes.
- Yes, this has been discussed on the forums with several options: https://groups.google.com/d/topic/nancy-web-framework/8MsU4zh2pN8/discussion