![]() You can see that there's a symbolic link between my WSL ~/.aspnet folder and my local profile in Windows so that this app shares SSL certs and that the same cert is served with Kestrel on Windows and Kestrel on Linux. How does the SSL cert work if WSL 2's Linux Kestrel web server is serving it? You'll also notice that we are running on and that localhost and ports from the Windows point of view maps to localhost and points (via a local tunnel that's transparent) to WSL 2. NET Core, from the Linux/WSL 2 perspective, is loaded out of /usr/share/dotnet/shared but my source remains on my /mnt/d drive (my Windows D:) and debugging Just Works. ![]() It "just works" and it makes it super easy to switch between running on Windows (under IIS or the Kestrel web server or under Kestrel under your default Linux distribution.Ĭheck this out, you can see that. Here's the experience in Visual Studio 2019 when the extension is installed. NET Core console and web apps in WSL2 and debug them directly from Visual Studio 2019! It's the second one that I'm talking about today. NET Core Linux app in WSL2 from Visual Studio on Windows. ![]() I've blogged before about Developing on Docker with the new and improved Visual Studio Container Tools (and WSL2) and also Remote Debugging a.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |