Lucian's VBlog

Visual Studio Text Adornment VSIX using Roslyn

A VSIX is a way to install plugins into Visual Studio. The kind of plugin I'm interested in right...

Date: 06/27/2016

Manifesto: a new fluid UI for desktop/LOB data-entry

I'm fed up with clunky dialog-based UIs. Here are two apps, the Windows 7 Calculator and Windows 10...

Date: 06/14/2016

OpenCV: first version up on NuGet

I got OpenCV to work via NuGet! Here are the steps to consume it: 1. File > New > C++ > UWP...

Date: 12/03/2015

PlatformSpecific.Analayzer - to spot when you're using platform-specific UWP APIs

With the release of 10586, I’ve wanted to know whether an API I just used was newly introduced...

Date: 12/02/2015

OpenCV: how to split it up into components

[This article documents my ongoing attempts to get OpenCV working in UWP apps] My goal is to figure...

Date: 11/30/2015

OpenCV: building UWP binaries

[This blog article documents my continuing mission to figure out how to use OpenCV in UWP apps...]...

Date: 11/27/2015

OpenCV: unsure how to proceed

OpenCV https://opencv.org/ is the standard open-source library that everyone uses for image...

Date: 11/25/2015

Writing a NuGet package for VS2015 RTM [repost]

There are some exciting changes coming to NuGet in VS2015 RTM, under the name NuGet 3.1, also known...

Date: 09/15/2015

Using project.json for other project types

If you use VS2015 to create a new UWP project, there are three interesting things in the References...

Date: 08/19/2015

Writing a NuGet package for VS2015 RTM and UWP

[I've removed this old article, and posted a revised+edited version here]

Date: 07/27/2015

Win10 apps in .NET - porting from phone8.1 to phone8.1 + Win10 using Shared Projects

This is Part 7 of my "VB Win10 Apps" series. (Everything applies to C# as well, of course). Part 1:...

Date: 06/12/2015

Win10 apps in .NET - porting from 8.1 universal to Win10

This is Part 6 of my "VB Win10 Apps" series. (Everything applies to C# as well, of course). Part 1:...

Date: 06/09/2015

Win10 apps in .NET - projects, targets, libraries

This is Part 5 of my "VB Win10 Apps" series. (Everything applies to C# as well, of course). Part 1:...

Date: 06/05/2015

Win10 apps in .NET - references

This is Part 4 of my "VB Win10 Apps" series. (Everything applies to C# as well, of course). Part 1:...

Date: 06/01/2015

Win10 apps in .NET - design-time data in XAML

This is Part 3 of my "VB Win10 Apps" series. Part 1: getting started Part 2: issues with common...

Date: 05/21/2015

Win10 apps in .NET- common library issues

This is Part 2 of my "VB Win10 Apps" series. Part 1: getting started > Part 2: issues with common...

Date: 05/20/2015

Talk: architecture for a connected device+cloud app

How do you write a "connected device+cloud" app that works, and doesn't crash when the user walks...

Date: 05/20/2015

Win10 development in VB and .NET - getting started

This is Part 1 of my "VB Win10 Apps" series. (this list is just my rough thoughts on what to write....

Date: 05/18/2015

Exception.StackTraceEx - better exception stacktrace for async code

Last year I wrote about getting good exception stack traces for async code. Now I've cleaned it up,...

Date: 08/24/2014

Mr Flakey -- helps you write robust async code

(Update: Mr Flakey asked me to tell everyone that he's now available as a NuGet package) It's a fact...

Date: 08/08/2014

Apps vs Websites

On your phone/tablet, which do you prefer -- apps or websites? Do you look up stuff more frequently...

Date: 07/18/2014

Async re-entrancy, and the patterns to deal with it

What should we do in case of re-entrancy? For example, if the user clicks the button twice in rapid...

Date: 03/03/2014

A small app to fix date/time on photos and videos

I find it frustrating to assemble photos from different devices - my wife's iPhone, my Windows...

Date: 12/18/2013

Some potential language ideas for future versions of VB

Mads Torgersen recently gave a talk called “The Future of C#”, where he described some...

Date: 12/13/2013

Talk: Async best practices

I've talked about async best practices a lot, and each time I've tried to refine the talk a little...

Date: 11/22/2013

How to make a Win8.1 app with ScrollViewer respond to size changes

Users expect Windows8.1 apps to resize gracefully - either when they "snap" the app to a particular...

Date: 10/22/2013

How to generate PDF on Windows Phone in VB or C#

I need to generate PDF from my Windows Phone app. Unfortunately none of the standard free...

Date: 08/15/2013

How to get Exception.StackTrace line numbers on Windows Phone

(update: I've written an updated blog post about this. Also I made it available on NuGet as package...

Date: 08/15/2013

Talk: The Complete Async -- three talks from TechEd Europe 2013

I gave three talks on Async at TechEd Europe. These cover everything you need to know about async,...

Date: 06/28/2013

MVVM with Async - sample code

How do you combine MVVM with async? -- Well, really, there's not much to it. Just the same as...

Date: 02/26/2013

Talk: The New Async Design Patterns

Talk: The New Async Design Patterns Async involves some new concepts. They're not difficult; just...

Date: 02/17/2013

Talk: Async Part 2 - for architects, under the hood

Talk: Async Part 2 - for architects, under the hood This talk tackles some more advanced async...

Date: 02/17/2013

How to write a custom awaiter

[This post is part of a series How to await a storyboard, and other things] The normal behavior of...

Date: 12/11/2012

How to await a command-line process, and capture its output

[This post is part of a series How to await a storyboard, and other things] I want to invoke an...

Date: 12/07/2012

Await HttpClient.GetStringAsync() and cancellation

I’m a big fan of supporting cancellation on async methods. I was recently wondering how to do...

Date: 12/07/2012

How to await a button click

[This post is part of a series How to await a storyboard, and other things] Sometimes we want to...

Date: 11/28/2012

How to await a drag operation

[This post is part of a series How to await a storyboard, and other things] In my app, I want to...

Date: 11/28/2012

How to await a MediaElement (PlaySound in Windows 8)

[This post is part of a series How to await a storyboard, and other things] Let’s look at...

Date: 11/28/2012

How to await a storyboard, and other things

This post is part of a series about an important new design pattern, awaiting events... I also made...

Date: 11/28/2012

How to hibernate async methods (how to serialize Task)

[update: there's now a sequel to this post, here, which improves the technique so it can handle...

Date: 11/23/2012

Why must async methods return Task?

We all know that async methods return Task or Task(Of T): Async Function GetNameAsync() As Task(Of...

Date: 11/21/2012

When is a non-breaking language fix, breaking?

In VS2012 we fixed some method-resolution problems from VS2010. These were method-calls that failed...

Date: 07/19/2012

What would you like to know about "how we do language design for VB and C#" ?

On June 6th I'll be speaking at the Norway Developer Conference in Oslo, on the subject "How we do...

Date: 05/24/2012

Talk: Async Part 1 - the message-loop, and the Task type

Talk: Async Part 1 - the message-loop, and the Task type After giving lots of training and talks...

Date: 03/28/2012

Talk: What's new in VB11 (VS11 Beta)

Talk: What's new in VB11 This talk details some of what's new in VB11. (Just some: there were too...

Date: 03/28/2012

Next>