Friday, February 12, 2010

Silverlight Cream for February 12, 2010 -- #797

Silverlight Cream for February 12, 2010 -- #797


Silverlight Cream for February 12, 2010 -- #797

Posted: 12 Feb 2010 11:58 AM PST

In this Issue: András Velvárt , Michael Washington , Frodeh , Damon Serji , Andy Beaulieu , Timmy Kokke , Jeff Wilcox , Jesse Liberty , and Michael Ceranski . Shoutout: John Papa and Glenn Block on Silverlight TV 7: When and Where to Use MEF Have you...( read more )...(read more)

ASP.NET MVC 2 Optional URL Parameters

Posted: 12 Feb 2010 10:12 AM PST

If you have a model object with a property named Id , you may have run into an issue where your model state is invalid when binding to that model even though you don't have an "Id" field in your form. The following scenario should clear up what I mean. Suppose you have the following simple model with two properties. public class Product { public int Id { get; set; } public string Name { get; set; } } And you are creating a view to create a new Product. In such a view, you obviously don't want the user to specify the Id. <% using (Html.BeginForm()) { %> < fieldset > < legend > Fields </ legend > < div class ="editor-label" > <% = Html.LabelFor(model => model.Name) %> </ div > < div class...(read more)

Site Authentication Required, Except Default.aspx

Posted: 12 Feb 2010 06:55 AM PST

What happens when you need to protect your whole site so that only Authenticated users can access our site. Since I received this question twice this week I thought I'd share a tip. To allow ONLY authenticated access to your site using Forms authentication you can add a section like this on e to your application's web.config file. < authentication mode ="Forms" > < forms loginUrl ="Login.aspx" name ="Login" protection ="All" /> </ authentication > < authorization > < deny users ="?" /> </ authorization >   The problem is that it seems lots of folks don't want users to automatically redirect to the Login.aspx page when they navigate to their site home page...(read more)

WCF RIA Services Preview and the Visual Studio 2010 RC

Posted: 12 Feb 2010 02:27 AM PST

Warning: This is my experimentation and cannot be taken as a recommendation I gave it to my temptation and installed the Visual Studio 2010 RC despite having a lot of upcoming WCF RIA Services talks. (One is scheduled right tomorrow :) But believe me, this post is not about me) Much has been explained around the non-availability of Silverlight 4 Tools updated version for this RC release and subsequently the inability to work with WCF RIA Services and SL4. Infact, Tim Heuer has put up a nice FAQ on VS 2010 RC and Silverlight Development However, I went ahead and installed VS 2010 RC and the WCF RIA Services Preview for VS 2010 Beta 2, hoping to get it work at least for catering to ASP.NET Development. Much to my surprise, it did work! I could...(read more)

This one time, at band camp... [A banded StackPanel implementation for Silverlight and WPF!]

Posted: 11 Feb 2010 10:45 PM PST

Recently, I came across this article in the Expression Newsletter showing how to create a three-column ListBox . In it, Victor Gaudioso shows a Blend -only technique for creating a Silverlight/WPF ListBox with three columns. [And I award him extra credit...( read more )...(read more)

Intellisense Crashing fix for VS 2010

Posted: 11 Feb 2010 04:41 PM PST

[In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu ] We shipped the VS 2010 RC on Monday , and have seen some great feedback regarding performance and stability with it. One issue, though, that we have seen a number of people run into is an intellisense crash that happens very frequently on machines that have UI Automation enabled and certain devices connected. Crash Symptom If you are encountering frequent VS 2010 crashes when you are typing in the editor while Intellisense is popping up and/or being dismissed then you are running into this issue. Why does the crash happen? The most common cause of the crash happening is that you are running a machine that: Is a Tablet...(read more)

New Expression Blend screencast series

Posted: 11 Feb 2010 02:41 PM PST

I have begun new series of screencasts on SilverlightShow.net. Here is the expert: "As I promised earlier on Silverlight Show, this screencast series will show how to create the showcase application shown on www.response.hu (you may want to read the interview...( read more )...(read more)

Addressing the Pre-Loader Issue

Posted: 11 Feb 2010 02:13 PM PST

A number of people left comments both here and at Channel 9 in response to my Pre-Loader / Splash Page post and show. Apparently people frequently run into an issue where when using a pre-loader, if the main app loads too quickly, neither app ends up...( read more )...(read more)

No comments:

Post a Comment