staticwebdev / blazor-starter

A starter template in C# APIs and Blazor for Azure Static Web Apps
217 stars 104 forks source link

Visual Studio Debugging crashes when using FileInput control in Blazor SWA #31

Closed myaesubi closed 2 years ago

myaesubi commented 2 years ago

Hi @anthonychu,

I've been using SWA and has been early adapter and built a Blazor web app for managing insurance leads.

Recently, I've used the latest setup of SWA (i.e. which uses port 4280 based on your video and all the literature) for new Blazor web app and this web app contains file upload feature. What happens is in a simple page that has one InputFile control, when a file gets selected with this control, the VS 2022 runtime/debug stops working and it states the process exited. I tried with some 3rd party file upload controls first and then resorted to Microsoft InputFile control, same issue does exist.

Could you please take a look in your own setup and see if this happens for Blazor apps?

Thank you, Mohammad

myaesubi commented 2 years ago

I was using Gener8 browser and that browser crashed. not in chrome. but it did crash in Edge. since not using Edge, closing the issue.