title: Async await with Task.FromResult(0)
body: <p>Not sure if I am messed up with my understanding of how async await works, but here is the problem I am stucked at.
  Consider a contrived example</p>
  
  <ol>
  <li><p>This code blocks UI</p>
  
  <pre><code>public async void LoginButtonClicked()
  {
   //create a continuation point so every following statement will get executed as ContinueWith
   await Task.FromResult(0);
   //this call takes time to execute
   Remote.Login("user","password");
  }
  </code></pre></li>
  <li><p>But this does not (obviously)</p>
  
  <pre><code> public void LoginButtonClicked()
   {
   Task.Run(()=&gt;{ Remote.Login("user","password");});
    }
  </code></pre></li>
  </ol>
  
  <p>I like to use method 1 because I don't want to spin long work using a Task.Run rather I prefer framework handle this form me. But the problem is The call to Method 1 seems blocking.</p>