Some VS 2010 RC Updates (including patches for Intellisense and Web Designer fixes)

[In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu ] We are continuing to make progress on shipping Visual Studio 2010.  I’d like to say a big thank you to everyone who has downloaded and tried out the VS 2010 Release Candidate, and especially to those who have sent us feedback or reported issues with it. This data has been invaluable in helping us find and fix remaining bugs before we ship the final release. Last month I blogged about a patch we released for the VS 2010 RC that fixed a bad intellisense crash issue.  This past week we released two additional patches that you can download and apply to the VS 2010 RC to immediately fix two other common issues...(read more)

A few announcements for those in the UK

[In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu ] This a quick post to announce a few upcoming events for those in the UK. I’ll be presenting in Glasgow, Scotland on March 25th I’m doing a free 5 hour presentation in Glasgow on March 25th. I’ll be covering VS 2010, ASP.NET 4, ASP.NET Web Forms 4, ASP.NET MVC 2, Silverlight and potentially show off a few new things that haven’t been announced yet. You can learn more about the event and register for free here .  There are only a few spots left – so register quickly.  When the event fills up there will be a wait-list – please add yourself to this as we’ll be encouraging people who won’t be able to attend to...(read more)

Video Trip Report: If this is Tuesday, this must be Cairo

This last week over a 7 day period, I went to Munich, Cairo and Dubai. I presented in three keynotes and did a total of 10 sessions. I crossed 12 time zones and missed my kids. I talked to/with/at about 3000 people. I'm utterly shattered. I took some video while I was travelling with my Creative Vado HD and slapped it into Windows Live Movie Maker just now. Here's my trip montage. You could call this either "The Glamourous Life of a Technical Speaker" or "If this is Tuesday, this must be Cairo" or "Scott needs to learn to say No." It was great fun, I spoke at VSOne in Munich. I talked about .NET 4 and ASP.NET MVC. We also had a nice Nerd Dinnner . Then I headed over to Cairo Code Camp and the turnout was...(read more)

Use ASP.NET 4 Browser Definitions with ASP.NET 3.5

We updated the browser definitions files included with ASP.NET 4 to include information on recent browsers and devices such as Google Chrome and the iPhone. You can use these browser definition files with earlier versions of ASP.NET such as ASP.NET 3.5. The updated browser definition files, and instructions for installing them, can be found here: http://aspnet.codeplex.com/releases/view/41420 The changes in the browser definition files can cause backwards compatibility issues when you upgrade an ASP.NET 3.5 web application to ASP.NET 4. If you encounter compatibility issues, you can install the old browser definition files in your ASP.NET 4 application. The old browser definition files are included in the download file referenced above. What...(read more)

Hotfix for “Issue with Auto-Generated Designer Files not Adding Controls”

A hotfix is now available for issues most commonly described as " Controls are not being recognized in the code-behind " and " Editing existing .aspx regenerates .aspx.designer.(cs), but most of the controls are now missing ”. This hotfix can be downloaded from: http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=27117 The update addresses the following Connect bugs: http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=532641 : Cannot embed standard asp.net controls in Ajax Control Toolkit TabContainer http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=533071 : Controls in CreateUserWizard WizardStep not visible as before http://connect.microsoft...(read more)

Free Sandbox Hosting for Visual Studio 2010 RC and ASP.NET 4.0 RC from ORCS Web

ORCS Web has updated their Hosting Sandbox for Visual Studio 2010 RC and ASP.NET 4.0 RC. http://vs2010host.com To learn more about the new Web Deployment features in Visual Studio 2010 check out this Step by Step Walkthrough on Web 1-Click Publish with VS 2010 To provide feedback on the RC please visit the Visual Studio Connect site .  You can also contact the Web Tooling team directly by sending mail to vsweb@microsoft.com Ben Byrd | Visual Web Developer Read More......(read more)

How to package and deploy COM component

I’ll use a walkthrough example to show how to package a web application with speech API COM component using Visual Studio 2010.  I wrote and tested the sample in Win7 x86 with IIS7.5, and packaged and manually installed to win2k3 x86 IIS6 (which only had 3.5 framework installed). 1. Create a C# 3.5 web application 2. Add COM reference to “Microsoft Speech Object Library” 3. In Default.aspx, add the following between <div> < asp : ScriptManager ID ="ScriptManager1" runat ="server"> </ asp : ScriptManager > < asp : UpdatePanel ID ="UpdatePanel1" runat ="server"> < ContentTemplate > < asp : TextBox ID ="TextBox1" runat ="server" Width ="274px">...(read more)

Tool for generating DGML graphs showing why your object can’t be collected (VisualGCRoot)

Visual Studio.NET 2010 has a new feature that allows you to create nice directed graphs with a markup language called DGML (Directed Graph Markup Language).  Visualizing object graphs with DGML Chris Lovett wrote a tool that takes GCRoot output and transforms it to a DGML document so that you can see the roots of an object in a more visual way, and finally Mohamed Mahmoud went one step further and made a debugger extension that does this for you directly.    The debugger extension is called VGCRoot and you can get the extension, and some instructions and demos for it here . The VGCRoot extensions If you are looking at a memory dump in windbg and try to figure out why your object is still sticking around, collection after...(read more)

The Weekly Source Code 51 – Asynchronous Database Access and LINQ to SQL Fun

You can learn a lot by reading other people's source code. That's the idea behind this series, " The Weekly Source Code ." You can certainly become a better programmer by writing code but I think good writers become better by reading as much as they can. I was poking around in the WebFormsMVP project's code and noticed an interesting pattern . You've seen code to get data from a database and retrieve it as an object, like this: public Widget Find(int id) { Widget widget = null; widget = (from w in _db.Widgets where w.Id == id select w).SingleOrDefault(); return widget; } This code is synchronous, meaning basically that it'll happen on the same thread and we'll wait around until it's finished. Now, here's...(read more)

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!