title: How can I get the name of the name of the current Service Fabric application?
body: <p>Is it possible to get the name of the Service Fabric application where my code is running?</p>
  
  <p>For example, my ApplicationParameters file has this:</p>
  
  <pre><code>&lt;Application xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Name="fabric:/mytestapp" xmlns="http://schemas.microsoft.com/2011/01/fabric"&gt;
  </code></pre>
  
  <p>I want to retrieve "mytestapp" and use it in my code, but I haven't found anything that would let me do that. Any ideas?</p>