-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Can't control the list of assemblies that WebActivator scans #28
Comments
Sounds like a reasonable idea. Where would you like to see this filtering specified? e.g. in web.config? Feel free to drive the change and send a PR :) |
I've forked the repo and started some code. I'm thinking it will have to come from web.config as the ASP.NET infrastructure calls into WebActivator very early on in the processing. Even then, the web app is not even instantiated before WebActivator. Do you have any suggestions? |
I just checked, and calling So are you thinking more about an exclusion list than an inclusion list? I think that would make sense. i.e. load all except those few. e.g.
|
Exclusion. I like the simplicity of what you propose, but I need a bit more. Perhaps we keep what you have and allow this as well:
I want to filter at the file-level first. In my case, there are a number of legacy unmanaged DLLs that I want to skip scanning, not to mention dozens of third-party assemblies. When I first approached this my thought was to pass WebActivator a |
It only loads files that are directly in the bin folder, so I don't think we need any folder specification. I would think that a simple list of file names (with RegEx) would do. |
Fixed per #29 |
The list of files WebActivator scans is private and there is no way to filter them. Filtering would be useful; the most obvious case is to improve startup performance of the web app by filtering out assemblies known to be irrelevant and dlls known to be unmanaged dlls.
The text was updated successfully, but these errors were encountered: