This repository was archived by the owner on Mar 23, 2022. It is now read-only.
This repository was archived by the owner on Mar 23, 2022. It is now read-only.
Open
Description
It would be awesome if the UserPicker would be injected into the view without the need for
@using RimDev.Stuntman.Core
@inject StuntmanOptions StuntmanOptions
<!DOCTYPE html>
<html>
...
<environment names="Development">
@Html.Raw(StuntmanOptions.UserPicker(User))
</environment>
</body>
</html>
BrowserLink works that way.
All you have to do is app.UseBrowserLink();
and this is injected into the view.
<!-- Visual Studio Browser Link -->
<script type="application/json" id="__browserLink_initializationData">
{"requestId":"a717d5a07c1741949a7cefd6fa2bad08","requestMappingFromServer":false}
</script>
<script type="text/javascript" src="http://localhost:54139/b6e36e429d034f578ebccd6a79bf19bf/browserLink" async="async"></script>
<!-- End Browser Link -->
Metadata
Metadata
Assignees
Labels
No labels