- Azure cloud shell
- Azure Mobile portal : mobile app for Android and Apple, withe azure cloud shell included.
- VS Snapshot debugging for azure
- VS for Mac
- VS tooling for Azure functions.
- Databases
- Pass offering for mysql and postgres
- Cosmos Database
Please follow the steps below to generate swagger for Azure functions
// GET api/values/5 public List<Rootobject> Get() { return new List<Rootobject>();}
Hopefully this will help in saving some time…
The recent BizTalk 2012 R2 release has inbuilt REST support for both exposing, and consuming a REST service using the WebHttp binding
In this blog post I will provide a walkthrough on how to configure BizTalk to:
We will use the Hello World orchestration example that is part of the SDK.
<BtsHttpUrlMapping>
<Operation Name=”Operation_1″ Method=”POST” Url=”/HelloWorld”/>
</BtsHttpUrlMapping>
<BtsHttpUrlMapping>
<Operation Name=”Operation_1″ Method=”POST” Url=”/api/values/post”/>
</BtsHttpUrlMapping>
Access control services supports both SAML and SWT tokens, now what exactly is the difference between them
|
SAML |
SWT |
Protocol support |
WS Trust, WS-federations (Soap based) |
OAuth WRAP and OAuth 2.0 (HTTP REST) |
Cryptographic differences |
Tokens are signed using asymmetric keys (which provides CA verification, and revocation) |
Tokens are signed using symmetric keys |
Feature |
Alternative |
File Streams |
Azure storage blobs. |
Distributed tx |
Use SSIS |
Free text search |
|
Transparent Data encryption |
<<>> |
DBType |
Azure |
Amazon |
non-relational (Small datasets) |
Azure storage |
|
non-relational db (large datasets, Big Data) |
|
Dynamo DB |
Relational |
Sql Azure |
|
Other Databases |
VM Role |
VM Role |
As a part of my azure service bus learning, I always ended up creating console/win form/test projects for submitting messages to either a queue or topic. It was the same repetitive code always, but the following always ended up being different…
1) Name of the Queue or Topic
2) key and issuer
3) Service Namespace
4) XML Bridge (EDI ??)
Being a BizTalk Dev/Architect for most of my IT career, we select files with right click for testing a map..etc, keeping this in mind, I came up with a visual studio context menu extension(on how-to will be another blog post), which does the following.
For any selected file in visual studio it can submit to either a queue or topic, the following image should be self explanatory.
For this release we need to have the following key/value pairs in the appsetting section of the project configuration file. The future release will include a property window or submenu.
<appSettings > <add key="Topic" value="topictest"/> <add key="Queue" value="test"/> <add key="Issuer" value="owner"/> <add key="Key" value=""/> <add key="ServiceNamespace" value="/> </appSettings>
In the background I use a messagesender class to stream the files (it can be any type) to the service bus
// Read the selected file in the project // and pass this into the the brokedmessage constructor. var fileStream = new FileStream(this.selectedFile, FileMode.Open); using (var message = new BrokeredMessage(fileStream, true)) { messageSender.Send(message); }
But what if we want an object to be published to a queue or a topic, Simple we serialize this to a file stream, include it into the project and send it to the queue, how?
private void SerializePizza() { DataContractSerializer ds = new DataContractSerializer(typeof(PizzaOrder)); using (Stream s = File.Create("pizza.xml")) { ds.WriteObject(s, this.GetOrder()); } }
And in the receiver we de serialize that back into the pizza object.
XmlObjectSerializer cc = new DataContractSerializer(typeof(AzureAddin.PizzaOrder));
Console.WriteLine(string.Format("Pizza Quantity: = {0}",
message.GetBody<AzureAddin.PizzaOrder>(cc).Quantity));
Note: This is the first release we will be adding more functionality in the future releases
1) A Property grid for selecting the topic, subscription or the queue
2) A collection property to specify the BrokeredMessage properties
3) Subscription support.
4) EDI Support
You can download the extension from the MSDN site
http://visualstudiogallery.msdn.microsoft.com/0248b200-37cd-47d5-8767-0120028fa78c