blog community

July 2005 - Wouter van Vugt

  • Aware of Enums?

    What do you think the following program will output to the console? class Program { public enum SomeEnum { First = 0, Second = 1} static void Main( string [] args) { SomeEnum value ; value = (SomeEnum)1; Console.WriteLine("Value = {0}", value ); value...
    Published 31-07-2005 9:48 by Anonymous
  • Style manual

    I want to take this time to thank Mark Blomsma from SDN for surprising me and the other technical writers at SDN with a copy of Microsoft Manual for Style for Technical Publications. Way cool! And superb timing as I am just writing a piece about templated...
    Published 30-07-2005 6:31 by Anonymous
  • Writing to the Visual Studio 2005 OutputWindow from a Control / Designer

    Currently I am developing a templated control which includes a designer. Using this templated control I am going to upgrade my WebPart so it's editable in non-edit mode( e.g. not in an EditorZone). One of the difficult things of a developing a Control...
    Published 27-07-2005 9:13 by Anonymous
    Filed under:
  • Data Source Controls

    Nikhil Kothari 's got a nice 5 part article about data source controls, check it out.
    Published 26-07-2005 6:33 by Anonymous
  • Dynamically break down

    What's the deal with this new dynamic compilation model in ASP.NET 2.0? How many of you enterprise developers are going to place their source code on their production servers. Then go and change some of this code, and keep the application running in it...
  • Code-everywhere

    Andy Smith has got a nice post about the all-new codebeside model in ASP.NET 2.0. I still don't know what to think about it, currently I'll stick to Code-behinds. The only real disadvantage I see of CodeBehind are the protected member variables for each...
  • Designer for the TextWebPart

    I just can't resist. After noticing my WebPart doesn't render very well inside the designer, I quickly built an ControlDesigner for my TextWebPart. Actually it's quite simple. I decided not to write any rendering code, but to let my TextWebPart do that...
    Published 25-07-2005 9:45 by Anonymous
  • EditorPart 101

    In my previous post I constructed a (very) simple WebPart composite control which displays some text. Next we'll need to be able to edit this text using the WebPart framework. Now there is already a component which is able to edit the properties of any...
    Published 25-07-2005 8:58 by Anonymous
  • WebPart 101

    I thought I'd show how to build a simple WebPart with a EditorPart attached. And for the demo's sake, not make it overly complicated. So let's build a WebPart which displays some text, and have a custom editor to change that text. In this post I'll run...
    Published 25-07-2005 8:25 by Anonymous
  • UML Poster

    Sign up at Borland in order to posterize your entire room with UML design patterns! (I'll first have to remove my SQL-Server system tables printout)
  • A partitioned menu

    Given the following sitemap: Home Page1 SubPage1 SubPage2 Page2 SubPage3 I wanted to create the page layout below, using two Menu controls. Header area Home Page1 Page2 SubPage1 SubPage2 Content Area In order to get this layout you'll need the two Menu...
  • The future of C#

    Interested in the future of C#, read what Anders Hejlsberg 's got to say about it.
    Filed under:
  • Guidelines in Visual Studio 2003

    My previous post on Guidelines will work on Visual Studio 2003 as well!
    Published 18-07-2005 8:27 by Anonymous
    Filed under:
  • Guidelines in Visual Studio 2005

    A nice feature to verify coding styles: Guidelines . Missed this one in the previous VStudio.
    Published 18-07-2005 8:16 by Anonymous
    Filed under:
  • DataTable.Clear and rows created using NewRow()

    During a course I gave some time ago, one of my students encountered a strange situation while using a DataTable. We were creating new rows for a DataTable, and not adding those rows to the Rows collection of the table, they were being set aside so to...
    Published 18-07-2005 8:09 by Anonymous
    Filed under:
1 2 Next >
Powered by Community Server (Commercial Edition), by Telligent Systems