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
#r "../bin/Microsoft.Owin.dll" | |
using System.Net; | |
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log) | |
{ | |
log.Info("We are refering a dll"); | |
// parse query parameter | |
string name = req.GetQueryNameValuePairs() |
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"?> | |
<configuration> | |
<config> | |
<add key="repositoryPath" value=".\packages" /> | |
</config> | |
<packageSources> | |
<add key="nuget.org" value="https://www.nuget.org/api/v2/" /> | |
<add key="vsts_package_name" value="your vsts package name" /> | |
</packageSources> | |
<packageSourceCredentials> |
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
{ | |
"frameworks": { | |
"net46": { | |
"dependencies": { | |
"Microsoft.Azure.DocumentDB": "1.11.1" | |
} | |
} | |
} | |
} |
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
appModule.service('ApiCall', ['$http', function ($http) { | |
var result; | |
var config = { headers: { 'Content-Type': 'text/json' } }; | |
// This is used for calling get methods from web api | |
this.GetApiCall = function (url, queryString) { | |
result = $http.get(url + queryString, config).success(function (data, status) { | |
result = (data); | |
}).error(function () { | |
alert("Something went wrong during get call"); |
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
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> | |
<div class="col-md-4"> | |
<h4>AngularJs Sample</h4> | |
<p> Here is a sample I wrote. </p> | |
<div ng-app="demoApp" ng-controller="demoCtrl"> | |
<p style="font-style:italic">This shows the basic bindings from model.</p> | |
First Name: <input type="text" ng-model="firstName"><br> | |
Last Name: <input type="text" ng-model="lastName"><br> | |
Full Name: {{firstName + " " + lastName}} <br> |
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
{ | |
"version": "0.1.0", | |
"command": "showInChrome", | |
"windows": { | |
"command": "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" | |
}, | |
"osx": { |