I'm new to C# in ASP.Net. I'm using VS 2015 and a NetCore project. I'm used in PHP (PHPStorm IDE) to Control-Click a method name to go to it's definition and see what it does.
In VS 2015, for example for a View() in a Controller, I have to Right Click -> Go to Definition. But the definition is just this:
// Creates a Microsoft.AspNetCore.Mvc.ViewResult object that renders a view to the
// The created Microsoft.AspNetCore.Mvc.ViewResult object for the response.
public virtual ViewResult View();
This isn't because it's closed-source, but rather the code within it has already been compiled and you are simply referencing it through a DLL (and you haven't explicitly loaded the symbols to debug through the actual source).
If you wanted to actually see the chain of method calls and what their source looks like, you can take a look at the ASP.NET Core MVC repository on GitHub or attempt to debug against the source itself as mentioned here.
Your Call Stack for the
If you wanted to know what actually is going on behind-the-scenes and didn't need to explicitly debug the source itself, you can follow along in the previously linked GitHub repo to see the following calls.
View() from Controller.cs
View(name, model) from Controller.cs
ViewResultobject using the data from your parameters and the View you are targeting.
ViewResult() from ViewResult.cs
ExecuteAsync() from ViewResultExecutor.cs
ExecuteAsync() from ViewExecutor.cs