test c#

            protected void Application_Start()
{
    ...
    GlobalFilters.Filters.Add(new RequireHstsAttribute(31536000) { IncludeSubDomains = true, Preload = true });
}

Comments

  • [Deleted User]
    edited July 2015
    public void Test()
    {
    Console.WriteLine("Hello World!"); 
    }
    
    <xml>
      <this is="just nonsense"/>
    </xml>
    Hello World.
  • more xml
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
    	<system.webServer>
            <rewrite>
            </rewrite>
    	</system.webServer>
    </configuration>
  • some var code = new something() in text flow
  • code multi line c#
            StreamWriter streamOut = new StreamWriter(req.GetRequestStream(), Encoding.ASCII);
            streamOut.Write(query);
            streamOut.Close();
    
  • test fixed width PhotonNetwork in text
  • and now strike text
    and now em text
    and now underline text
  • {
     // some code goes here
    ...
    }
  • [Deleted User]
    edited September 2015
    Single line.
    Line 1
    Line 2
    Just pre/code, without a class...</pre>
  • JohnTube
    JohnTube ✭✭✭✭✭
    edited October 2015
    post to edit.