For a Universal Windows App I wanted to implement a Pivot. Reading the guidelines for tabs and pivots by Microsoft I got inspired by the examples given. However, no code samples are supplied so there is no indication how to actually create this in your own Xaml app.
In this blogpost I will show the different steps to get the basics done and I will supply the source code for you to use.
For a Universal Windows App I wanted to implement a Pivot.
Reading the guidelines for tabs and pivots by Microsoft, I got inspired by the examples given.
However, no code samples are supplied so there is no indication how to create this in your own Xaml app.
I received a couple of comments on my article about making the pull-down-to-refresh work with a Windows Phone virtualizing list control. The problem was that the functionality stopped working after navigating away from the page containing the ItemsControl. Today I committed the code to GitHub to fix this issue.
Every Microsoft Dynamics CRM developer has faced this problem: How to get the entity type code for your custom entity in JavaScript. If you need the entity type code for the current form there are several supported ways to get it. But when you want the entity type code for a different custom entity, you are in trouble. The SDK has no real solution for this, and hard-coding is no option as the numbers can change per deployment.
Digging through the client side object model I found a nice, although still unsupported, treasure which works with CRM 2011 and up, including the latest installment: 2015 update 1.
Every Microsoft Dynamics CRM developer has faced this problem:
How to get the entity type code for your custom entity in JavaScript.
If you need the entity type code for the current form there are several supported ways to get it.
But when you want the entity type code for a different custom entity, you are in trouble.
The SDK has no real solution for this,
and hard-coding is no option as the numbers can change per deployment.
The other day I was working on a Windows Phone app. I wanted to add a "pull down to refresh" panel to a large list of images. Just like the Facebook and Twitter apps have.
As Microsoft does not provide this functionality in their default controls I started searching the web if somebody else has build something like this already.
I found a blog post by Jason Ginchereau where he provided this functionality for Windows Phone 7.
In my app I use an ItemsControl with a VirtualizingStackPanel to prevent memory issues. After I added the PullDownToRefreshPanel control to my list and started testing it on my phone, I ran into some issues.
In this blog post I will describe my contributions to fix these 2 issues and I will supply the source code for you to use.
The other day I was working on a Windows Phone app.
I wanted to add a “pull down to refresh” panel to a large list of images.
Just like the Facebook and Twitter apps have.
As Microsoft does not provide this functionality in their default controls,
I started searching the web if somebody else has built something like this already.
I found a blog post by Jason Ginchereau where he provided this functionality for Windows Phone 7.
In my app I use an ItemsControl control with a VirtualizingStackPanel control to prevent memory issues.
After I added the PullDownToRefreshPanel control to my list and started testing it on my phone,
I ran into some issues.
With Windows Azure we can use Windows Azure SQL Database service (formerly known as SQL Azure) when we need a Relational Database. Microsoft offers a 99.9% monthly SLA for this service. But Microsoft doesn't provide you with the service to restore your data to a moment back in time when you (accidentally) delete of corrupt data.
To have a backup in time I wrote some code to allow a Worker Role to backup my Windows Azure SQL Database every hour. Most solutions you find online are relying on the REST Endpoints but the address of the endpoint is different depending on which datacenter your database is hosted. I found a different solution where you only need the connection string to your database using the DacServices.
With Windows Azure we can use Azure SQL Database service (formerly known as SQL Azure) when we need a Relational Database.
Microsoft offers a 99.9% monthly SLA for this service.
But Microsoft does not provide you with the service to restore your data to a moment back in time when you (accidentally) delete of corrupt data.