This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D:\Development\phillip-haydon\philliptest [master]> git push Azure master | |
* Couldn't find host philliptest.scm.azurewebsites.net in the _netrc file; using defaults | |
* About to connect() to philliptest.scm.azurewebsites.net port 443 (#0) | |
* Trying 168.62.20.37... * 0x2000718 is at send pipe head! | |
* Connected to philliptest.scm.azurewebsites.net (168.62.20.37) port 443 (#0) | |
* successfully set certificate verify locations: | |
* CAfile: C:\Users\Phillip\AppData\Local\GitHub\PortableGit_8810fd5c2c79c73adcc73fd0825f3b32fdb816e7/bin/curl-ca-bundle.crt | |
CApath: none | |
* Unknown SSL protocol error in connection to philliptest.scm.azurewebsites.net:443 | |
* Expire cleared |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ WebHandler Language="C#" Class="Handler" Debug="true" %> | |
using System; | |
using System.Web; | |
using System.IO; | |
public class Handler : IHttpHandler | |
{ | |
public void ProcessRequest(HttpContext context) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
This configuration file is required if iisnode is used to run node processes behind | |
IIS or IIS Express. For more information, visit: | |
https://github.com/tjanczuk/iisnode/blob/master/src/samples/configuration/web.config | |
--> | |
<configuration> | |
<system.webServer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private const string PackageJsonFile = "package.json"; | |
private readonly string[] NodeDetectionFiles = new[] { "server.js", "app.js" }; | |
private const string WebConfigFile = "web.config"; | |
/// <summary> | |
/// Add a web.config file if we detect a Node site | |
/// </summary> | |
private void AddIISNodeConfig(DeploymentContext context) | |
{ | |
// If there is a config file already, don't do anything |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Blah(message) | |
{ | |
res.write(message); | |
} | |
res.writeHead(200); | |
for (var i=0; i<10; i++) | |
{ | |
Blah('Hello, world ' + i + '\n'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.InvalidOperationException: Not supported Content-Type in the response: 'text/html; charset=utf-8' | |
Response error message: | |
-- | |
<?xml version="1.0" ?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><title>Error 500</title><style type="text/css">body {font-family:"Verdana","DejaVu Sans",sans-serif;font-weight:normal;font-size: .7em;color:black;background-color: white} | |
p {font-family:"Verdana","DejaVu Sans",sans-serif;font-weight:normal;color:black;margin-top: -5px} | |
b {font-family:"Verdana","DejaVu Sans",sans-serif;font-weight:bold;color:black;margin-top: -5px} | |
h1 { font-family:"Verdana","DejaVu Sans",sans-serif;font-weight:normal;font-size:18pt;color:red } | |
h2 { font-family:"Verdana","DejaVu Sans",sans-serif;font-weight:normal;font-size:14pt;color:maroon } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Joe | |
Jill | |
Bill | |
Bert | |
David | |
John | |
Bob |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.ComponentModel; | |
using System.Web.UI; | |
namespace WebApplication | |
{ | |
public partial class ManyToManyField : System.Web.DynamicData.FieldTemplateUserControl | |
{ | |
protected override void OnDataBinding(EventArgs e) | |
{ |
NewerOlder