Welcome to irritatedVowel.com Sign in | Help

POKE 53280,0: Pete Brown's Blog

Silverlight, WPF, Woodworking, .NET Programming, CNC, Nature, and other topics.

Pete Brown writes on a number of topics including Silverlight, WPF, .NET, woodworking and working as a consultant in the DC area. On most forums, Pete goes by the name Psychlist1972. Pete has worked at Applied Information Sciences (AIS) since 1996 where he currently performs as a lead architect and project manager.

Subscribe to my feed

Add to Technorati Favorites
Applied Information Sciences - My Employer



World Domination

who's online

Networks


View Pete Brown's profile on LinkedIn

AddThis Social Bookmark Button
Silverlight Chat Application for CMAP Code Camp

For all of you attending tomorrow's CMAP code camp, here's a sneak peek at what I'll be building in my 10:30 Silverlight 2 and Microsoft Expression session. The session is targeted towards developers, but anyone with an interest in Silverlight or Expression is welcome and encouraged to attend

image

The application has a server piece (the windows forms app) and, in this instance, two Silverlight clients in a chat, actually talking to each other over sockets.

Expression Design

  • Building the chat bubble

Expression Blend

  • Designing the overall UI
  • Creating interesting and easy animations to make the bubbles pop up and fade away

Visual Studio 2008

  • Wiring it all up and just a little bit of sockets grunge for good measure.

The session is all demo and code. You'll leave there with an understanding of how the tools work together, how to do some basic animation in Blend, how to create shapes and glass effects in design, and how to build a Silverlight 2 application.

Source code will be available some time after the code camp.

Hope to see you there!

  Add to Technorati Favorites
Posted: Friday, April 11, 2008 7:10 PM by Pete.Brown

Comments

Christopher Steen said:

ASP.NET ASP.NET Dynamic Data Preview Available [Via: ScottGu ] Putting ASP.NET Dynamic Data into Context...
# April 14, 2008 11:05 PM

Christopher Steen said:

Link Listing - April 14, 2008
# April 14, 2008 11:05 PM

Lyle said:

Is this source code available anywhere? I can only get 1 client connected using localhost, every time i try to connect another client to server it says its already connected. in other words it doesnt go to the onbeginaccept callback, it just skips it. this looks like you have 2clients connected on localhost to server. please help. Thanks
# April 15, 2008 5:11 PM

Tony said:

Me too. Is the source available?
# April 22, 2008 12:35 PM

Pete.Brown said:

@Lyle, @Tony

I have two clients connected to localhost. In Beta 1, your are limited to opening sockets connections on the site of origin only. In addition, there's a reverse DNS lookup to make sure it truly is the site of origin.

That is a limitation in Beta 1.

If you want to hit a particular server, you must serve up your app from that server and also use the fully qualified domain name for both the socket connection and the page hit, or use IP address for both.

I'm not at home at the moment, so don't have the source handy. I don't think the sockets code I did is a good example of using sockets, but I can provide the source if you're interested. If so, click the contact link at the top of the page and let me know.

Thanks.

Pete

# April 22, 2008 4:37 PM

POKE 53280,0: Pete Brown's Blog said:

Eugene Osovetsky made a pretty exciting announcement yesterday regarding pushing data to Silverlight
# April 23, 2008 9:27 AM

Yassir said:

can we watch this session ?? i mean is it published online ?
# April 23, 2008 3:43 PM

Community Blogs said:

Eugene Osovetsky made a pretty exciting announcement yesterday regarding pushing data to Silverlight
# April 23, 2008 7:13 PM

Pete.Brown said:

@Yassir

It was a live session at a code camp, but I'll look into building a screencast from it.

Thanks for the interest

Pete

# April 24, 2008 9:43 AM

mskc said:

Hi, When will the Source Code of this application be available? Atleast give some code, so that, we can understand it... Looking forward for your reply with the code... Regards, mskc
# April 29, 2008 3:21 AM

Pete.Brown said:

Hi All

There's been enough interest in this that I'm going to put together a post and/or video on it very shortly.

I was going to wait until the WCF Duplex stuff came out for Silverlight, as I feel that would be a more robust approach, but I'll give you all something with sockets :)

Stay tuned.

Pete

# May 1, 2008 2:38 PM

Community Blogs said:

I've had a number of folks request I provide a walkthrough and/or source code for the chat application
# May 2, 2008 12:27 AM

Community Blogs said:

I've had a number of folks request I provide a walkthrough and/or source code for the chat application
# May 2, 2008 2:26 AM

POKE 53280,0: Pete Brown's Blog said:

I've had a number of folks request I provide a walkthrough and/or source code for the chat application

# May 2, 2008 8:45 PM

Manish said:

how to get the source code ?
# May 6, 2008 12:10 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

Enter the text you see in the image:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS