Latest Microsoft Blogs

Posted to:
by: 
9 hours, 47 minutes ago

ASP.NET 4 / VS 2010 “Quick Hit” Videos

Now that the “Dev 2010” wave of products is in beta and we’re getting closer5 and closer to release, I‘ve started publishing “Quick Hit” videos on the new features. These are not really tutorials (Not like the How-Do-I videos) but rather just “quick” peeks to show you the new stuff. I’ll start working on more detailed training  after PDC. The first 5 videos are now live: http://www.asp.net/learn/aspnet-4-quick-hit-videos/ #1 | ASP.NET 4 "Quick Hit" - Chart Control #2 | ASP.NET 4 "Quick Hit" - Dynamic Metadata #3 | ASP.NET 4 "Quick Hit" - Permanent Redirect #4 | ASP.NET 4 "Quick Hit" - Imperative WebForms Routing http://www.asp.net/learn/vs2010-quick-hit-videos/ #1 | Visual Studio 2010 "Quick...
Posted to:
by: 
11-07-2009, 9:03 PM

http://silverlight.net/riaservices/ is Live!

We have been working for a while to get a community site together where we can aggregate all the great buzz, resources and discussions about .NET RIA Services.   We hope you enjoy the content we already have up there and help us get more good stuff up there.  http://silverlight.net/riaservices/ Read More...
Filed under: ,
Posted to:

Neat VS10 Feature: Pinning A Debugger Watch

I was stepping through some code in a debugger today and noticed a neat little feature of Visual Studio 2010 that I hadn’t noticed before. When debugging, you can easily examine the value of a variably by highlighting it with your mouse. Nothing new there. But then I noticed a little pin next to it, which I’ve never seen before. So what do you see when you see a pin? You click on it! As you might expect, that pins the quick watch in place. So now I hit the play button, continue running my app in the debugger, and the next time I hit that breakpoint: I can clearly see the value changed since the last time. I think this may come in useful when walking through code as a way of seeing the value of important variables right next to where they are...
Posted to:

Recap of Oredev and some .net debugging videos

This week I attended and spoke at the Oredev conference in Malmö Sweden, and it was great fun as usual. It was a pretty productive few days with a lot of good talks and conversations with some really cool people. I’ll put up a link to the talk as it becomes available Channel9 video and chat with Scott Hanselman for Hanselminutes I got to meet “The man, the myth, the legend” Scott Hanselman and he recorded a 10 minute demo for Channel9 where I showed him how to debug a .Net performance issue using Memory dumps in Visual Studio .NET 2010 Beta 2. http://www.hanselman.com/blog/HanselminutesOn9DebuggingCrashDumpsWithTessFerrandezAndVS2010.aspx We also had a really nice chat about debugging (kind of a 101 primer) for hanselminutes that should be out...
Filed under:
Posted to:

A RouteHandler for IHttpHandlers

I saw a bug on Connect today in which someone offers the suggestion that the PageRouteHandler (new in ASP.NET 4) should handle IHttpHandler as well as Page . I don’t really agree with the suggestion because while a Page is an IHttpHandler , an IHttpHandler is not a Page . What I this person really wants is a new handler specifically for http handlers. Let’s give it the tongue twisting name: IHttpHandlerRouteHandler . Unfortunately, it’s too late to add this for ASP.NET 4, but it turns out such a thing is trivially easy to write. In fact, here it is. public class HttpHandlerRouteHandler<THandler> : IRouteHandler where THandler : IHttpHandler, new () { public IHttpHandler GetHttpHandler(RequestContext requestContext) { return new THandler...
Posted to:

Html Encoding Nuggets With ASP.NET MVC 2

In a recent blog post, I introduced ASP.NET 4’s new HTML Encoding code block syntax as well as the corresponding IHtmlString interface and HtmlString class. I also mentioned that ASP.NET MVC 2 would support this new syntax when running on ASP.NET 4 . In fact, you can try it out now by downloading and installing Visual Studio 2010 Beta 2. I’ve also mentioned in the past that we are not conditionally compiling ASP.NET MVC 2 for each platform. Instead, we’re building System.Web.Mvc.dll against ASP.NET 3.5 SP1 and simply including that one in VS08 and VS10. Thus when you’re running ASP.NET MVC 2 on ASP.NET 4, it’s the same byte for byte assembly as the same one you would run on ASP.NET 3.5 SP1. This fact ought to raise a question in your mind. If...
Posted to:

Tip#99: Did you know… You can now install new Media and Developer Tools products with Web PI v2 RTW?

RTW version 2 of Web PI, which shipped in September, now offers additional products through Media and Developer Tools scenarios through the new Options Dialog. You can include products from these scenarios from the Options dialog: and check the corresponding...
Posted to:

Speaking at Tech-Ed Europe Next Week

I’m going to Berlin! Next week, I’m giving talks at Tech-Ed Europe on two of my favorite topics: What's New in Microsoft ASP.NET Model-View-Controller ASP.NET Model-View-Controller (MVC) 2 introduces new features to make you more productive when building an ASP.NET MVC application. Templated helpers allow automatically associatiating edit and display elements with data types. Areas provide a means of dividing a large Web application into multiple projects. Data annotations allow attaching metadata attributes on a model to control validation. Microsoft ASP.NET AJAX: Taking AJAX to the Next Level Hear how ASP.NET AJAX 4.0 makes building pure client-side AJAX Web applications even easier, and watch us build an entire data-driven ASP.NET AJAX...
Posted to:
by: 
11-03-2009, 1:05 AM

November Conferences

I’m doing keynotes at two big conferences later this month: ASP.NET Connections in Las Vegas: November 9th to 12th I’ll be doing a keynote talking about ASP.NET 4 and VS 2010 at the ASP.NET Connections conference next week.  I’ll also be doing an evening Q&A session together with the ASP.NET team. ASP.NET Connections is a great conference that is jointly hosted with the VS, SharePoint, SQL and Windows Connections conferences (enabling you to choose from tons of great sessions).  The speakers at the event are also really top-notch. You can learn more about the conference and register online here . PDC in Los Angeles: November 17th to 19th I’m also doing a keynote at the Microsoft PDC conference in two weeks.  The PDC is Microsoft...
Posted to:

VS 2010 Beta 2 Read Me Items for Web Deployment

There are some known issues/bugs related to VS 2010 Web Deployment features in VS 2010 Beta 2 Read Me… I can imagine reading the entire Beta 2 read me file can be daunting so I thought I can just copy paste the ones related to Web Deployment here… DB Deployment will fail if the Database Name is longer than 127 characters Description: If you are using latest VS 2010 Web Deployment Features and trying to deploy your database using the Deploy SQL property page then at times you might get error from VSMsDeploy task.  There might be several reasons for the failure including connection and authentication issue but a current bug in the product does not allow you to script schema/data from a database (typically SQL Express MDF file) if the file...

1 2 3 4 5 Next > ... Last »


Microsoft Communities