Création d'un plugin Stream Deck

Here’s a tutorial for creating a plugin for Elgato Stream Deck.

Required Materials

  • Elgato Stream Deck: No matter which version you use, they all use the same software.

Creating the Plugin for the Stream Deck

To assist us with our Stream Deck plugin, we use tools developed by BarRaider that allow us to quickly start our plugin and also deploy it locally on our Stream Deck. I freely follow the BarRaider documentation as well as Elgato’s, but I will still try to give you a bit more information.

[Read More]
Categories: Stream Deck  Elgato  Plugin  Tags: Stream Deck  Elgato  C#  GitHub  Plugin 

Windows 10 + Raspberry Pi 3 + Display

I’ve been playing with Windows 10 IoT and a Raspberry Pi for a little while now, so I got a touchscreen to improve my experience. Here’s my current setup:

  • Raspberry Pi 3
  • Rapsberry Pi 7” touch display
  • Raspberry Pi Clear Case
  • Windows 10 IOT Insider Edition

To get everything working, just connect the “display” cable (the big gray one) and the 3 small wires to the Raspberry Pi’s GPIO!

WP_20161102_20_08_05_Pro

[Read More]

Custom NuGet Source for MSBuild

NuGet-Logo-2If you have a custom data source for your NuGet packages and you use MSBuild for your solutions, MSBuild will not be able to restore these packages.

To achieve this without adding specific configuration files to your .Net solutions, you just need to add a NuGetDefaults.config file in the %ProgramData%\NuGet\NuGetDefaults.config directory of your build server. This file will be opened at each build requiring package restoration and will allow you to see your enterprise or personal NuGet package sources.

[Read More]
Categories: .NET  Tools  TFS  Tags: NuGet  MSBuild  build  MyGet  packages 

Exclude TFS DLLs During Publication

In one of my projects, I use an ASP.Net MVC site to communicate with Team Foundation Server (TFS) to display metrics/graphs/reports. The site is hosted on the same server that hosts TFS and during publication, it publishes the file Microsoft.TeamFoundation.WorkItemTracking.Client.DataStoreLoader.dll in the bin folder each time, which causes an ASP.Net error because the dll is already on the server.

It is possible in an ASP.Net MVC project to exclude files and directories by creating a .wpp.targets file. This allows you to define the exclusions as well as the source/reason for the exclusion.

[Read More]
Categories: .NET  Web Development  TFS  Tags: dll  TFS  publication  MVC  XML  WPP 

State Change Date in TFS Scrum

While trying to take advantage of the new trend charts in TFS 2013.4, I realized that the state change date was not added to the item template in the TFS Scrum template. I had to resort to using the modification date, but this skews the results for items that haven’t actually changed in a long time but have had a property change (notably the priority when reordering the backlog).

I found this article which explained the changes to be made, but my version of TFS is in French, so here is the French version to add to tasks, bugs, and backlog items in the <FIELDS></FIELDS> section:

[Read More]
Categories: .NET  Tools  TFS  Tags: Agile  TFS  Microsoft  Scrum  trend 

C# and JSON

If you need to use data formatted with the JSON standard, here is a simple trick to get started (but you can complicate it as you wish ;)). I use the Web Essentials extension and the NuGet package Json.NET. The JSON data file I use is this one: Example JSON File (source).

Here are the steps to take the JSON data, generate the necessary classes, download the data, and populate these new classes:

  • Install the Web Essentials extension
  • Create a new class file
  • Put a snippet or the entire JSON data into the clipboard (Copy or CTRL-C)
  • Right-click in the editor or go to the EDIT menu/Special Paste and select “Paste JSON as Classes”

image

[Read More]
Categories: .NET  C#  Tags: JSON  NuGet  Json.NET  Web Essentials  C#  Data 

Privacy Policy for Windows Store

I was aware of the requirement for a privacy policy for the Windows Store (requirement 4.1.1), but when publishing my application it was rejected on the grounds that I absolutely had to provide this policy because I was using the Internet connection. So even if you do not collect information from your users, simply being connected requires this policy. It is unfortunate that Visual Studio validation does not detect this issue and that it is detected later during submission.

[Read More]
Categories: .NET  C#  General  Tags: Windows 8  Windows Store  Privacy  Charm 

Patiner on the Windows Store

After creating a similar app on Windows Phone, I had fun making a similar app on Windows 8: Patiner.

The app allows you to view the status of the ice rinks on the island of Montreal by navigating the map. It’s very simple and that’s intentional, but improvements are already planned for future versions.

The data comes from Patiner Montreal, which offers an excellent web portal and links to apps for other operating systems.

[Read More]

Back at it?

After almost a year without activity, this blog is almost on life support. A new job, the little family, and other elements have kept me away. But I will try to remedy that:

  • I updated the blog engine and fixed some issues.
  • Changed the theme.

I already have some blog ideas, so in some time they should appear on this blog.

Stay tuned…

Categories: Tools  General  Tags: Blog  BlogEngine.NET 

Review of .NET Micro Framework and Gadgeteer at Alt.NET Montreal

logoFooter\[1\] Wow, a great evening: an attentive and interested audience. Here are some links that were discussed during the evening:

You can download the files and the presentation in zip format here and on the .Net Montreal group website.

I forgot Gadgeteer stickers at home, so if you want some, let me know and we’ll arrange to send them to you!

Thank you, if you have any questions feel free to contact me and I look forward to seeing your projects!

[Read More]
Posts