Top News
Microsoft is Thinking About Monetizing Developer Products!
Scott Dorman writes Absolutely not! While I understand the desire to monetize every "product" coming out of Microsoft, it sometimes ends up hurting the community as a whole...The other problem is that you then start sending mixed signals to the community. On one hand you say that running static code analysis is a best practice but you then restrict that capability to companies/developers willing to spend $10K+ on a Team System SKU. This makes it hard for the community to recognize the real value since it becomes seen as a restricted/ elite/ enterprise-only feature. It also makes it harder for us to talk about things...
more 
Recent Posts
Jul 2 Thu

XBox Kodu Makes Game Programming Friendly
Chris Bowen writes "As of yesterday, Kodu is now available on XBOX Live Marketplace as a free trial or purchase for 400 points (about $5) and lets you create games using only the XBOX controller..."
more 

Code Sample Retrieves XML From a List Available to Anonymous User
Liam Cleary writes "This of course is very straight forward but the complication here was that it needed to be available to an anonymous user who would consume the XML stream. After a little thought I decided that we could use the "owssvr.dll" method. For those that have not used this before it is very simple. You make a call to the following URL:"
more 

Workaround for Kerberos Configuration Issue is Reboot
PSS SQL Engineers writes "The situation was an 8 node cluster with multiple instances across the nodes. These were running Windows 2008 with SQL 2008. One node in particular was having an issue when they were issuing a Linked Server Query from a remote client...When trying to hit the linked server from within Management Studio on the client machine, we received the following message: Msg 18456, Level 14, State 1, Line 1 Login failed..."
more 

Code for Scrolling Large Images on Windows Mobile Devices
Maarten Struys writes "...I needed a simple solution to scroll a large picture inside a managed application....This is the complete code for this simple example"
more 

How to Remove Disabled Virtual Network Adapters From the Parent Partition
John Howard writes "To date, I haven’t come across a script which removes disabled virtual NICs in the parent partition. So here is one such example...Obviously with any script which does destructive things, I urge caution and that you make careful note of your configuration..."
more 
Jul 1 Wed

Approaches to Uploading Files to SharePoint 2007 from ASP.NET Web Apps
Erika Ehrli writes "...there are multiple possible ways to accomplish this task in SharePoint 2007. Here are some popular approaches I’ve learned about and some great possibilities and drawbacks for each:"
more 

Silverlight 2.0 Authentication Services Code Sample
Al Pascual writes "Message based authentication managed by Silverlight not the browser. Silverlight can use the browsers cookies and send them to the hosts. When you authenticate with ASP.NET the authentication cookie stored to your computer will be used by Silverlight if you create a Silverlight Authentication Service..."
more 

Windows 7 How to Register New File Associations
Guy Burstein writes "Lets say I have a standard Windows Forms application that works with .guy file types...This application can be launched from the command line with a file name as an argument:..Since this application is the only application that knows how to work with .guy files, we would like to associate this file type with my application. In order to do that..."
more 

Code Sample of Binary Http Binding
Nicholas Allen writes "...all you need is a custom binding because we don’t include a standard binding with that configuration out of the box. Here’s a quick example of putting binary and HTTP together with either code or configuration:.."
more 

SQL Auto-Shrink Should Be Off
Buck Woody writes "...shrinking a database can cause your Indexes to be fragmented, especially if it happens a lot. I never shrink my databases unless I have a huge deletion of data, and I know that the data won't come back. That's a pretty rare event, and when it does happen..."
more 

Licensing Transition Details SMSE Moving to SMSD
Emma Healey writes "Full details on the transition and migration path for existing customers on SMSE and new customers moving to SMSD..."
more 
Jun 30 Tue

Code for Maintaining State in Reporting Services 2008
Teo Lachev writes "Since Reporting Services is not Excel, you cannot reference arbitrary fields on a report. So, I had to cache the values from the detail section in a hashtable using custom code so the summary section could obtain these values when needed. The following embedded code gets the job done:"
more 

Designing View Models With MVC
Joe Ocampo writes "For our application, the ViewModel is a central aspect of our MVC architecture. One of the first dilemmas facing MVC developers is to decide what the “M” in MVC means in ASP.NET MVC. In Rails, this is fairly clear, the M is ActiveRecord (by default). But in ASP.NET MVC, the “M” is silent! Its out-of-the-box architecture offers no guidelines nor advice..."
more 

Fix for Project 2007 Delivering Mixed Up Views
Brian Smith writes "...we have a fix in the pipeline which should see the light of day in the August CU, but to help just in case others come across this we thought it worth getting this information out there (Thanks Rob). First some details, and then the suggested workaround. The problem and fix is for Project Professional 2007, but only in an Enterprise environment..."
more 

How to Check for a 4.0 Framework Install
Nicholas Allen writes "Checking for the presence of the installation registry value is still a straightforward way of doing this reliably. A slight complication is that in 4.0 there has been a split into the full and client framework profiles...The registry keys for the client and full profiles are:"
more 

View all posts