Securing WCF with Forms Authentication

In this post I will describe how to secure a WCF RESTful service with Forms Authentication.  I blogged on WCF many a times, but usually skipped right over security aspects of the service.  I will go into sufficient (hopefully) level of details now. The idea of having an un-secured service on the internet is not …

Continue reading ‘Securing WCF with Forms Authentication’ »

Getting Started with WCF Services in WinRT

I have been learning WInRT in my “spare time” since for a while now. My big interest is working with data in Metro style applications for Windows 8. In this post I will describe step-by-step instructions of creating a WinRT application that is using WCF Service. I am going to use XAML application. To get …

Continue reading ‘Getting Started with WCF Services in WinRT’ »

Localizing JavaScript in ASP.NET MVC

This is something I researched recently while working on an ASP.NET MVC application.  My goal was to localize JavaScript messages based on user preferences.  In this post I am going to document the approach I settled on.  I am going to test based on browser culture and also drive the application based on the same …

Continue reading ‘Localizing JavaScript in ASP.NET MVC’ »

Support for Roaming Folder in WInRT Database

I posted another small update to my WinRT database project on CodePlex. I added support for roaming.  You can now specify the location of the database, picking either local or roaming folder.  For example, here is how you can create database in Roaming folder: _database = await    Database.CreateDatabaseAsync(DatabaseName, StorageLocation.Roaming); I added the same parameter …

Continue reading ‘Support for Roaming Folder in WInRT Database’ »

Addition of IsDirty flag to WinRT Database Project

If you follow my posts, you noticed that I started up WinRT database project on CodePlex. I just published as small update to it that now support data binding of commands objects to IsDirty flag on database and each table.  The code is quite simple, for example here is how Save command is setup.  public …

Continue reading ‘Addition of IsDirty flag to WinRT Database Project’ »

VS Live Orlando 2011

As I mentioned before, I presented at VS Live conference in Orlando, FL Thursday, 12/08/2011. I presented the following two talks Working with Data on Windows Phone 7 I will talk about various approaches to work with data on Windows Phone 7. I will cover all major concepts, such as local storage, OData/WCF Data Services …

Continue reading ‘VS Live Orlando 2011’ »

INotifyPropertyChanged, WinRT and Shortcuts

INotifyPropertyChanged interface is the key to data binding in many UI Microsoft frameworks, such as Windows Forms, WPF and Silverlight.  All controls in all those frameworks listen to this interface in the classes these controls are bound to and refresh the UI based on those changes.  This interface lives in System.ComponentModel, and you can read …

Continue reading ‘INotifyPropertyChanged, WinRT and Shortcuts’ »

Update to WinRT File Based Database

I just posted new version for my CodePlex based project for WinRT database.  This chance is small – I added IsBusy property to the database class in order to enable data binding scenarios between buttons and commands.  You can take a look at the Quick Start project that distributed as part of the download for …

Continue reading ‘Update to WinRT File Based Database’ »