Create your first object connected to the Cloud

The Internet of Things is getting a lot of attention these days. The opportunities are huge for nearly every single company. Manufacturing, energy, healthcare, transportation, public sector, fiance and more will benefit from this technology.  The good news for software developers is that it's very easy to start to surf the wave right now. During the Microsoft TechDays 2015, we created a 45 min lab for the attendees to put their hands on "real" things and live the experience. 70 lucky people took the challenge. It's now time to enlarge the audience, so here is the complete scenario, detailed step by step, with intermediate source code. Scenario How could a C# developer use its skills and 45 minutes to create a very simple connected light? This light should be controlable on the device itself and remotely using any smart phone. Solution For someone with no electronic background but a desire to explore more IoT scenarii, Gadgeteer is a great choice. Gadgeteer is one of the fantastic project created by Microsoft Research and open sourced on CodePlex with the objective to ease the conception of objects. No soldering, no resistor calculation, just plug in and it works! More than software, the hardware specifications has been open sourced too. Companies like GHI Electronics made some great boards and modules and released the plans and source code. Gadgeteer relies on another master piece of software called .NET Micro Framework, an adjusted version of the famous .NET Framework for the very constrained micro controllers. Once again, you'll get full control and ability to learn [...]

By |2018-01-15T02:44:05+00:00February 20th, 2015|Categories: IoT|1 Comment

Microsoft TechDays 2015 Atelier IoT : Réalisez votre premier objet connecté au Cloud

Pour la toute première fois, l'édition 2015 des Microsoft TechDays a mis en place un atelier à propos des objets connectés intitulé : "Atelier IoT : Réalisez votre premier objet connecté au Cloud". En complément des sessions théoriques, vous pourrez expérimenter de façon très concrète, vivre le phénomène des "Makers", "mettre les mains dedans". C'est une excellente opportunité d'évaluer le formidable potentiel que représente l'Internet of Things. J'aurai le plaisir d'animer cet atelier en compagnie de deux passionnés : Fabrice Barbin de Synergiz et Sébastien Warin de Publicis ETO . Les places étant très limitées, je ne saurais vous conseiller de vous inscrire en ligne. Nous mettrons un kit Gadgeteer complet comme celui-ci à votre disposition. Une carte mère FEZ Cerberus, une alimentation, un bouton, une LED et une prise réseau. Pour vous préparer à ces 45 minutes didactiques et amusantes, prenez connaissance dès maintenant des prérequis : 1) Un ordinateur capable de faire fonctionner les logiciels ci-après. 2) Visual Studio 2013 Update 4 Comptez 30 minutes d'installation minimum. Visual Studio Community 2013 est disponible gratuitement. Une seule option est nécessaire, les "Microsoft Web Developer Tools". Visual Studio Setup options 3) .NET Microframework SDK 4.3.2 QFE2 RTM + Visual Studio Extension 2 minutes, disponible sur CodePlex. 4) .NET Gadgeteer Core 2 minutes, disponible sur CodePlex. 5) GHI Electronics .NET Microframework SDK 4 minutes, disponible sur le site de GHI Electronics principal fournisseur des composants Gadgeteer. Vous y trouverez une communauté de passionnés très actifs, n'hésitant pas à partager leurs créations. Pour vérifier que votre [...]

By |2018-01-06T12:35:15+00:00February 7th, 2015|Categories: IoT|Tags: , |1 Comment

KloutSharp the open source Klout API in C# on GitHub

Like it or hate it, there's not a lot of tools to measure your impact on social networks. Klout is one of those, not perfect but you should check it. The Klout APIs are pretty simple but a ready to use C# implementation will ease your work. I created a portable library so it should be usable for .NET 4.5, Windows, Windows Phone, iOS and Android. It's available right now as open source software on GitHub. How to use it? First, you have to get a Klout API key. Then, add a reference to the NuGet package or add the source files directly. The entry point is the Klout object, so create a Klout object before anything else. var key = "Put your Klout API key here"; var k = new Klout(key); Then you might need to get the Klout identifier of your user. You can use any Klout.Identity*Async method depending on the information you currently have (Twitter Id, Google+ Id, etc.). var identity = await k.IdentityAsync("danvy"); Console.WriteLine(string.Format("Your Klout Id is {0}", identity.Id)); Once you have the Klout Id, you can keep it forever. Now you can call the other APIs such as UserAsync to get user informations var user = await k.UserAsync(kloutId); Console.WriteLine(string.Format("Klout user nick={0} score={1}", user.Nick, user.Score.Score)); A sample app with full source code is provided. To make the long story short, you're now able to get a Klout score in 2 or 3 lines of C#. Isn't it great? Have fun [...]

By |2015-02-02T00:51:37+00:00February 2nd, 2015|Categories: KloutSharp|0 Comments