Top ASP.NET Items

Sponsors

Archives

August 2010 - Posts

August 29th Links: .NET, ASP.NET, IIS Express, Silverlight, Windows Phone 7
Here is the latest in my link-listing series .  Also check out my VS 2010 and .NET 4 series and ASP.NET MVC 2 series for other on-going blog series I’m working on. [In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu ] .NET/WPF/EF 5 Little C#/.NET Wonders that Make Code Better : Nice blog post from James that highlights 5 nice language/framework tips you can take advantage of within your apps.  I’m betting a lot of people didn’t know about the StopWatch class. WPF Ribbon Control Released : The WPF team recently released the final V1 release of the WPF Ribbon control.  This makes it easy to build ribbon-based applications. Also read this WPF team blog post...
Patch for VS 2010 Find and Replace Dialog Growing
One of the top reported Microsoft Connect issues with VS 2010 has been an issue with the Find and Replace dialog – which grows 16px each time you use it (which is pretty annoying). The Visual Studio team recently released a patch that fixes this issue. You can download and apply it here . Hope this helps, Scott P.S. A few people reported issues installing the patch if they had an older version of the Silverlight 4 tools installed.  If you see an error message that says you need an update to Visual Studio to support Silverlight 4, you can fix it by installing the latest Silverlight 4 tools release . Read More...
Building my new blog with Orchard – Part 1
Several people have asked me if I would move my blog to Orchard . There are actually several challenges with this that have nothing to do with Orchard itself, but suffice it to say that right now I’m not really considering it. On the other hand, for a long time I’ve been wanting to create a second, more personal blog about movies, books, video games and opinions to clearly separate the software stuff from the rest. I’ve been posting several times on science , games and even on politics here but it always felt a little wrong and I felt obligated to tone it down seeing that this blog has a clear association with my employer, Microsoft. Anyway, the release of Orchard 0.5 looks like the perfect opportunity to create that new blog. I have big plans...
Search and Navigation Tips/Tricks with Visual Studio
This is the twenty-seventh in a series of blog posts I’m doing on the VS 2010 and .NET 4 release. Today’s blog post continues on from the Debugging Tips post I did last week, and covers some useful searching and navigation tips/tricks you can take advantage of within Visual Studio.  These tips were ones that my friend Scott Cate (who has blogged dozens of great VS tips and tricks here ) recently recommended to me as good tips that most developers using Visual Studio don’t seem to know about (even though most have been in the product for awhile).  Hopefully this post will help you discover them if you aren’t already taking advantage of them.  They are all easy to learn, and can help save you a bunch of time. Ctrl + i - Incremental...
Debugging Tips with Visual Studio 2010
This is the twenty-sixth in a series of blog posts I’m doing on the VS 2010 and .NET 4 release. Today’s blog post covers some useful debugging tips that you can use with Visual Studio.  My friend Scott Cate (who has blogged dozens of great VS tips and tricks here ) recently highlighted these to me as good tips that most developers using Visual Studio don’t seem to know about (even though most have been in the product for awhile).  Hopefully this post will help you discover them if you aren’t already taking advantage of them.  They are all easy to learn, and can help save you a bunch of time. Run to Cursor (Ctrl + F10) Often I see people debugging applications by hitting a breakpoint early in their application, and then repeatedly...
Clay: malleable C# dynamic objects – part 2
In the first part of this post , I explained what requirements we have for the view models in Orchard and why we think dynamic is a good fit for such an object model. This time, we’re going to look at Louis ’ Clay library and how you can use it to create object graphs and consume them. But before we do that, I want to address a couple of questions. 1. If we use dynamic, aren’t we losing IntelliSense and compile-time checking and all the good things that come with statically-typed languages? And is C# becoming overloaded with concepts, and trying to be good at everything but becoming good at nothing? Hush, hush, everything is going to be all right. Relax. Now think of all the XML/DOM styles of APIs that you know in .NET (or Java for that matter...
Clay: malleable C# dynamic objects – part 1: why we need it
When trying to build the right data structure in Orchard to contain a view model to which multiple entities blindly contribute, it became obvious pretty fast that using a dynamic structure of sorts was a must. What we needed was a hierarchical structure: a page can have a list of blog posts and a few widgets, each blog post is the composition of a number of parts such as comments, comments have authors, which can have avatars, ratings, etc. That gets us to the second requirement, which is that multiple entities that don’t know about each other must contribute to building that object graph. We don’t know the shape of the graph in advance and every node you build is susceptible to being expanded with new nodes. The problem is that C# static types...
“Unplugged” online chat with me this Wednesday
I just got back from my trip to India and the UK last week – and will be returning to more regular blogging shortly.  This Wednesday (August 18th) I’m going to be doing another online LIDNUG chat session .  The chat will be from 10:00am to 11:30am Pacific Time.  I do these chats a few times a year and they tend to be pretty good.  Attendees can submit any questions they want to me, and listen to me answer them live via LiveMeeting.  You can learn more about it here and join the chat and ask questions at the appropriate time with this link . Hope to get a chance to chat with some of you there! Scott P.S. In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com...
We are Hiring!!
Our team is focused on delivering the ASP.NET framework as well as the tools required for web development including Visual Web Developer Express  and web application development part of Visual Studio. If you have the skills and the passion, want to work on web based technologies, and you’re looking for challenge in a fun and fast environment you should consider joining us! The Web Platform and Tools team is looking for smart, highly motivated and experienced testers who can help our team test the next generation of tools and runtime technologies. The candidates who fill these roles are expected to become an expert at building, testing and using web based technologies. The ideal candidate should be a self-starter and have the ability to...
An example of packaging web application containing database upgrade SQL file
A few months ago, we have a blog talking about extending the web publishing pipeline to package database project deployed SQL file.  In this blog, I’ll show step by step example of packaging web application with SQL Server database upgrade SQL file using Visual Studio 2010.  This way, we can generate a web package with incremental SQL script to certain database version.  The scenario may help distributions of a web upgrade package which needs to be installed on many different locations, each with their own SQL server database.   1. Create a Web Application Project 2. Add a new “SQL Server 2008 Database Project” to the solution 3. Prepare a development database, such as my test1 database as the following: 4. Right click our...
More Posts Next page »