Posts tagged ‘.Net’

Another hidden .Net Tool usage basics: ilMerge

Ilmerge is a great utility for any .net developer. What it does is basically merge the assemblies. Let’s say you have three dll and one exe file, you can just merge those 4 files to 1 file using ilmerge. As a matter of fact, it is easy to use, you don’t need any recompilation or any other […]

Reflection with Private Members

By using reflection we can call any function including the private and protected ones. This includes private static methods, constructor methods, normal methods. What we need to do is to get the method by the BindingFlags.Nonpublic flag and then we just use it like a reflected type.

using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
 
namespace ReflectPrivateMembers
{
[…]

XML Class Generator for C# using XSD for deserialization

Let’s say we have an XML file and we want to deserialize that file to our implemented class. This is an easy task if the XML file is simple. However if it has more complex types, it can take a long time to implement the class without error. XSD comes with .Net framework SDK. I […]

The coolest exception I’ve ever get : FatalExecutionError

I get the coolest exception from .Net FatalExecutionError. What is cool for that exception is that it is assuming that itself might be wrong. “This error may be a bug in the CLR.” So I might not be the one who generated, I can just blame CLR for doing that

“The runtime has […]

Value Types vs Reference Types - Boxing Unboxing

In a custom control, I wrote a general function to handle the object equality. I have used it several times without error. However today I sent a value type instead of a reference type, and some unexpected results occured.
The base class object have some basic methods which other classes override those methods. One […]

Messenger Add-in -> MSN Messenger API

I was surfing on the developer site of Windows Live . I saw the new (for me) MSN SDK. Lastly there was only activity sdk which is not real SDK.
The new Messenger Add-in SDK is included inside MSN Live messenger, althought the site says it is a seperate download.

Anyway to use it,

Add […]

Windows Communication Foundation - Simple Web Service Call

Invoking web services is not much different in windows communication foundation. We have a tool svcutil that generates the interface and the proxy class automatically, I think this will be included later on the IDE. For this sample call I just used google search service. We use the command svcutil with the wsdl adress of […]

Microsoft .Net Framework 3 Community Sites

Here are new community sites from microsoft. The new design looks great. It wil be the new resource for .net framework 3.

Microsoft .net Framework 3 Community

Windows Communication Foundation

Windows Presentation Foundation

Windows Workflow Foundation

Windows CardSpace

.Net Framework 3.0

WinFX has been renamed to .Net framework 3. Although .Net framework 3 is simple and easy to remember, I get used to Winfx.
I liked WinFX. It was like Win32, Win16..
Just like the avalon case renames to WPF, new names will be remembered at last.
Apparently there is no new version come up […]