Comments (6)
Roy,
As I read your issue report I immediately get a sense for what is happening. I believe the issue to be in the new view convention code and should be easy to resolve. I will investigate and resolve during the day. Thank you!
from nancy.
Excellent! I'll keep watching the repo and let you know if the fix takes care of the problem I'm seeing. If you need more detailed diagnostics I can provide those as well, of course (if I know where to look :)).
from nancy.
Pushed out some fixes to the master repo. Please let me know if this resolved the issue you were seeing. Thanks you!
from nancy.
This fix solves the startup problems for the regular application, that's good.
The bad thing is, is that the unit testing project still doesn't resolve the modules properly (only the FakeNancyModule gets registered). I'm just using a simple bootstrapper derived from DefaultBootstrapper and I did override the RootPathProvider property because otherwise I get an ArgumentNullException in FileSystemViewLocationProvider.cs: line 43.
from nancy.
I've just spent some time getting a repro scenario up and running, and I couldn't get it to fail :)
So I think this issue can be closed, since the unit testing problems seem to be unrelated.
And, again, I can confirm that this commit DOES solve the startup problems. Thanks for the help!
from nancy.
I found why the module didn't get loaded properly in the tests. Apparently I need to add this to my bootstrapper:
AppDomainAssemblyTypeScanner.LoadAssemblies(@"MyAssemblies*.dll");
Any idea how I can avoid this?
from nancy.
Related Issues (20)
- 2.0 documentation?
- How to use RequiresClaims in 2.0? HOT 1
- Operation is not supported on this platform on Framework 4.7.2 HOT 3
- Custom JsonSerializer ignored HOT 1
- Response.AsAttachment issue: cannot get response if set filename to Chinese text HOT 1
- Is the doc outdated or do i miss anything? HOT 2
- NancyFx not working on .Net Core 3 HOT 3
- Can't use JavaScriptPrimitiveConverter for primitive values
- VS 2019 templates? HOT 3
- Request body is always empty in .NET Core 2.2 using TestServer as an host
- Avoid compiling Razor views every time an application starts
- Missing 1.4.5 tag
- Add Readme-Zh-cn.md
- NancyCookie doesn't have support for SameSite changes HOT 3
- Nancy attempt to load assemblies not actually used by the application
- Nancy with SSL HOT 2
- Disposing of a custom Bootstrapper makes NancyHost fail silently
- Target .NET Standard 2.1 HOT 1
- Nancy disposes of specific instance dependencies on it's own
- Nancy is not being maintained. Close the project down and communicate it to the community. HOT 28
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nancy.