alexb

Stories submitted by alexb

Silverlight: Navigation Framework tip: using the XAML escape sequence(blogs.infosupport.com)

submitted by alexbalexb(268) 7 months ago

With all the Windows 8/Metro/WinRT hype on the internet today, I decided it was time for a quick tip concerning the XAML escape sequence and the good old navigation framework present in Silverlight 4 and Silverlight 5. I only learned about the XAML escape sequence until recently and I can image that there quite a number of people out there that are still unfamiliar with it. The nice thing is that you can also use the XAML escape sequence in WPF, Windows Phone and WinRT, if you like to do so. read more...

add a comment |category: |Views: 44

tags: another

The C# using statement compared to Java 7 try/with by Alex van Beek(blogs.infosupport.com)

submitted by alexbalexb(268) 9 months, 27 days ago

Yesterday Java SE 7 was released. Last night I had the opportunity to play with some of it’s new features, including Java 7’s new “resource management” syntax. Of course, we have had this feature in C# for quite some time, but I was actually curious to see whether the Java people learned from the C# implementation and thus implemented it in a better way. Much to my surprise ;), they did. Let me elaborate…… read more...

add a comment |category: |Views: 46

tags: another

Windows Phone 7.1: WCF Data Services and tomb stoning (blogs.infosupport.com)

submitted by alexbalexb(268) 11 months, 25 days ago

This article will show how to get started with WCF Data Services and Windows Phone 7.1, which is important as it will be the primary way to access your data from a Windows Phone application. read more...

add a comment |category: |Views: 113

tags: another

Multi tasking in Windows Phone 7.1(blogs.infosupport.com)

submitted by alexbalexb(268) 1 year ago

One of the coolest features in Windows Phone 7.1 is the new multi tasking feature (next to the new LINQ to SQL support of course). In this article I’ll show you how this works. read more...

add a comment |category: |Views: 4

tags: another

Sharing validation code between a WPF client, a WCF Service and Entit(blogs.infosupport.com)

submitted by alexbalexb(268) 1 year ago

Recently Entity Framework 4.1 was released. 4.1 contains a DBContext class, which is largely a wrapper around the ObjectContext class with a simplified API. Now you might think as I did: “But if I’m comfortable with the ObjectContext class and I don’t use code first, why in the world would I need a DbContext?”. The answer is pretty simple. The DbContext has a feature which simply isn’t supported by the ObjectContext: data validation with the attributes from the System.ComponentModel.DataAnnotations namespace. In this article I’ll show you how to decorate your classes with validation attributes and how these classes can be reused by both the client and the server. read more...

add a comment |category: |Views: 172

tags: another

Optimistic Concurrency with WCF RIA Services and the Entity Framework (blogs.infosupport.com)

submitted by alexbalexb(268) 1 year ago

It has come to my attention that a lot of people who use WCF RIA Services and the Entity Framework, really don’t know how to deal with optimistic concurrency, both on the client side and the server side. In this article I will show you how to deal with optimistic concurrency in the Entity Framework and WCF RIA Services, in the most elaborate way. read more...

add a comment |category: |Views: 31

tags: another

Silverlight 4: Creating useful base classes for your views and viewmod(blogs.infosupport.com)

submitted by alexbalexb(268) 1 year, 3 months ago

When you are developing Silverlight applications following the MVVM pattern, you will eventually run into the fact that you’ll have to create a base class for your viewmodel classes. This post will show how to create a useful base class for your viewmodel classes and also how to create a base class for your view classes, which a lot of developers don’t do. In the end, I will show how to wire everything up. read more...

add a comment |category: |Views: 22

tags: another

C# and .NET don't freeze when converting 2.2250738585072012e-308(blogs.infosupport.com)

submitted by alexbalexb(268) 1 year, 3 months ago

I just read an interesing blog post. It seems that both the Java compiler and the Java runtime freeze when trying to convert the string "2.2250738585072012e-308" to a double. Next to that, the bug seems quite old and still hasn't been fixed. Being a .NET enthousiast, it was only natural for me to try this out on .NET and the C# compiler......... read more...

add a comment |category: |Views: 49

tags: another

A guide through WCF RIA Services attributes - Alex van Beek(blogs.infosupport.com)

submitted by alexbalexb(268) 1 year, 3 months ago

When you use WCF RIA Services in your Silverlight projects, Visual Studio usually generates all kinds of classes in your server project (based on an .EDMX or .DMBL file) which are translated to Entity classes in your Silverlight client project. These serverside classes get annotated with all kinds of attributes, which RIA Services needs to function properly. If you find yourself in a somewhat more advanced scenario (no Entity Framework / LINQ To SQL for example), Visual Studio can’t generate these server side classes for you and you’ll have to create them manually. This is when it pays off to know the different attributes WCF RIA Services uses and this post will guide you through them. read more...

add a comment |category: |Views: 23

tags: another

WCF Data Services: Optimizing performance with updates (blogs.infosupport.com)

submitted by alexbalexb(268) 1 year, 4 months ago

In this post I will show how you can optimize bandwidth usage and performance when sending updates to your WCF Data Service using the WCF Data Services Client Library. read more...

add a comment |category: |Views: 94

tags: another

Developing mobile applications with Flex ,WCF and the Entity Framework(blogs.infosupport.com)

submitted by alexbalexb(268) 1 year, 5 months ago

After returning from the Adobe MAX 2010 conference a couple of weeks ago, I finally found some time this week to play with all the cool stuff learned at Adobe MAX 2010. Of course, the whole theme of the conference was “Multi Screen Development”, this means that this post will be about developing a mobile application with Flex 4.5 (“Hero”), Flash Builder Burrito and a .Net webservice which contacts the Adventureworks database using the latest version of the Entity Framework. The application runs on Android, IOS and BlackBerry devices. read more...

add a comment |category: |Views: 93

tags: another

Using self tracking entities with Silverlight 4 and Entity Framework 4(blogs.infosupport.com)

submitted by alexbalexb(268) 1 year, 9 months ago

In this article I’m going to show how you can use self tracking entities (which are new in the Entity Framework V4) in combination with Silverlight 4. I’m also going to show how to optimize self tracking entities by making an adjustment to the self tracking entities T4 template, which doesn’t only benefit Silverlight clients, but all .Net clients that make use of self tracking entities. read more...

add a comment |category: |Views: 312

tags: another

Silverlight 4 vs Flex 4: Templating / Skinning controls (blogs.infosupport.com)

submitted by alexbalexb(268) 1 year, 10 months ago

With both Silverlight 4 and Flex 4 you have the ability to completely change the look of a control, without subclassing it, while leaving it's functionality intact. This process is called “Templating” in Silverlight and is called “Skinning” in Flex. With this article I’ll show you how similar both technologies have become, but we’ll also see in which technology templating / skinning is easier. read more...

add a comment |category: |Views: 11

tags: another

Silverlight 4: Digitally signing a XAP with Visual Studio 2010(blogs.infosupport.com)

submitted by alexbalexb(268) 2 years ago

I’ve found multiple posts on the web explaining how to sign a XAP file, using a post build event in which “signtool.exe” is called. With the new Silverlight 4 RC2 tools for Visual Studio 2010, there is another way to sign your XAP file… read more...

1 comment |category: |Views: 30

tags: another

Silverlight 4: Animations with MVVM(blogs.infosupport.com)

submitted by alexbalexb(268) 2 years, 1 month ago

A recurring problem with MVVM is how to incorporate animations in a nice MVVM way. In this post I’m going to show how you can use the VisualStateManager to start animations and incorporate it in the MVVM pattern, without keeping a reference from the ViewModel to the View. read more...

add a comment |category: |Views: 45

tags: another

Silverlight 4 vs Flex 4: Accessing the Clipboard (blogs.infosupport.com)

submitted by alexbalexb(268) 2 years, 3 months ago

In this post I’m comparing Flex 4 and Silverlight 4’s clipboard access abilities. Accessing the clipboard should be an interesting comparison, since both Flash 10 and Silverlight 4 take different approaches. I deliberately said "Flash 10" in the previous sentence, because accessing the clipboard in a Flex application is done by using the native Flash 10 ActionScript api and there isn’t any specific Flex code required. read more...

add a comment |category: |Views: 20

tags: another