Open GTmAster opened 4 years ago
Thanks for contacting us.
We're moving this issue to the Next sprint planning
milestone for future evaluation / consideration. We will evaluate the request when we are planning the work for the next milestone. To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Fixing this, would speed up building Blazor applications for Teams. It runs in an Iframe in Teams, and doesn't hit breakpoints.
Our productivity would greatly improve if this was fixed.
Some context: We are in the process of migration a legacy application that is now running on .Net 4. Unfortunately we can't port it over to .Net 6+ because of a vendor-lock-in in our main architecture.
Our strategy for dealing with this is gradually replacing peaces of the application with a modern Blazor UI. Technically we implemented this by replacing existing UI with an iframe wherein we load a blazor page. So it's basically some sort StranglerFig strategy (https://martinfowler.com/bliki/StranglerFigApplication.html)
Currently we're debugging a lot given this is also our first project using Blazor and we are still learning and making mistakes in the process. So coming years we will be almost exclusively running blazor inside iframes.
I would like this feature as well.
@thaystg FYI
Tagging subscribers to this area: @thaystg See info in area-owners.md if you want to be subscribed.
Author: | GTmAster |
---|---|
Assignees: | - |
Labels: | `untriaged`, `area-Debugger-mono` |
Milestone: | - |
Tagging subscribers to 'arch-wasm': @lewing See info in area-owners.md if you want to be subscribed.
Author: | GTmAster |
---|---|
Assignees: | - |
Labels: | `arch-wasm`, `untriaged`, `area-Debugger-mono` |
Milestone: | - |
When Blazor WASM is hosted by ASP.NET Core and resides inside iframe, the debugger doesn't work. For example, I have Page1 with following html:
and Page2, which puts Page1 into iframe:
In this case:
http://127.0.0.1:9222/json:
To Reproduce
Minimum reproduce repo is https://github.com/GTmAster/blazor-iframe-debug. /Home/Index returns page with WASM app. /Frame/Index returns page with /Home/Index in iframe.
Further technical details
dotnet --info
:Runtime Environment: OS Name: Windows OS Version: 10.0.17763 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\3.1.402\
Host (useful for support): Version: 3.1.8 Commit: 9c1330dedd
.NET Core SDKs installed: 3.1.100-preview3-014645 [C:\Program Files\dotnet\sdk] 3.1.302 [C:\Program Files\dotnet\sdk] 3.1.401 [C:\Program Files\dotnet\sdk] 3.1.402 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed: Microsoft.AspNetCore.All 2.1.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.1.22 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.1.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.1.22 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.1.0-preview3.19555.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.1.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.1.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.22 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 3.1.0-preview3.19553.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 3.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 3.1.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 3.1.0-preview3.19553.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 3.1.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 3.1.8 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-download