Skip to content

Instantly share code, notes, and snippets.

@alexjamesbrown
Created June 24, 2015 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexjamesbrown/059edabc5d5fb24fd96f to your computer and use it in GitHub Desktop.
Save alexjamesbrown/059edabc5d5fb24fd96f to your computer and use it in GitHub Desktop.
aspx page displaying the server name
<script language="c#" runat="server">
public void Page_Load(object sender, EventArgs e)
{
Response.Write("<h1>"+System.Environment.MachineName+"</h1>");
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment