by Michel
13. October 2008 06:42
The MSSharePointDeveloper site has been around for a while right now.There have been some nice new releases around.
Here's the new stuff you can find there. The VM's have been updated to Visual Studio 2008, which is awesome!
- Downloadable WSS Dev VPC Image
- Updated to Visual Studio 2008 (previously Visual Studio 2005).
- Smaller download at about 1.8Gb to download in 4 files now.
- The Virtual PC image includes:
- Windows Server 2003 (expires on 29th September 2009)
- Windows SharePoint Services 3.0 SP1
- Visual Studio 2008
- Visual Studio 2008 extensions for Windows SharePoint Services
- 10 Hands on Labs for learning SharePoint in C# and VB.NET
- SharePoint Developer Introductory Hands on Labs
- All updated to Visual Studio 2008.
- They are included on the VM image.
- They are also available for separate individual downloads from the site.
- SharePoint Developer Introductory Web Cast PPTs and Demos
- 10 webcast PPTs with transcripts.
- Previously 2 of the webcasts were missing transcripts.
All three of these downloads and online MSDN Virtual Labs are available at MSSharePointDeveloper
[kickit]
by michel
10. October 2008 16:01
I love to check out somebody else his or her code. I always learn something from it. Just a couple of days ago I had an example from Scott Allen about WWF and ASP.Net.
In his code example I found a class with different small data checks. Each static method was decorated with the ´DebuggerStepThroughAttribute´.
public static class Check
{
[DebuggerStepThrough]
public static void IsNotNull(object argument, string message)
{
if (argument == null)
{
throw new InvalidOperationException(message);
}
}
}
|
| Scott Allen, source code example |
Not exactly knowing what the attribute meant (besides what the name is telling you) triggered me to ask it Google :)
By placing System.Diagnostics.DebuggerStepThrough attribute above a method, you instruct the debugger to step through that method and not into it. With other words this instruction will cause the debugger not to step into method as normal, but you can always place a breakpoint in that method and stop there.
Hmm sweet isn't it :) Hopefully it's useful for you as well.
[kickit]