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
<!DOCTYPE cruisecontrol [ | |
<!ENTITY ProjectName SYSTEM "ProjectConfigs\ProjectName.config"> | |
]> | |
<cruisecontrol> | |
&ProjectName; | |
</cruisecontrol> |
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
<!DOCTYPE cruisecontrol [ | |
<!ENTITY ProjectName SYSTEM "ProjectConfigs\ProjectName.config"> | |
]> | |
<cruisecontrol> | |
&ProjectName; | |
</cruisecontrol> |
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
<project name="Project Name (Stage)"> | |
<workingDirectory>C:\Projects\ProjectNameStage\work</workingDirectory> | |
<artifactDirectory>C:\Projects\ProjectNameStage\art</artifactDirectory> | |
<sourcecontrol type="svn"> | |
<trunkUrl>repoUrl</trunkUrl> | |
<executable>C:\Program Files\SlikSvn\bin\svn.exe</executable> | |
</sourcecontrol> | |
<triggers> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<ArrayOfGeoPlaceDistance | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
xmlns="http://skats.net/services/literalTypes"> | |
<GeoPlaceDistance> | |
<ToPlace>84142</ToPlace> | |
<ToState>UT</ToState> | |
<Distance>1</Distance> | |
</GeoPlaceDistance> |
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
// get the xml from a url that I have created | |
XElement doc = XElement.Load(url); | |
// grab the namespace declaration | |
XNamespace na = doc.GetDefaultNamespace(); | |
// append it to all the queries | |
var elements = from e in doc.Elements(na + "GeoPlaceDistance") | |
select e.Element(na + "ToPlace"); |
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
// Namespace to DevelopLive | |
DevelopLive = window.DevelopLive || {}; | |
// Define Dive | |
DevelopLive.Dive = window.DevelopLive.Dive || {}; | |
(function () { | |
$self = DevelopLive.Dive; | |
$self.calcSac = function(psiIn, psiOut, time, |
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
// standard jquery self-calling function | |
jQuery(function () { | |
// get the elements | |
var psiIn = $("#psiIn"), | |
psiOut = $("#psiOut"), | |
time = $("#time"), | |
depth = $("#depth"), | |
tankVolume = $("#tankVolume"), | |
tankWorkingPsi = $("#tankWorkingPsi"), | |
finalLabel = $("#rate"), |
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
[ServiceContract] | |
[AspNetCompatibilityRequirements( | |
RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)] | |
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall)] | |
public class TestService | |
{ | |
[Description("Test Description.")] | |
[WebGet(UriTemplate = "go")] | |
public string Test() | |
{ |
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
IUserRepository userRepo; | |
public TestService(IUserRepository userRepo) | |
{ | |
this.userRepo = userRepo; | |
} |
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 NinjectWebServiceHostFactory() | |
{ | |
_kernel = NinjectKernel.Instance.Kernel; // point to your kernel | |
} |
OlderNewer