dotvvm
dotvvm copied to clipboard
Allow registering MiniProfiler only in Development environment
Currently, MiniProfiler is registered on all environments and it is not easily possible to register it only for Dev or Staging.
However, control itself should be registered always since the user will probably put it into EnvironmentView, but it will still be present in the markup and the view compiler will need to recognize it.