How to open .net core implemented method in Visual Studio 2022

Viewed 199

Recently, I saw one of developer on youtube was developing asp.net core application using Jetbrains Rider and when he want to see the implementation of WebApplication.CreateBuilder method (asp.net core method), he just open implementation (I am assuming by Ctrl+F12).

As of now I am using github to find method implementation Or https://source.dot.net/. Is there any way to link asp.net core source code directly in visual studio so we can simply open implementation of any method (by Ctrl+F12) when needed? When I tried Ctrl+F12 on WebApplication.CreateBuilder I got below message

enter image description here

I am using Visual Studio 2022 Community Edition

2 Answers

Try dotPeek, a free tool by JetBrains (the makers of Rider and ReSharper). It doesn't integrate with Visual Studio though but is great if you just want to decompile third party libraries.

JetBrains do have discounts on their tools.

Rider downloads the .pdb files from microsoft and is able to fetch source code inside the IDE. If you want to use the same feature in Visual Studio, you can do this with the Jetbrains Resharper Visual Studio Extension.

Related