Search BrianLoesgen.com
Categories
Archives
Wednesday
Jul272016

Logic Apps out of preview!

Today marks an important milestone in the world of Integration: Azure Logic Apps have reached general availability (they are no longer preview).

Congrats to the team on their excellent work and efforts.

Read about it at:

https://blogs.msdn.microsoft.com/logicapps/2016/07/27/azure-logic-apps-reaches-general-availability/

Let the fun begin Winking smile

Wednesday
May112016

Inspecting HTTP headers in an Azure Logic App

 

At the time this was written, Azure Logic Apps were still in Preview. I was on a project where we needed to use an HTTP trigger for a logic app, but we didn’t want this endpoint to be exposed to the world. However, there was no way to lock down the endpoint.

So, I needed to come up with a workaround. The workaround consisted of inspecting the HTTP request headers for a specific header, and making sure it was the correct value. This was a little tricky to implement so I thought I’d do a blog post about it… and here we are!

The resulting POC logic app looked like this:

image

And here’s the code behind:

image

What the logic app does is first inspect the specific header (the “expression” line), and if the header value matches the key as shown, then it posts all of the request HTTP headers to a Requestb.in. If it fails validation, then the string “No way!” is posted to the Requestb.in.

I love the power of Logic Apps!

Friday
Feb262016

Logic Apps: Where did my Connectors go?

This week we got an exciting refresh to the Logic Apps preview, including a totally new designer. However, missing is the pane on the right from the old designer that showed API Apps in the resource group, and the Marketplace.

Instead, you pick a connector from a dropdown in the design surface itself, for example:

image

However, what you’ll see there is (for now at least) a subset of the available connectors, the ones which are now Managed APIs (V2 API Apps). Are the others all gone now? Nope. Here’s a blog post on how you can still invoke them:

http://blogs.msdn.com/b/logicapps/archive/2016/02/25/accessing-v1-apis-and-biztalk-apis-from-logic-apps.aspx

Works like a charm, and I really like the HTTP+Swagger shape which I used to call a custom API app I had written.

Lastly, if you want to watch a 30 minute webcast about the new designer I would strongly recommend this: https://youtu.be/7iZc1i9d7y0?list=PLfyqq4V4zxGGkBHcts3vpPohtyKYZ7UiQ

Enjoy!

Tuesday
Feb232016

Logic Apps Refresh is now Live!

The Logic Apps changes have now been deployed and should be available globally for all new Logic Apps in the public portal.  This brings a brand new designer, managed API connection for fast build and easy deployment, new connectors (like Dynamics CRM), and much more. 

You can find out more about it this Thursday at http://aka.ms/logicappslive.

Wednesday
Dec022015

Logic App Service Bus connector caveat

I’m working on a project where we are building an ESB on the Microsoft Azure platform.

We ran into a little “quirk” that ended up costing us some time, so I thought I’d put a post together for the benefit of anyone else that may run into it. Granted you need to be doing things in a very specific manner in order to experience it, but we managed!

We have an on-ramp service that does a variety of things. When it is done, it posts the incoming message to a Service Bus topic (determined by the Rules service). The idea is that there would be subscriber(s) that would pick up the message. The problem was that although the message in the on-ramp was valid XML, the message as received by a Service Bus connector in my Logic App was receiving invalid XML. Why?? What’s up with this?

It turned out that our wonderful valid XML message was being inexplicably prefixed with the string @\u0006string\b3http://schemas.microsoft.com/2003/10/Serialization/?\u000b”, and suffixed with some extraneous characters too.

image

 

After much digging and looking around, I came across a post that explained it. Our core issue was the way were creating a brokered message (seems like a perfectly valid thing to do), and once we switched to the stream approach to message creation listed in the blog post, everything started working as expected.

You can find details here in this post by Bruno Câmara:

http://www.bfcamara.com/post/84113031238/send-a-message-to-an-azure-service-bus-queue-with

Thanks Bruno!

Tuesday
Jul212015

Azure SDK for .NET updated

Version 2.7 of the Azure SDK for .NET just released yesterday.

http://azure.microsoft.com/blog/2015/07/20/announcing-the-azure-sdk-2-7-for-net/

Enjoy!

Friday
Jun262015

New webcasts from Azure Logic Apps team

(if you don’t know what Azure Logic Apps are, you can read about them here)

The Microsoft Azure Logic Apps team has started doing monthly webcasts, the first of which was yesterday. In that webcast they talk about what’s new, and what’s coming. If you’re an “Azure person” or an “integration person”, you want to be aware of this exciting new capability.

You can watch the webcast at http://aka.ms/logicappslive.