Wednesday, June 25, 2008

My blog was forward to Microsoft (MS Israel Community)

Hi All,
I forward my blog to MS Israel Community.

My new blog URL is: Rotem Bloom's Blog.

I want to say many thanks to Guy Burstein that helps me open the new blog.

Wednesday, June 18, 2008

Assembly Information work under .NET 2.0

Hi All,
The Assembly Information tool is now also work under .NET 2.0.

You can download the setup from codeplex on the link below:
Assembly Information work under .NET 2.0

Tuesday, June 17, 2008

WCF Practices: Single point for WCF proxy calls

Hi All,
Let's say you want that all your WCF proxy calls will come from one function. This could be very useful and save a lot of code.
For example you can write your proxy exception handling in one place.

Here is the code example that work on .NET framework 3.5 only:

// The public function that execute the WCF proxy call
public void WCFProxyCall()
{
CreateConferenceRequest r = new CreateConferenceRequest();

Func createFunc = a =>
proxy.CreateConference(a);

CreateConferenceResponse ci = ProxyWrapperOperation(createFunc, r);
}


// This is the single point function for the entire WCF proxy calls
// Here you can write code for all your WCF proxy calls.
private TResult ProxyWrapperOperation(Func operation, T parameter)
{
TResult result;
try
{
result = operation(parameter);
}
catch (TimeoutException timeProblem)
{
proxy.Abort();
throw;
}
catch (FaultException unknownFault)
{
throw;
}
catch (CommunicationException commProblem)
{
proxy.Abort();
throw;
}

return result;
}

Sunday, June 15, 2008

.NET Assembly Information Tool is now on codeplex

Hi All,
I wrote a nice .NET tool that display .net assembly information like:
1) Compilation mode Debug\Release.
2) .NET Assembly full name
3) .NET Assembly references

You must have .NET framework 3.5 install in order to work with .NET Assembly Information tool.

How to use:
After the installation you can point on any .NET Assembly (DLL), press right click and press on the new menu called: "Assembly Information".
A popup window with useful information on your Assembly will pops.

You can find it under:
.NET Assembly Information