Reflection IT Blog

Benieuwd naar de laatste ontwikkelingen rondom software ontwikkeling en Reflection IT? Onze slimme koppen delen regelmatig hun kennis en ervaring. Zo weet jij wat er speelt!

Fons Sonnemans Blog posts

C# SortCode Macro for Visual Studio.NET 2003

01-Oct-2002

You should write your code in a consistent style. This is easier said then done. The SortCode macro helps you with this by sorting your C# code.

The SortCode macro sorts all members of a type (class or struct) on alphabetical order grouped by their type.

The default order of the types is:

  • Events
  • Fields
  • Enums
  • Constructor
  • Destructor
  • Properties and Functions
  • Properties and Functions of implemented interfaces

GotDotNet: Xml WebService Award?

01-Aug-2002

What happened with the XML WebServices Award on the GotDotNet website? I have submitted my Html2Xml webserivce. I don't expect to win the 25.000 dollar price, an X-box would be nice :-)

The winners would be announced at the Teched in Barcelona (1-5 July 2002). Then this was moved to July 12. It is now August. Nothing has happened. Is there no winner?

Strange!

WinForm SplashScreen

01-Aug-2002

Most commercial WinForm applications have a SplashScreen. This article explains how you can implement one using the Microsoft .NET Framework.


Example: Visual Studio.NET SplashScreen

 

VB.NET Bug?

26-Jul-2002

I think I have found a Bug in VB.NET (Final)! I can't compile the following program (Build Error: 'Private Function Foo() As Integer' and 'Public Function Foo() As String' cannot overload each other because they differ only by return types. ). It worked in Beta2 of VB.NET.

Public Interface ITestInterface

   Function Foo() As Integer

End Interface

Public Class TestClass

   Implements ITestInterface

   Private Function Foo() As Integer Implements VBBug.ITestInterface.Foo
      Return 1
   End Function

   Public Function Foo() As String
      Return "2"
   End Function

End Class

Distributed Transactions without COM+ (EnterpriceServices)

24-Jul-2002

I don't like COM+. I have never liked it but I had to use it when I needed Distributed Transactions. At the Teched 2002 in Barcelona I learned how you can use Distributed Transactions without COM+.

My problem with COM+ is the fact that you only can choose one transactiontype for a class. You can not differentiate it per method.

Download the following Zip file and have a look at Ron Jacobs example project and slides.

Be carefull, this only works on Windows XP. It uses some lowlevel COM+ 1.5 features.

Get in touch

Met dit formulier kunt u informatie over een In-Company of Small-Group training aanvragen. U kunt in het bericht aangeven welke training u wilt, voor hoeveel personen, wanneer deze verzorgd moet worden en op welke locatie. Wij nemen vervolgens contact met u op.

U kunt ons ook bereiken via telefoonnummer +31 (0)493-688810 of per mail training@reflectionit.nl.