Silverlight Controls and a Touch of LINQ in Orcas Beta 1
Silverlight Controls and a Touch of LINQ in Orcas Beta 1
In a previous post I took a look at building a simple Silverlight application in Visual Studio Orcas. This post shows how to add a button control that comes with the Silverlight SDK. You can see the button in Figure 1. I will also add a few lines of code to show how to use LINQ inside Silverlight.
![]()
Figure 01: A simple button of the type that comes with the Silverlight Alpha 1.1 SDK.
In this post I’ll also show how to handle an event initiated by a click on the button. The event will cause the text in the button to change.
Charlie Calvert’s Community Blog : Silverlight Controls and a Touch of LINQ in Orcas Beta 1
Silverlight Alpha 1.1 and C# in Orcas Beta 1
This post describes how a C# developer can set up and run a Silverlight project in Visual Studio Orcas.
Here are all the pieces you need:
- Orcas Beta 1
- Silverlight 1.1 Alpha for Windows
- Silverlight Tools Alpha for Visual Studio
- Expression Blend 2 Free Trial
- You will also find it helpful to download the Silverlight SDK as it contains useful documentation and examples.
A First Silverlight Project
More…
Charlie Calvert’s Community Blog : Silverlight and C# in Orcas Beta 1
LINQ, C# Rolls
What’s New in C#
- Dinesh Kulkarni is the C# PM in charge of LINQ to SQL. He has recently revved up his blog: http://blogs.msdn.com/dinesh.kulkarni/. Here are a few of his recent posts:
- Sreekar Choudhary is an SDE on the C# Team. This is his second post.
- Browsing Eric Lippert’s blog for the first time is a bit like finding a first class book on C#. Fortunately for us, he has many wonderful new posts to browse:
- Matt Warren is one of the top developers on the C# Team
- Jomo Fisher is C# developer on the LINQ to SQL team. Any technical posts he produce are mandatory reading in my book. He has three new posts for us:
- Luca Bolognese is C# Lead PM
- Luke Hoban is the PM on the Compiler Team
- Wes Dyer
- I have a few new posts:
- How to be random with LINQ to Objects
- LINQ to the Semantic Web Additional information here and also on Hooked on LINQ.
- LINQ to Expressions
- LINQ to Bits
- Work at Microsoft: http://blogs.msdn.com/jobsblog/archive/2007/06/12/my-new-gig-as-a-sourcer.aspx
Community Web Sites and Downloads
- Hooked on LINQ
- Popfly
- Dan Fernandez on Beginning C#
Source from : Charlie Calvert’s Community Blog
LINQ, C# 3.0, VS2008 Beta2
Spec: C# Language Specification Version 3.0
Samples and HOL:
- LINQ and language samples for Visual Studio 2008 Beta 2
- LINQ Hands On Labs
- C# 3.0 Language Enhancements Hands On Lab
- Visual Studio 2008 Samples Download Page.
Fixes for Common VS 2008 and .NET 3.5 Beta2 Issues
It has been a little over a week since we released Beta 2 of VS 2008 and .NET 3.5. So far the feedback from people using it has been really great. I’ve received a lot of emails from people saying it is the best beta we’ve ever shipped, and several who have moved over to using it full time for all development.
I have also helped people with a few gotchas that they have run into (mainly around setup / installation). Below are some notes on the issues I’ve seen as well as how to fix them:
Setup / Installation Issues
- More…
ASP.NET AJAX Multi-Targeting
- More…
Online Forums
Here are some pointers to on-line forums where you can ask questions or get help:
- VS 2008 and .NET 3.5 Setup
- LINQ
- VS 2008 for Web Development
- VS 2008 WPF Designer
- Visual Studio Languages
![]()
VS 2008 IDE
- Nice VS 2008 Code Editing Improvements
- Transparent Intellisense Mode
- Organize Using Statements
- VS 2008 Web Designer and CSS Support
- Split View Editing
- CSS Style Manager
- CSS Properties Window
- CSS Source View Intellisense
- Nested Master Page Support
- Enabling Vertical Split View in VS 2008





ASP.NET AJAX in .NET 3.5 and VS 2008
ASP.NET AJAX included in .NET 3.5
Starting with the .NET Framework 3.5 release, all of these features are built-in with ASP.NET, which means you no longer have to download and install a separate ASP.NET AJAX setup when building or deploying applications.
When you create a new ASP.NET application or web-site in VS 2008 that targets the .NET 3.5 framework, VS will automatically add the appropriate AJAX registrations in your web.config file and the core ASP.NET AJAX server controls will show up in your toolbox.
The version of ASP.NET AJAX that ships with .NET 3.5 has a number of nice improvements to it – including support for using UpdatePanels with WebParts, support for WCF based JSON end-points, support for using the ASP.NET Profile, Role and Login Application Services using JavaScript, and a number of bug fixes and performance improvements.
ASP.NET AJAX in .NET 3.5 and VS 2008
VS 2008 JavaScript Intellisense for Silverlight From ScottGu
To use it, simply add his JavaScript library to the top of your page:
You can then use Justin’s helper functions to take late-bound objects and indicate their JavaScript type:
This will then cause the VS 2008 JavaScript intellisense engine to automatically provide intellisense and syntax checking for you:

LINQ to SQL Debug Visualizer in VS 2008 From ScottGu
Using the LINQ to SQL Debug Visualizer
One of the nice development features that LINQ to SQL supports is the ability to use a “debug visualizer” to hover over a LINQ expression while in the VS 2008 debugger and inspect the raw SQL that the ORM will ultimately execute at runtime when evaluating the LINQ query expression.
For example, assume we write the below LINQ query expression code against a set of data model classes:
![]()
We could then use the VS 2008 debugger to hover over the “products” variable after the query expression has been assigned:
![]()
And if we click the small magnifying glass in the expression above, we can launch the LINQ to SQL debug visualizer to inspect the raw SQL that the ORM will execute based on that LINQ query:
![]()
If you click the “Execute” button, you can even test out the SQL query and see the raw returned results that will be returned from the database:
![]()
This obviously makes it super easy to see precisely what SQL query logic LINQ to SQL ORM is doing for you.
You can learn even more about how all this works by reading the Part 3: Querying our Database segment in my LINQ to SQL series above.
How to Install the LINQ to SQL Debug Visualizer
Read More …
ASP.NET AJAX From ScottGu
ASP.NET AJAX Articles
ASP.NET AJAX Control Toolkit Articles
How To: Confirm GridView Deletes with the ModalPopupExtender
How To: Use ModalPopupExtender for Editing Rows in a GridView (Master/Detail Scenario)
How To: Rendering a Gmail-like “Loading” Indicator over a Specific ASP.NET Control
How To: Lazy-load TabPanels within the ASP.NET AJAX Control Toolkit’s TabContainer Control
How to: Create an Image Thumbnail Viewer using the ModalPopupExtender Control
ASP.NET AJAX in VS 2008 and .NET 3.5 Articles
ASP.NET AJAX and AJAX Control Toolkit Videos
In this video series Joe Stagner and others from the Microsoft product team demonstrate how to use ASP.NET AJAX.
ASP.NET AJAX Books
del.icio.us Tags: Ajax

Starting with the .NET Framework 3.5 release, all of these features are built-in with ASP.NET, which means you no longer have to download and install a separate ASP.NET AJAX setup when building or deploying applications.




