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

 

del.icio.us Tags: ,

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:

A First Silverlight Project

More…

Charlie Calvert’s Community Blog : Silverlight and C# in Orcas Beta 1

 

del.icio.us Tags: , ,

LINQ, C# Rolls

 

What’s New in C# 

Community Web Sites and Downloads

Source from : Charlie Calvert’s Community Blog

del.icio.us Tags: ,

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:

Fixes for Common VS 2008 and .NET 3.5 Beta2 Issues

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

del.icio.us Tags: ,

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:

 

del.icio.us Tags: , ,

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 …

LINQ to SQL Debug Visualizer

del.icio.us Tags: ,

ASP.NET AJAX From ScottGu

 

ASP.NET AJAX Articles
ASP.NET AJAX Control Toolkit Articles
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.

image

ASP.NET AJAX Books

del.icio.us Tags: