title: how does asp.net mvc relate a view to a controller action?
body: <p>I have opened a sample ASP.NET MVC project.</p>
  
  <p>In <code>HomeController</code> I have created a method (action) named <code>MethodA</code></p>
  
  <pre><code>public ActionResult MethodA()
  {
      return View();
  }
  </code></pre>
  
  <p>I have right clicked on <code>MethodA</code> and created a new view called <code>MethodA1</code></p>
  
  <p>Re-did it and created a new view called <code>MethodA2</code>.</p>
  
  <ol>
  <li><p>How is this magical relationship done? I looked for the config to tell the compiler that views <code>MethodAX</code> are related to action <code>MethodA</code>, but found none.</p></li>
  <li><p>What view will the controller return when <code>MethodA</code> is called?</p></li>
  </ol>