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 https://galasoft.ch

Thank you for your visit!!

Creating the simplest possible ASP.NET Core form with a POST method

.NET Core, .NET Standard, ASP.NET, Razor
See comments

Simple HTML form in ASP.NET Core

Recently I needed to create a simple page for someone to submit an HTML form. The rest of the Azure aplication is running on Azure serverless functions, Logic apps and Cognitive services, but for that last part I wanted something where the user can click on a link, open the page in a web browser (probably on a mobile device), enter a passphrase in a form and then submit through a POST to an SSL encrypted page. I thought of writing a small Xamarin app and submitting through POST to an Azure Function. Another option would be to use a static HTML page and to use Javascript to submit the Form through a POST to that Azure Function. I don't exclude these two options for the future.

But in the meantime I wanted to experiment with a simple Razor page (CSHTML) that would present an HTML Form to the user, and submit this Form to itself with a POST over HTTPS.

I noticed that the documentation is not great about how to do this in the simplest possible manner and so I created an example with source code and complete instructions.

I hope this is helpful to you!

Happy coding


2018 in review, planning for 2019

Azure, Cloud Developer Advocate, Conferences, Microsoft, Personal, Work
See comments

As 2019 is starting, I want to take a moment to reflect on 2018 and think about next year.

After joining Microsoft and the Azure Cloud Developer Advocates team in August 2017, 2018 was the first full year I spent in this team. I had decided to travel a lot and speak in places I had never spoken before, connecting with developers and communities that I had never met earlier. This meant a lot of travel, but I am happy to report that all went very well, I stayed (mostly) healthy (except for a small episode of the flu probably caught on a Singapore-Zurich flight), and I learned a lot of things, both about Azure and about myself :)

The conferences

I listed below all the conferences I spoke at in 2018. There was a total of 53 sessions, some of them online, most of them in person. I loved creating and giving these sessions, but most importantly I loved connecting with the attendees. If I had to pick my two favorite events of 2018, I would probably select two user group events :


Meetup in Sao Paulo, Brazil (December 11, 2018)

.NET, .NET Standard, Conferences, Work
See comments

I am super happy to announce that on December 11, 2018, I will be presenting my session .NET Standard, .NET Core, why and how? to the .NET Sao Paulo User group.

DotNet Standard DotNet Core

You can register for this talk today! It's a free event and Microsoft will be offering free food and drinks.


Where can you find me at NDC Sydney?

Cloud Developer Advocate, Conferences, MVVM, NDC, Xamarin
See comments

NDC Sydney

As I just arrived after a long trip from Zürich to Sydney, I thought it would be good to give an update on my activities down under.


Three new videos on my YouTube channel

.NET Standard, ASP.NET, Azure, Cloud Developer Advocate, Conferences, Website
See comments

I just published three new videos on my YouTube channel. These videos are the beginning of a 14-videos series recorded live at the Modern Web Tour this July in Zurich Switzerland. You can see a recap of this session (including slides and source code) on my Presentations site.

If you like what you see, please subscribe to my YouTube channel. The more subscribers I have, the more motivated I am to create new videos :)

Title slide


Where will you see me in September and October?

Cloud Developer Advocate, Conferences
See comments

Now that the summer break is over, I am preparing myself for quite a lot of travel in the coming months until Christmas. As you will see in this post, I went a little overboard with conferences, and will have the great pleasure to present in various location where I have never spoken before. This year was quite a busy year for me in terms of speaking engagements and travel, and I am so grateful that Microsoft has given me the opportunity to touch so many people and to share knowledge about the amazing services that Azure is offering. I also started recording myself during conferences and while the editing process is not as fast as I may wish, I have already put one such presentation about .NET Standard on my YouTube channel.


Rebooting the blog (again...)

Azure, Blog, Cloud Developer Advocate, Website
See comments

If you have been attentive (and I wouldn't blame you if you haven't), you may have noticed that this blog was quite silent for the past few months. Apart from a blog post around the Microsoft Build timeframe, I didn't do much here. There are multiple reasons for that (aren't there always...), but the main one was that when I joined Microsoft a year ago, I also undertook a fairly big task on my free time: I decided to port my website and my blog to Azure.



Meet me at Build 2018!!

Azure Functions, Build, Conferences, Microsoft, Xamarin
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!


Publishing #MVVMLight V5.4.1 with .NET Standard support

.NET, .NET Standard, MVVM, Technical stuff, Universal Windows Platform UWP, Windows 10, Work, WPF, Xamarin
See 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:


2017 in review… welcome 2018!

Cloud Developer Advocate, Conferences, Microsoft, Personal, Technical stuff, Work, Xamarin
See 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.