Nancy 2.0.0-clinteastwood feedback #2659
Description
If you find any problems, please open an issue and provide as much information, as possible, to help us identify your problem. Alternatively, feel free to submit a pull-request if you think you can help resolve the problem. If you need a guiding hand, on how to get started with pull-requests, please have a look at our contributing guidelines. Make sure you don't miss the style guidelines, I won't :D
NOTE: Because Nancy 2.0-clinteastwood is a pre-release, you are going to have to install packages using the
-pre
toggle, i.einstall-package Nancy -pre
Please use this issue for posting comments that are not directly related to any specific reported bug or pull-request.
TODO
The following is a list of identified task that needs to be performed in the wake of the 2.0.0-clinteastwood
release and should be completed before 2.0.0-dangermouse
is released. Edit the TODO-list and add items as they are found, add links to pull-requests that are sent to close them
- Make sure
AsyncUsageAnalyzers
it set to a build dependency in allproject.json
andpackages.config
Correct example to mirror here - (pull request Made AsyncUsageAnalyzers a build dependency #2700 @jchannon - Remove all old
*.nuspec
files in all projects (including Nancy) (pull-request Remove nuspecs as no longer needed #2658 @jchannon) - Update
Nancy.Hosting.Aspnet\project.json
to includeweb.config.transform
in the package (pull-request Included app/web.config.transform files in nuget packages #2661 @thecodejunkie) - Update
Nancy.ViewEngines.Razor\project.json
to includeapp/web.config.transform
in the package (pull-request Included app/web.config.transform files in nuget packages #2661 @thecodejunkie) - Update
Nancy.ViewEngines.Razor\project.json
to includeNancy.ViewEngines.Razor.BuildProvider
(including build targets) in the package
Planned changes
- Remove one of
Request.Cookies
andRequest.Headers.Cookie
see Cookie #2628 for discussions - Improve the Before and After hook syntax and capabilities Improve the Before and After hook syntax and capabilities #2665
- Look into "Potential Performance Problem with Nancy.Routing.Route.Invoke Potential Performance Problem with Nancy.Routing.Route.Invoke #2623"
- Add configuration support for content negotiation. See why remove the .json extension in requestdispather #2671 for discussion on automatic extension resolution
- Update testing infrastructure to support netstandard, see issue Update testing infrastructure #2612 and pull-request Cookie #2628
- Convert remaining sub-systems to async, see pull-request WIP - First stab at creating a BodyDelegate type #2577
- Remove the last remaining parts of StaticConfiguration
Known limitations
- Some packages may install
AsyncUsageAnalyzers
as a dependency. This should be safe to be removed and will not be included in2.0.0-dangermouse
as it will be marked as a build dependency in all projects - The
Nancy.Hosting.Aspnet
package will not apply*.config
transformations`, to wire up the hosting, you will have to apply it yourself - The
Nancy.ViewEngines.Razor
package will not apply*.config
transformations` to wire up the view engines configuration options, you will have to apply it yourself - The build providers for
Nancy.ViewEngines.Razor
are missing from the NuGet package, causing problems with syntax highlighting in Nancy Razor views