Short (72 chars or less) summary
More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).
Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
Follow the steps below to install Team City 9.0.3 on Ubuntu with Nginx as the proxy for port 80.
Install Team City:
# will install on port 8111
sudo wget -c https://gist.githubusercontent.com/sandcastle/9282638/raw/teamcity-install.sh -O /tmp/teamcity-install.sh
This file contains hidden or 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
public static void AddGreeter() | |
{ | |
AddInmemory("Greeter", @"using System; | |
class Greeter | |
{ | |
public string Greet() | |
{ | |
return ""Hello World""; | |
} |
This file contains hidden or 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
public override void RegisterArea(AreaRegistrationContext context) | |
{ | |
context.MapRoute("RestfulControllers", "api/{controller}", new | |
{ | |
controller = "Home", | |
action = RestfulActionAttribute.RestfulActionName, | |
id = UrlParameter.Optional | |
}); | |
context.MapRoute("RestfulControllers_Id", "api/{controller}/{id}", new |