Building a Calendar Control for WinRT in XAML

I have had a pet project for calendar control for Windows Phone 7 on CodePlex for quite sometime.  I also have had this project on NuGet as well.  I have been working for a while on porting this project to WinRT / Windows Store Applications.  I am finally done with first revision and it is …

Continue reading ‘Building a Calendar Control for WinRT in XAML’ »

Validation for Date Pickers in JavaScript

This is really a minor issues that have been bugging me for a little while.  We are using jQuery UI datepicker controls in our MVC application.  There is one annoying part with these controls.  When you pick a date from the calendar popup, the unobtrusive JavaScript validation we use does not kick in immediately, as …

Continue reading ‘Validation for Date Pickers in JavaScript’ »

The drop share directory could not be accessed

We have TFS setup to do integration builds after every check in.  The entire setup is working perfectly well. The only issue is that at times the build fails.  Since I marked unit tests in TFS Scrip to “Continue On Error = true”, the build is marked as partially successful a few times a day.  …

Continue reading ‘The drop share directory could not be accessed’ »

Client Access Policy File and Subdomains

if you worked with Silverlight and WCF, you no doubt are familiar with ClientAccessPlicy.xml.  Recently I found a use case that is not documented in the link above and had me stumped actually.  Our application was hosted on a subdomain, something like my.mysite.com.  I added client access policy file to the root of the domain, …

Continue reading ‘Client Access Policy File and Subdomains’ »

Anti-forgery Tokens in ASP.NET MVC and Knockout

As I am implementing a small application framework for my current project that is using ASP.NET MVC and Knockout JavaScript library, I had to rethink the approach to using anti forgery tokens.  Any forgery tokens in ASP.NET MVC are designed to prevent cross-site request forgery attacks. Cross site scripting is number 2 on list of …

Continue reading ‘Anti-forgery Tokens in ASP.NET MVC and Knockout’ »

Entity Framework Talk at AMDev

I spoke yesterday at AMDev on Entity Framework. Here is a short session description. This session will cover scenarios beyond the basics. Topics such as creation of object hierarchies and complex types will be discussed. Performance tips will be covered as well as usage scenarios in services. Techniques to handle schema changes will be discussed. …

Continue reading ‘Entity Framework Talk at AMDev’ »

ASP.NET MVC Template and Knockout.js

I am trying to get up to speed with knockout.js.  I am brining it into an MVC application.  I am trying to reduce the amount of JavaScript our team has to write, especially in large, complicated screens.  At the same time, I want to leverage the power of MVC views.  Our application is using DataAnnotations, …

Continue reading ‘ASP.NET MVC Template and Knockout.js’ »