November 2008 - Posts

5
Comments

The problem of JSON and how to fix it(Update with code sample) by RobertNet

In AJAX world, JSON is one of the most popular implementation, Asp.Net AJAX is using this concept, and it really works great. But in some very special situation, JSON could cause some unexpected problems.For example, if the user want to submit a huge...
Filed under: ,
1
Comments

Multi culture programming in Asp.Net by RobertNet

Asp.Net provide a very powerful multi culture programming pattern.In this post , we will discuss specially under the user control level. Last weekend, one of my friends asked the question about the user control multi culture programming problem. He could...
Filed under:
0
Comments

The first version of the NFlickr released by RobertNet

Yesterday, the first Alpha version of the NFlickr was released.This version was fully written by the .Net 3.5 and using the provider concept.For example, if you don't like the built-in encryption or you don't like the implementation of the http communication...
0
Comments

Is silverlight application the windows or web? by RobertNet

Before we started to develop a silverlight application, does anyone ask the question? Is silverlight the windows or web? The short answer is Windows, but wait.... All the code was executed on the client side, the code was download was downloaded to the...
Filed under:
0
Comments

Using the DOM to control the element(TreeView) inside Silverlight by RobertNet

In our Update the Silverlight toolkit(AutoCompleteBox) With the HTML DOM value post, we talked about the interacting between the Silverlight application and html DOM. It's about using the Silverlight to access the DOM. Today we are going to discuss ...
Filed under:
2
Comments

Update the Silverlight toolkit(AutoCompleteBox) With the HTML DOM value by RobertNet

The silverlight toolkit provided the AutoCompleteBox and We already had one post talking about the usage about it. This post will focus on the way we can update the content of the AutoCompleteBox by using the value from the HTML DOM value. The initialized...
Filed under:
0
Comments

LINQ Tips #7 Create a LINQ to Anything(3) by RobertNet

Yesterday, we implemented a simple LINQ to Objects pattern. In our post , we overwrote the  data source , if you can remember, all the return value were added a tail as "LINQ". But this seems useless, in the NFlickr project, we need to...
Filed under: ,
0
Comments

LINQ Tips #6 Create a LINQ to Anything(2) by RobertNet

Yesterday, we sort of created a baby step of a LINQ to anything implementation ; We stopped at the place to implement the interface IQueryProvider, the most important method in this interface for us is IQueryable<TElement> CreateQuery<TElement>...
Filed under: ,
0
Comments

Using the Pex to write Unit test automatically by RobertNet

I know this is against TDD and I am not going to discuss this :) MSR just released a new product call Pex , you can also find a video on PDC at http://channel9.msdn.com/pdc2008/TL51/ . Today , I am going to use Pex to write unit tests for my two ugly...
2
Comments

LINQ Tips #5 Creating a LINQ To Anything by RobertNet

We knew there are at least 3 implementation in .Net 3.5, they are LINQ to Objects, LINQ to XML and LINQ to SQL. I don't believe Microsoft will create different pattern for those. In my current open source project NFlickr , because I have thousands of...
Filed under: ,
More Posts Next page »