All Visual Studio blogs in one place

AddThis Social Bookmark Button
For years when developers heard the term “data source control” it sent shivers down spines. It often referred to some tightly coupled object that managed binding the source data to the target controls and took you about 80% of the way t your goal. But it also often left you at the middle of the desert heat with nothing but a pair of sunglasses and a and a long way to go by foot to your destination as it drove off. Thankfully, data sources and data binding have evolved considerably over the years and produced some fantastic solutions in
various technologies that are both robust and extensible. Silverlight (and XAML) is one of the best shining examples of this. JavaScript has several data binding solutions, some of which have taken their queue from XAML bindings. 2 great solutions I have been impressed with are Knockout (now at v 2.0.0) and JsViews (not yet in beta, but coming soon).  Note that til JsViews is fully released, I expect API changes. Knockout is a library by Steve Sanderson that has a native templating engine (and also supports external templating libraries such as jQuery templates).  JsViews is driven by...(Read whole news on source site)

AddThis Social Bookmark Button
You can easily bind a ComboBox (or ListBox) to an enumerated type’s values using an ObjectDataProvider.  The ObjectDataProvider allows calling a method and then using the result of the method call as a binding source. To get the list of values for an enumerated type, we call the Enum.GetValues method, passing in the specific enumerated type.  In [...]

AddThis Social Bookmark Button
I've been working a bit with C# custom dynamic types for several customers recently and I've seen some confusion in understanding how dynamic types are referenced. This discussion specifically centers around types that implement IDynamicObject or subclass from DynamicObject as opposed to arbitrary type casts of standard .NET types. IDynamicObject types  are treated special when they are cast to the dynamic type. Assume for a second that I've created my own implementation of a custom dynamic type called DynamicFoo which is about as simple of a dynamic class that I can think of:public class DynamicFoo : DynamicObject {
Dictionary properties = new Dictionary(); public string Bar { get; set; } public DateTime Entered { get; set; } public override bool TryGetMember(GetMemberBinder binder, out object result) { result = null; if (!properties.ContainsKey(binder.Name)) return false; result = properties[binder.Name]; return true; } ...(Read whole news on source site)

AddThis Social Bookmark Button
Windows 8 is coming in hot! And here at Clarity we just couldn’t wait for MS to publish the official design guidelines. Our clients want to see their brand on Windows 8 now. So we meticulously picked apart screen shots and some XAML to create our own Photoshop templates. Get the unofficial Windows 8 photoshop [...]



Enter your email address:

Delivered by FeedBurner

Increase your website traffic with


Anti-spam: How many eyes has a typical person?

Follow us on FB