title: how to add a custom menu in asp.net mvc core
body: <p>I am work in asp.net core with visual studio 2007,
  i did the following:</p>
  
  <ol>
  <li>create a folder Components in my project</li>
  <li>create a viewcomponent</li>
  </ol>
  
  <p>the code:</p>
  
  <pre><code>public class TaskViewComponent : ViewComponent
  {
  
      public async Task&lt;IViewComponentResult&gt; InvokeAsync(string Id)
      {
          var data = await Task.Run(() =&gt; Id.Trim());
          return View("Default", data);
      }
  }
  </code></pre>
  
  <ol start="3">
  <li>create viewcomponent implement in /Views/Shared/Components/Task/Default.cshtml</li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/ZxR1n.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZxR1n.png" alt="enter image description here"></a></p>
  
  <p>my question is how to add a right menu in cshtml,just like [Go To Component],when click then go to TaskViewComponent in my project.</p>