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
new FeedOptions() | |
{ | |
EnableCrossPartitionQuery = true | |
} |
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 async Task<Note[]> AllInPartition(string customerId) | |
{ | |
using (var client = new DocumentClient(new Uri(_endpoint), _key)) | |
{ | |
var link = UriFactory.CreateDocumentCollectionUri(_databaseId, CollectionId); | |
var query = client.CreateDocumentQuery<Note>( | |
link, | |
new FeedOptions() | |
{ |
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
<svg xmlns="http://www.w3.org/2000/svg" width="900" height="280" viewBox="0 0 2100 633"> | |
<g id="group" fill="none" fill-rule="evenodd"> | |
<rect width="2100" height="650" fill="#262626"/> | |
<circle cx="676.7672874773058" cy="597.1612764655976" r="3.0788920676038387" fill="#FFFFFF" fill-opacity="0.4443456812210784"></circle> | |
</g> | |
</svg> |
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
var stars = 600;sk | |
var sizeVariance = .9; var starSize = 2.5; | |
var opacityVariance = 1; var w = 2100; | |
var h = 650; | |
var g = document.getElementById("group"); | |
for (var i = 0 ; i < stars ; i++){ | |
var x = getRandomNumber(0,w); | |
var y = getRandomNumber(0,h); |
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
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">Hello bob</string> |
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
[assembly: InternalsVisibleTo("Namespace.To.UnitTestProject")] |
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
[TestMethod] | |
public void DoSomething1_Test() | |
{ | |
var data = new byte[1]; | |
var sut = new ReportingService(); | |
var po = new PrivateObject(sut); | |
var result = po.Invoke("DoSomething1", new object[] { data }); | |
Assert.AreEqual(1, data[0]); |
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
private void DoSomething1(byte[] data) | |
{ | |
data[0] = 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
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">Bye bob</string> |
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
az ad sp create-for-rbac --scopes /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/myresourcegroup/providers/Microsoft.ContainerRegistry/registries/myregistry1 --role Owner --password myPassword |