title: AspnetCore RazorPage return raw string?
body: <p>RazorPage typically return void, Task, IActionResult, such as</p>
  
  <pre><code>public Task OnGet() { }
  public Task&lt;IActionResult&gt; OnGet() { }
  </code></pre>
  
  <p>It's also possible having a handler returning Json, like</p>
  
  <pre><code>public Task&lt;JsonResult&gt; OnGetAlso() { }
  </code></pre>
  
  <p>But there are scenarios where I want the handler to return raw string, but I couldn't find an easy way to do this.</p>
  
  <pre><code>public Task&lt;string&gt; OnGetSomeString() 
  { return "something"; }
  </code></pre>
  
  <p>But I always get errors Unsupported handler method return type.  Is this possible?  Thanks</p>