Blog: 2012 April

Using Entity Framework Code-First proxies with WCF web services

April 30, 2012, (updated on December 21, 2014), 5 comments, Software Development

This blog post demonstrates how to set up a WCF web service together with lazy loading Entity Framework entities. The entities will be developed using a code first approach and their metadata is defined using the fluent API. To use all these features you need to install the newest Entity Framework (version 4.3.1 as of now) as a NuGet package (search for “Entity Framework“). In this blog we will work with a sample persistence model with two entity classes: persons and accounts. There is only one relation: Every person can have multiple accounts. The code of the two persistence classes […] Read more...

Tags: , , , ,

Implement secure WCF web services to use with Windows Phone and Metro style apps

April 30, 2012, (updated on October 20, 2014), 2 comments, Software Development

The first part of this blog post demonstrates how to implement a WCF web service with username/password authentication and role based authorization. The web service can be used in Windows Phone applications and Windows 8 applications and it is even possible to use it with other libraries or frameworks. The second part explains how to set up the development environment to test the web service and the client application locally. The sample project can be downloaded here. Web service code First we have to create a new web service project and create a web service (.svc and its corresponding .svc.cs […] Read more...

Tags: , ,

XBMC remote for Windows Phone

April 6, 2012, (updated on October 20, 2014), 3 comments, Apps

I’d like to introduce my XBMC remote app for Windows Phone: It is called “XBMC remote” and can be downloaded from the Windows Phone Marketplace. XBMC is a media center software designed to use with a TV and can be downloaded and used for free. The application only works with the newest XBMC release, XBMC 11 Eden. With the “XBMC remote” app you can browse your recently added media, albums, artists, music videos, movies and TV series: The remote control pivot can be used to navigate the XBMC menus and control the currently played media. There is also a button […] Read more...

Tags: ,

Jumpy ListBox while scrolling in Windows Phone 7.5

April 2, 2012, (updated on September 6, 2014), 7 comments, Software Development

I recently discovered a bug in the ListBox control for Windows Phone 7.5. In a long list of items (virtualizing list, items with different heights), the list sometimes begins to get jumpy and the list cannot be scrolled to the end. To reproduce the problem, open a long list of items, scroll a little bit, stop the scrolling and tap on an item. Now if you start scrolling again the list begins to get jumpy… This video shows the problem: After trying out a lot of possible workarounds and tweaks, I finally found the solution: Simply set the focus to […] Read more...

Tags: , ,


  Page 1 of 1