Blog Posts

Recent posts

C# WCF - communication tracing

less than 1 minute read

In order to diagnostic WCF communication, you can log all WCF activities by using tracing mechanism in .NET application. You can add the following section in...

C# WPF - customizing start up fuction in WPF

less than 1 minute read

When you create a WPF application with visual studio, you will always find app.xaml and app.xaml.cs file. In app.xaml file, you can find the StartupUri attri...

C++11 - Inherited constructors

less than 1 minute read

Now C++11 allow that derived class can inherit the constructors of base class as the following. 1 2 3 4 5 6 7 8 9 10 11 class A { public: A(int a) {} ...

C# - Simple UDP listener in asynchronous way

less than 1 minute read

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 private Socket udpSock; private byte[] buffer; public void Starter(...