April 2008 Entries

Virtual Earth JavaScript Intellisense for version 6.1 and for Google Maps

We have just released an updated version of the VE JavaScript Intellisense Helper which supports version 6.1 of VE. I also received a mail from Roger Chapman who has completed a similar project for Google Maps Oh and for those of us in the UK who were shocked to see VE replaced by Multimap for a few days, you will be glad to know this has now been reverted! Cheers Ian   del.icio.us Tags: Virtual Earth,Google Maps Technorati Tags: Virtual Earth,Google Maps

Silverlight ObservableCollections from WCF and Linq to Sql

I have a ListBox in a Silverlight 2.0 app that is bound to some data coming from a WCF service that is returned from Linq to Sql.  The service is simplicity itself:   public List<CourseSection> GetCourseSections() { CoursesDataContext db = new CoursesDataContext(); return db.CourseSections.ToList(); }   Note: you have to mark your DataContext Serialization Mode as Unidirectional for the above to work (as shown)   I added a Service Reference to this from Silverlight and bound the data to a ListBox: private void Button_Click(object sender, RoutedEventArgs e) { CoursesService.CourseServiceClient client = new CourseBuilder.CoursesService.CourseServiceClient(); client.GetCourseSectionsCompleted +=          ...

Missing WFC Service Configuration Editor?

When you create a WCF Service in  VS 2008, it writes the service config into web.config. Usually you can right click on web.config in Solution Explorer and select Edit WCF Configuration. However I have noticed that the context menu item does not always show up.  The answer: Select Tools > Wcf Service Configuration Editor instead; this will bring up the editor with nothing loaded, so you will then need to open the relevant config file.  However, just starting the editor seems to be enough to remind Visual Studio about that context menu item, so just exit the editor and go back and...

Windows Live IM Control - easy "Live Chat" on your web site

The Windows Live IM control is a very easy way to add a "live chat" feature to your web site. You can either use the server control that is in the Windows Live Tools for Visual Studio, or you can host the control with some html you can generate automatically Whichever way you create the control, you "hardwire" it to a particular Live ID who then receives the incoming messages (via Live Messenger) - this user also needs to accept that their current status will be shown on the web site. While testing make sure you don't login to the full IM and...

«April»
SunMonTueWedThuFriSat
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910