azure-icon-250x250

[Azure] News for developers, May 2017

This entry is part 3 of 7 in the series Azure news for Developers

Are you having trouble keeping track of everything that’s going around in Azure? You’re not alone! In an effort to do so myself, I’m starting a monthly series called “News for developers” which is exactly that: a summary of all of the Azure flavored news specifically for software developers. Now this is based on my personal feeds and my personal opinion, so you might miss things or see things which in your opinion do not matter. Feel free to leave and comment below and I’ll see what I can do for the next edition. And honestly, this is more a personal reference than anything else so having actual readers would already be awesome 🙂 Enjoy! Read More

[Azure] WordPress and Azure Redis Cache

I a quest to optimize the performance of my WordPress powered site, I thought I’d give Redis Cache a go. Redis Cache has become the industry default when it comes to caching in a key-value style. Azure has a Redis Cache offering which you can use to enhance the performance of any app. If you’re not familiar with caching: it’s a mechanism to eliminate timely data retrieval actions. Caching can be implemented several different places: you web browser uses caching so that it does not have to retrieve all files on every load. Redis Cache is usually more targeted towards scenario’s like database connections. Instead of getting items from a database table, which usually is relatively slow, you can get them from the cache instead.

 

Read More

[O365] Adding your chatbot to Skype for Business

Have you been coding your chat bot using the Microsoft Bot Framework? Good news! One of the long awaited features is finally here: the Skype for Business channel! Using this channel, you can now get your but to communicate with users using Skype for Business. This is especially good news for enterprises where S4B is often the primary communication tool. Bots were already available through Microsoft Teams, but not all companies are ready for that yet. Skype was in there as well, but is mostly used on the consumer side. So great to have Skype for Business joining the club!

Read More

[VS2017] Unable to login “failed to refresh access token”

I was running into this weird error today. For some reason (you know… it happens) Visual Studio lost it’s license. I was still logged in, but requested to re-enter my credentials. So I tried, but I kept getting errors. I then thought: let’s log out and log in again. So yeah, that didn’t happen…

Read More

[NL] Global Azure Bootcamp @ mStack!

Afgelopen jaar begon ik aan een nieuwe baan. Na 4 jaar werken voor Atos vond ik het tijd voor wat anders. Destijds verruilde ik een werkgever met ongeveer 75 collega’s voor eentje met 75.000 collega’s in 4 jaar tijd groeide dat bedrijf uit naar 100.000 man. Leuke tijd gehad, veel kunnen leren en de mogelijkheid gehad om te werken voor een aantal interessante (en vooral grote) bedrijven zoals DAF, Philips en het ministerie van Buitenlandse Zaken. Toch vond ik het tijd om wat meer focus aan te brengen op technologie die wat mij betreft nog jarenlang een zeer interessante markt zal zijn: Microsoft Azure. En rondom Azure organiseren wij op 22 april (zaterdag) het Global Azure Bootcamp. Gratis!

Read More

[Azure] Using Azure Functions Proxies

If you’ve started using Functions in Azure and you’ve got multiple set-up by now, you’ll start to find that managing them becomes a bit cumbersome, especially when you’ve spread them across multiple instances. All of the instances will have a different base URL and you might find it difficult to keep naming and versioning in line with what you planned. So now what? Let’s take a look at the newly released Proxies for Azure Functions! Read More

[Misc] Fixing annoying synchronization problem Outlook Android app

Since my outlook.com instance was upgraded to the ‘new’ experience, I’m having all kinds of issues. Two of the most annoying ones: my rules (junk sweep for instance) are not working. Not at all. Also, the synchronization on my mobile phone was pretty crappy, especially for people / contacts. It would not sync certain contacts (again: not at all) and others it would sometimes sync and sometimes delete. Being a nerd I could not stand this, so I went on to find a fix.

I tried all the logical stuff first: reset the account (which is an option in the app). Switch on / off contact syncing. Remove and add the account. Remove the app and reinstall it. I really tried pretty much everything, nothing worked.

With the update, legacy outlook.com account were moved over to a new infrastructure which is built on Office365 bits and pieces. It’s still Outlook.com, but it looks an awful lot like Outlook Online from Office365 now. And if you know Office365, you also know it’s basically Exchange behind the scenes. Read More

[Azure] Using precompiled DLL’s for your Functions

One of the cool things about Azure Functions is that they are very easy to get started. You create a new function, type some code and you’re off. This is very nice from a getting started point of view, but once you’re considering to use them for more than just playing around, other things come into play. For instance, you might want to actually test what you’re doing. You might want to reference projects, you might want to reuse some of the code you (or your company) already has. Now there’s all kinds of ways of doing this, but just recently the Function teams introduced another very interesting possibility: the use of precompiled DLL’s. Read More

[Azure] From Function to SharePoint List Item

This article describes how to insert an item into a SharePoint list using an Azure Function written in C#. Might seem like a trivial task, but there are some caveats you might want to take notice of before you start.

Read More

[Azure] Debugging Azure Functions: could not register URL

It’s still in the works, but the Azure Functions team released a preview version of the “Visual Studio Tools for Azure Functions”. At this time, you’ll need VS2015 Update 3 installed to get this to work, check out https://blogs.msdn.microsoft.com/webdev/2016/12/01/visual-studio-tools-for-azure-functions/ for further instructions.

So all excited I downloaded the tools, installed them and created my first local Function to debug from Studio. Unfortunately, it didn’t work. I got two command prompt windows which disappeared after a short while. No error, no debug, nothing. Hmmm….

A good next step is to run the functions CLI locally. You’ll need to have the CLI installed for this. Simply head over to the folder where you’ve just created your project and run “func host start”. In my case, this resulted in the following error:

“HTTP could not register URL http://+:7071/. Your process does not have access rights to this namespace”

You can assume that Visual Studio is facing the same issue, as it is also using the CLI underwater to host the functions. So what now? I found that the following command will list all of the registered http services:

Check that http.txt file and you’ll see there probably is an entry for http://+:7071/ in there.  I had nothing running on that port as far as I was aware so I decided to simply delete the reservation:

And there you go, the port is now freed up and both the CLI as well as debugging from Visual Studio (not at the same time, obviously) started working! 🙂