Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Dynamic Assembly Compilation by default #274

Closed
dotnetjunkie opened this issue Jul 15, 2016 · 0 comments
Closed

Disable Dynamic Assembly Compilation by default #274

dotnetjunkie opened this issue Jul 15, 2016 · 0 comments

Comments

@dotnetjunkie
Copy link
Collaborator

dotnetjunkie commented Jul 15, 2016

Due to bugs or limitations in certain tools like IntelliTrace, dotTrace, MSTest and possibly some weird configurations of IIS, processes that run Simple Injector can get terminated when dynamic assembly compilation is used.

Users keep running into issues by this, e.g. the following old issues:

For all these issues, switching off Options.EnableDynamicAssemblyCompilation is the solution.

To prevent users from running into this issue in the future, we should turn of dynamic assembly compilation by default. This has a negative impact on performance, but the impact is low enough to do this anyway. Resolves times can slow down somewhere from 0% to 60%, but considering the performance of Simple Injector, such change is unnoticable in any production application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant