It is possible to debug an asp.net WebForms application on MacOS using Visual Studio 2022?

585 Views Asked by At

Current scenario is that I have this macos laptop (Apple M1 Pro processor) in which I was working for the last 8 months on react under visual studio code. Now, in a new project I need to leverage some API's and a lot of JSON responses and I wanted to debug the code but I saw that it is just not possible. I came across this old article ASP.NET Mono Setup

but I still feel that I won't be able to have the same level of developing experience like in a windows machine.

So, question is, can I (and if the answer if yes) debug an asp.net webforms app on visual studio 2022 for mac? If not, I would need to ask for a laptop replacement.

Thanks in advance!

1

There are 1 best solutions below

2
On

Only the .net core runtimes are platform neutral.

But, the .net 2-4.8 runtimes are not.

One MIGHT be able to play and mess around with mono, but at the end of the day, I suggest you go with a VM (virtual machine),and run windows.

In other words, you don't need a new laptop, but just use a VM and install windows on that VM.