Diary of a code trotter

Laurent Bugnion

I am really happy to welcome you here. This page displays the 10 most recent entries of my blog.

For older posts, please go to this page where you can browse the whole content.

For other content, please visit my main page at http://galasoft.ch

Thank you for your visit!!
Laurent

Meet me at Build 2018!!

Microsoft, Build, Conferences, Xamarin, Azure Functions
See comments

As I am on my way to Microsoft Build in Seattle right now, I want to post my schedule so as many of you as possible can come say hi! I really love to meet people from the community and hope that we have a good chance to talk in Seattle too!

My session about Azure Functions and Xamarin

May 9th, 14:30 – 14:50, Modern Workplace Theater: I will have the pleasure and honor to present a short theater session at Build, title "Mobile apps built with Xamarin, using a serverless Azure Functions back-end". You can find it in the Build mobile application under the code THR2433. In this short time, we will explore creating a new Azure Function in the Azure web portal, then how to do the same in Visual Studio 2017 (including testing), and finally build a Xamarin.Forms client to connect to the Function and use it.

In person learning (Xamarin labs)

There are two Xamarin labs that I will be helping this year. The labs are prepared and given by the awesome Xamarin University staff and some of us Cloud Developer Advocates will be around to help and assist you.

May 8th, 3PM – 4:15PM, Build your first Xamarin.Forms app across Android, iOS, and Windows where we will see an introduction to the world of cross platform programming.

May 9th, 4:30PM – 5:45PM, Connect your mobile app to the cloud with Azure App Service Mobile Apps where we will go deeper and explore how to connect these cross platform apps to Azure.

Xamarin booth

I will help at the Xamarin booth with other Xamariners and that should be a great occasion to talk about the latest announcements or about your experiences. We want to hear what is good and what is not so good so we can fix it.

My “official” schedule is as follows:

  • May 8th, 9:30 – 12:45
  • May 9th, 8:30 – 11:45

I will also surely hang around the booth at other times, so don’t hesitate to check it out and to ask for me if I am not there.

The lounge

This year the Cloud Developer Advocates are in charge of the Lounge where I am told that you will be able to relax, chat with a lot of technical experts and even pet some cute animals :) my daughters are jealous. I will be at the Lounge a lot, probably every time that I am not busy somewhere else. Also a great occasion to meet other of my colleagues!

Non binary happy hour

We will host a non binary happy hour on Monday the 7th, from 5PM to 7PM. So if you are non binary or want to support the non binary community, join us at the Lounge!

Language Lunch

The Language Lunch is a new experiment! We know that sometimes it can be tough to speak in English all day long when it is not your primary language. At the Language lunch, you will have the opportunity to speak in multiple languages with Microsoft experts. I will be there to host French and German tables, so make sure to check the signs in the lunch area!

Hopefully I can meet a lot of you there! In the meantime, safe travel and enjoy Seattle!! Laurent

Publishing #MVVMLight V5.4.1 with .NET Standard support

.NET, .NET Standard, MVVM, Technical stuff, Universal Windows Platform UWP, Windows 10, Work, WPF, Xamarin
9 comments

I just finally published MVVM Light V5.4.1 which is a stable version containing the .NET Standard support that was released as a preview a few months ago. It took a long time for this version to come out due to the new job keeping me busy as well as a few health issues in the family.

I am really happy to have this stable version out and about! Make sure to upgrade your packages! Pay attention to the following details:

More...

2017 in review… welcome 2018!

Cloud Developer Advocate, Conferences, Microsoft, Personal, Technical stuff, Work, Xamarin
0 comments

As we just started 2018, it’s been a tradition in the past few years to pause for a moment and take a look back. This was definitely an interesting year, both in good and bad ways, and definitely a year of changes. As such I must admit that I am looking forward to 2018 being a hopefully more stable year. Change is exciting, but it can also be taxing.

Privately, 2017 has been marked by some difficulties that I don’t want to expand on here. On the professional side, of course the exciting news was that I was proposed (and I accepted) a job at Microsoft. The second half of the year was spent getting to know the new team, understanding what the requirements were, getting up to speed with my partners and management, etc. It was also full of travels to old and new locations, meeting and making friends, speaking to new audiences about new topics. Professionally, it was a really good and fascinating year.

More...

Using the #mvvmlight DispatcherHelper in your .NET Standard libraries

.NET, .NET Standard, MVVM, Technical stuff, Universal Windows Platform UWP, Windows 10, WPF, XAML
0 comments

You might have heard that MVVM Light is now available as a .NET Standard 1.0 package, which means that you can use it in all your .NET Standard libraries (including 1.0, 1.4, 2.0 etc). Since .NET Standard is always backwards compatible, having MVVM Light running on .NET Standard 1.0 is quite convenient.

More...

Travels in October and November

Azure, Microsoft, Technical stuff, Visual Studio, Work, Xamarin
0 comments

These coming few weeks will be quite busy with conferences and other meetings. Here is where you might have the occasion to see me:

  • I am currently in Boston, where I will support Scott Guthrie’s Red Shirt Tour on October 19. Ultimately, Scott is my boss (‘s boss’s boss’s boss) as well as someone I have admire ever since I met him in person 10 years ago. The event is all about Azure with Scott showing demos and code across all of Azure, Visual Studio, Xamarin and more.
  • After Boston, I will be in New York City on October 20th. This is another stop of the Azure Red Shirt Tour.
More...

Flexibility is great until it isn’t… Careful with these Azure Tables!!

Azure, Azure Storage Explorer, Azure Tables, Technical stuff, Work
5 comments

As part of my ongoing discovery of Azure features and services, I am working on a few applications and samples that use various features of Azure such as Azure Functions, Azure Tables and more. Recently I had a bug in one of my applications, a link shortener that takes in a link in the form http://gslb.ch/5t and returns another longer link, in this case https://expertday.forxamarin.com.

The application uses an HTTP Module that detects the short domain gslb.ch and performs the table lookup. This is straightforward enough. Where things become interesting is that by deploying this solution on Azure and switching Application Insights on, I get some feedback on who is clicking what. For instance, the short link above has a few possible variations. http://gslb.ch/5t is used for Twitter, as indicated by the trailing T. I could also use http://gslb.ch/5f for Facebook, http://gslb.ch/5l for LinkedIn, you get the idea. It allows me to see where the majority of my community is active, which is interesting information.

More...

Writing, writing, writing…

.NET, Azure, Azure Functions, Cloud Developer Advocate, Microsoft, Technical stuff, Work, Xamarin
0 comments

One thing I love in my new job is that I can just sit down anywhere on Earth, grab my Surface Pro and produce content (articles, samples, etc) or learn new things just as if I was home. I just came back from Singapore and had a great time there talking at the Xamarin “MonkeyFest” conference. But it was also a busy time producing content and I am so happy that things are starting to fall into place.

Here are a few highlights:

More...

Installing #mvvmlight for .NET Standard 1.0

.NET, MVVM, Technical stuff, Universal Windows Platform UWP, WPF, Xamarin
2 comments

I just released the new MVVM Light preview version for .NET Standard 1.0. I also published an article in the MVVM Light documentation describing the installation of the .NET Standard 1.0 version of MVVM Light as well as the changes needed to existing applications.

Hopefully you find this helpful.

More...

My talks in September

.NET, Azure, Azure Functions, Microsoft, MVVM, Work, Xamarin
0 comments

I don’t know about you but I had an amazing summer. I had the amazing luck of spending time in beautiful places in the Philippines, Iceland and then 2 great weeks in Seattle and Redmond. Having started to work with Microsoft on August 1st, it was great to be on campus in Redmond as a blue badge.

Apart from sitting down with my new team, meeting my new manager and old friends on campus, I also delivered two sessions at the Visual Studio Live conference. The event took place at the Microsoft conference center (Building 33) and was as packed as usual with great speakers and very competent attendees. This year was special for me because my two talks took place in the Cascade room, which is a really nice auditorium with all the comfort. I also had a lovely time interacting with attendees at the traditional Birds of a Feather lunch, where a table is assigned to a speaker and attendees can go around the room, sit down, ask questions or just chat.

More...

Running unit tests on Azure Functions in Visual Studio 2017

.NET, Azure, Azure Functions, Microsoft, Technical stuff, Visual Studio
0 comments

TL;DR; You should really update your Nuget packages

I am currently experimenting a lot with Azure due to my new job and also of course due to the really cool innovation that we can find there. Recently I got interested in Azure Functions. This cool feature allows to write a small piece of code that runs on Azure and can be triggered by various events (time based, HTTP-request based, etc). For example, imagine that you have a value that keeps changing and you want to monitor this value and do some kind of analytics on this. In the code I am currently writing, I am using the value of a Bitcoin as the sample, and I am just periodically reading this value and storing it into an Azure database.

For this small functionality, it would be much too complicated to set an entire server-based application up. This is a perfect example for a time-based Azure Function. I am not going to explain more about Azure Functions here, because I am working on a complete article including sample which will do that. But in the course of my investigation, I stumbled upon an issue that can easily be solved.

More...