C Sharp

BASTA! Sessions about LoB with UWP and Source Control with Git!

Hi developer,

this week I had two sessions at the leading independent conference in the German-speaking area for Microsoft technologies, the BASTA! conference. Thanks a lot for joining and making my sessions a wonderful experience for me, and hopefully for you too!
(more…)

Read more...

Building a Classic Tabbed and Databound Desktop Application with UWP and MVVM

What kind of business applications do you build? Do they have a tabbed user interface? Most of mine do so.

After spiking (=prototyping) the Visual Studio Shell I wanted to go deeper into building a tabbed user interface with UWP, of course databound with MVVM.

As you might know, UWP does not contain a TabControl. But it contains a Pivot-Control that has pretty much of the functionality needed for a classic tabbed UI. So, let’s go with the Pivot and let’s see how far we can get. (more…)

Read more...

BASTA! 2016: Sessions and Slides

Thanks to all of you who attended one or more of my three sessions at the BASTA! Conference about

  • Integrating Office 365 Data into your app by using Microsoft Graph
  • Building Apps with the Universal Windows Platform
  • Input Validation in WPF with INotifyDataErrorInfo and DataAnnotations

Slides and demos are linked to the talks on www.thomasclaudiushuber.com/talks

It was another fantastic BASTA! conference: Great people, great sessions, well organized and a lot of fun. Looking forward to see you at the next BASTA!

Read more...

UWP: The Master-Detail-Problem with the events SelectionChanged & LostFocus and How to Fix it

While creating apps with the Universal Windows Platform (UWP) I noticed a weird behavior, but I’m not sure if it’s a bug. Let’s just call it the “Master-Detail-Problem”.

To explain it, I stripped  down my code to the XAML-snippet below. No code-behind needed. (more…)

Read more...

Calling the Azure Event Hub REST-API – from UWP, WPF and any other .NET (Core) Client

To push events into Azure Event Hub you can use the Nuget-package WindowsAzure.ServiceBus (https://www.nuget.org/packages/WindowsAzure.ServiceBus/). That package works pretty straight forward, but there’s one problem:

(more…)

Read more...

Creating a background application with WPF

Sometimes you need to have an application running in the background. Then you don’t want your MainWindow to be visible all the time. Instead you just want to have an icon in the notification area that allows the user to open up the MainWindow and to exit the application. In WPF you can do this easily with the help of Windows Forms’ NotifyIcon-class.

(more…)

Read more...