Welcome to WindowsClient.net | Sign in | Join

Zuker On Foundations

The realm of .NET (WPF, WCF and all around)

Browse by Tags

All Tags » .NET (RSS)
The MetadataExchangeClient has resolved more than MaximumResolvedReferences
This error was resulted in a specific scenario where I tried to pull a service metadata using .NET MetadataExchangeClient. The reason was that the metadata consisted with more metadata references than the limit defined on my MEXClient instance. (The default...
Posted: Dec 30 2008, 11:28 AM by Amir Zuker | with no comments
Filed under: ,
NDepend
I finally had the chance to look into the NDepend tool. In short: " NDepend is a tool that simplifies managing a complex .NET code base. Architects and developers can analyze code structure, specify design rules, plan massive refactoring, do effective...
Posted: Dec 24 2008, 12:18 PM by Amir Zuker | with no comments
Filed under:
Some Hotfixes
I have been in vacation for the last 2.5 weeks. Myself and my Fiance in a vehicle driving around the united states. We've done the popular route - San Francisco --> Los Angeles (Through Highway 1, Amazing!) --> Las Vegas A lot of ruckus in that...
PDC 08 had started, WHOA!
The PDC had started, Unfortunately - I'm not there. Next time I hope :) Lots of buzz is out there already! - Visual Studio 2010 and .NET 4.0 CTP is available for download ! - Windows Azure Windows® Azure is a cloud services operating system that serves...
T4 (Text Template Transformation Toolkit) Code Generation
I had no idea.. but but.. but but.. :) Great thing! Check Scott's post for all the details. " What's the story? Well, T4 is a code generator built right into Visual Studio. To be clear, you HAVE THIS NOW on your system…go play. Now's...
C# Lambda and Extensions to help around Casting
One of the common scenarios of casting in daily use of code is the need to check if an instance is of a given type, if so - perform actions on it. Some developers tend to do as following: if (foo is Bar ) { Bar b1 = ( Bar )foo; //Do Stuff.. } A word about...
Posted: Oct 07 2008, 08:33 AM by Amir Zuker | with no comments
Filed under:
What is new in .NET 4.0?
There's a whole buzz about the .NET Framework 4.0, sweet stuff is coming. Read Damir's post for more information. Obviously, this isn't everything.. - There will be new modeling and architecture tools for working against the code - The Team...
Posted: Oct 06 2008, 11:32 AM by Amir Zuker | with no comments
Filed under:
Dynamite: High Performace Dynamic Sorting Using Expressions
Visit the CodeProject article for futher details. Download Dynamite library (including demo) - 35.7KB The library proides easy way for sorting arrays, enumerables, queryables and dataset as well. The sweet gem about it is the ability to integrate it into...
Posted: Oct 02 2008, 09:32 AM by Amir Zuker | with no comments
Filed under:
Execute code within timeout using threads
Via this post . Following is a quick way to execute code and limiting it within a certain timeout. Note that the code spawns a new thread. A better safer code would be using the ThreadPool and wait on the WaitHandle. Thread t = new Thread ( () => ...
Posted: Aug 21 2008, 09:20 AM by Amir Zuker | with no comments
Filed under:
Text manipulation - Title Case
A nice way to convert text to title-case using the .NET framework. Title Case - First Letter Of Every Word Is Upper CultureInfo .CurrentCulture.TextInfo.ToTitleCase("some text"); //Returns "Some Text" Note that you should ensure the...
Posted: Jul 22 2008, 07:08 PM by Amir Zuker | with no comments
Filed under:
Mimetypes required for VSTO and ClickOnce
Via this post . Following mime types should be registered in ISS, when using VSTO and ClickOnce: .application application/x-ms-application .manifest application/x-ms-manifest .deploy application/octet-stream .deploy application/x-ms-vsto
Posted: Jul 22 2008, 07:06 PM by Amir Zuker | with no comments
Filed under:
Get executing assembly file path location
Very simple piece of code to get the path where the executing assembly is located. private static string GetApplicationPath() { return Path .GetDirectoryName( Assembly .GetExecutingAssembly().Location); }
Posted: Jul 15 2008, 11:01 AM by Amir Zuker | with no comments
Filed under:
Velocity Cache Project
The CTP version of Velocity had been released a while back. It certainly has great benefits. Here's a link to Bart's post going over this release, worths the check. From Bart's post : Introduction But first... what's in a name? Multi-tiered...
Posted: Jul 05 2008, 01:57 PM by Amir Zuker | with 1 comment(s)
Filed under: ,
WCF - Creating a certificate
I implemented a Security Token Service in WCF as part of our WS-Trust solution here in our project. I needed a certificate to apply the message security and all that WS-Federation requires. I needed to set it up quickly for a temporary purpose, thus I...
Posted: Jun 29 2008, 07:38 AM by Amir Zuker | with 1 comment(s)
Filed under: ,
PInvoke Interop Assistant
Via Nicholas Allen's post . "new tool on CodePlex the other day called the PInvoke Interop Assistant that automatically converts between managed and unmanaged type signatures. In addition to converting API functions, it also pulls together all...
Posted: Jun 25 2008, 07:36 PM by Amir Zuker | with no comments
Filed under:
Next page »
Page view counter