Declare Bluetooth capability for Windows Store and Windows Phone 8.1 apps

If anybody ever needs to communicate with a Bluetooth device from a Windows Store or Windows Phone 8.1 app, you have to manually add the following to your package.appxmanifest file (it cannot be added through any UI):

<m2:DeviceCapability Name="bluetooth.rfcomm">
    <m2:Device Id="any">
        <m2:Function Type="name:serialPort" />

Don't ask how long that took to figure out =)

UPDATE: I finally found the documentation on MSDN for this and it describes the valid values for the various attributes.




Deploying Azure Web App Certificates from Key Vault

How to work around an ARM template limitation when using a Key Vault certificate in a Web App

View details »


Roku Round-up

Quick updates on some Roku libraries that I recently released

View details »


CORS and exceptions on ASP.NET Core

How to ensure your CORS headers are properly returned with HTTP error responses on ASP.NET Core

View details »


The many uses of Azure Functions Proxies

Azure Functions Proxies are awesome - here are just a few ways to leverage them

View details »


Build an Alexa skill using Azure Functions

Although AWS Lambdas are the default, it is dead simple to use Azure Functions for your Alexa skill as well

View details »

More Posts >