- Microsoft and Open Source - Past and Future
- Azure IaaS changed everything : Microsoft loves Linux
- Examples of OSS Projects
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
FROM ubuntu:14.04.2 | |
MAINTAINER [email protected] | |
RUN apt-get update && \ | |
apt-get install mono-complete curl unzip && \ | |
mkdir /usr/local/orleans && \ | |
curl https://chgeuer.blob.core.windows.net/public/orleans1_0.zip > /usr/local/orleans/orleans1_0.zip && \ | |
cd /usr/local/orleans && \ | |
unzip orleans1_0.zip |
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 microsoft.chgeuer.crypto | |
{ | |
// compile this baby against https://github.com/bcgit/bc-csharp | |
// or against NuGet <package id="BouncyCastle" version="1.7.0" targetFramework="net45" /> | |
using Org.BouncyCastle.Asn1.X9; | |
using Org.BouncyCastle.Crypto.Generators; | |
using Org.BouncyCastle.Crypto.Parameters; | |
using Org.BouncyCastle.Security; |
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
// <package id="Heijden.Dns" version="1.0.0" targetFramework="net45" /> | |
var aRecord = new Heijden.DNS.Resolver().Query("somedomain.de", Heijden.DNS.QType.A); | |
foreach (var x in aRecord.Answers) | |
Console.WriteLine("Answer: {0} is an {1} record for {2} (TTL {3})", | |
x.NAME, x.Type, x.RECORD, TimeSpan.FromSeconds( x.TTL)); | |
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
Func<string, Task<bool>> CheckNameAvailabilityAsync = async (cloudServiceName) => | |
{ | |
var computeManagementClient = new Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient( // Microsoft.WindowsAzure.Management.Compute.8.0.0 | |
new Microsoft.Azure.CertificateCloudCredentials( // Microsoft.Azure.Common.2.0.1 | |
subscriptionID, subscriptionManagementCertificateThumbprint.FindX509CertificateByThumbprint(storeLocation))); | |
var result = await computeManagementClient.HostedServices.CheckNameAvailabilityAsync(cloudServiceName, cancellationToken); | |
return result.IsAvailable; | |
}; |
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 ChangePasswordForOrigin | |
{ | |
using System; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
class Program |
Now full sample at https://github.com/chgeuer/UploadProfilePicture
An ad-hoc signature is one which is purely time-based, i.e. it cannot be valid for longer than an hour (to prevent yourself from creating a vulnarability).
- Azure Compute, Storage and Networking
- Compute
- Azure Cloud Services (PaaS)
- Azure Virtual Machines (IaaS)
- Compute
- Azure Web Sites (SaaS)
- Blog: Network Security Groups
- MSDN: About Network Security Groups
- MSDN: Azure Virtual Network Configuration Schema
- TechEd Europe 2014 Video: Introduction to Microsoft Azure Networking Technologies and What's New
- Community Blogs - http://hindenes.com/trondsworking/2014/11/06/azure-network-security-groups-in-practice/