DotNetExtension / BlazorDesktop

Create desktop apps using Blazor.
MIT License
51 stars 9 forks source link

Browser debug tool #10

Closed shuizhugeju closed 2 years ago

shuizhugeju commented 2 years ago

Is there an existing issue for this?

Is your feature request related to a problem? Please describe the problem.

No response

Describe the solution you'd like

https://docs.microsoft.com/zh-cn/aspnet/core/blazor/hybrid/developer-tools?view=aspnetcore-6.0&pivots=windows in here we can see

 builder.Services.AddBlazorWebViewDeveloperTools()

Is possible to support it.

Additional context

image

AndrewBabbitt97 commented 2 years ago

@shuizhugeju This should be pretty simple to add. You can technically already do this by adding a reference to the Microsoft.AspNetCore.Components.WebView.Wp package as its just a service collection extension method.

I'll make it simpler and go add a wrapper for it and integrate it into the templates.

AndrewBabbitt97 commented 2 years ago

@shuizhugeju

Added in 65f441a5b2521e3a254b014692336a8eaa6ecca1

Packages have been released to Nuget as well as v1.1.0, feel free to pull the new version and start using it.