Blog'A'Little

Just another C# guy

Silverlight - client / server

I've been brewing on an idea lately that I'm going to start prototyping as soon as I have a spare hour or two.. :)  

What if we had a server side representation of the the user interface from a Silverlight application. Let's say you have a DataGrid control in your silverlight application and you want to databind this to the server without having to go through a WebService, wouldn't it be need if you could do :

<DataGrid x:Name="myDataGrid" Server:DataRowChanged="myDataGrid_DataRowChanged"/>

In your server code you would just do :

protected void myDataGrid_DataRowChanged(object sender, DataRowChangedEventArgs e)
{
}

What I would then like to have in my Visual Studio solution/project explorer is 3 files :

Page.xaml
Page.xaml.client.cs
Page.xaml.server.cs

Why would this be handy you say..   Well..  I would get rid of a lot of boiler plate code that I would have to do every time I wanted a scenario where I connect data for instance from the server to the client.

kick it on DotNetKicks.com kick it on GameDevKicks.com

Comments

Alex Saca said:

Your idea is good...Try to implement it...

kick it on DotNetKicks.com kick it on GameDevKicks.com
# november 25, 2008 12:14

cash advance said:

Your website is very the most interesting. I loved your website a lot. Thank you.

kick it on DotNetKicks.com kick it on GameDevKicks.com
# juli 2, 2010 5:08

loans said:

Your web publication is great. Give thanks to you greatly for providing a lot of both interesting and useful info. Most definitely i'll bookmark your blog website and will be undoubtedly returning. All over again, I recognize the value of your entire work combined with sharing plenty of good facts for the readers.

kick it on DotNetKicks.com kick it on GameDevKicks.com
# august 25, 2010 3:08

loans bc said:

byzbwlvkpoouclowaqhifksgqnkvpadzuyi

kick it on DotNetKicks.com kick it on GameDevKicks.com
# september 2, 2010 2:49

online payday loans said:

Thanks for good news! Your site is very useful for me. I bookmarked your site!

kick it on DotNetKicks.com kick it on GameDevKicks.com
# september 21, 2010 1:47

canadian payday loans said:

This article gives the light in which we can observe the reality. This is very nice one and gives in-depth information. Thanks for this nice article.

kick it on DotNetKicks.com kick it on GameDevKicks.com
# september 22, 2010 1:33

payday loans no fax said:

I will submit a link to this blog on my site. I'm sure my readers will find this info really great. ermyzqmxqae

kick it on DotNetKicks.com kick it on GameDevKicks.com
# september 23, 2010 12:37

faxless payday loans said:

Excellent read, I just passed this onto a colleague who was doing a little research on that. And he actually bought me lunch because I found it for him smile So let me rephrase that: Thanks for lunch!

kick it on DotNetKicks.com kick it on GameDevKicks.com
# september 26, 2010 12:56

loan canada bad credit said:

Very useful article.  Myself & my neighbor were preparing to do some research about that. We got a good book on that matter from our local library and most books were not as descriptive as your information. I am very glad to see such information which I was searching for a long time.

kick it on DotNetKicks.com kick it on GameDevKicks.com
# september 26, 2010 11:21

loan in british columbia said:

Thanks for good quality news! Your web site is rather useful for me. I bookmarked your internet site!

kick it on DotNetKicks.com kick it on GameDevKicks.com
# september 28, 2010 12:06

loans ontario said:

I will post a link to this blog on my internet site. I'm sure my readers will find this info really great.

kick it on DotNetKicks.com kick it on GameDevKicks.com
# september 28, 2010 1:54

nike air jordan jumpman pro said:

I will post a link to this blog on my internet site. I'm sure my readers will find this info really great.

kick it on DotNetKicks.com kick it on GameDevKicks.com
# oktober 18, 2010 9:11

nike air jordan jumpman pro said:

et site. I'm sure my readers will find this info really great.

kick it on DotNetKicks.com kick it on GameDevKicks.com
# oktober 18, 2010 9:13
Leave a Comment

(required) 

(required) 

(optional)

(required) 

Design downloaded from Free Templates - your source for free web templates