What are these numbers on the right side of my Windows Phone Silverlight app?

That’s the frame rate counter for the emulator / phone that is on by default whenever you debug. To turn it off, go to App.xaml.cs and comment this line out: Application.Current.Host.Settings.EnableFrameRateCounter = true; For more information on what the numbers mean (they can be pretty helpful for tracking app performance), see Jeff Wilcox’s post on … Read more

Should I use the Model-View-ViewModel (MVVM) pattern in Silverlight projects?

I definitely think you should use the MVVM pattern for Silverlight applications – and one of the benefits of the pattern is that you can actually make your application really blendable through some simple techniques. I often refer to “blendability” as “design for designability” – that you use certain techniques to make sure your application … Read more

How do you force Firefox to not cache or re-download a Silverlight XAP file?

The query string works perfectly, but I wouldn’t use DateTime.Now, because it forces the user to re-download the app every time. Instead, we use the following: protected void Page_Load(object sender, EventArgs e) { var versionNumber = Assembly.GetExecutingAssembly().GetName().Version.ToString(); this.myApp.Source += “?” + versionNumber; } This way all you have to do is increment the version number … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)