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)
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 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 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 zuker | with 1 comment(s)
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 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 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 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 zuker | with no comments
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 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 zuker | with no comments
Filed under:
Enum - Working with [Flags]
A nice feature of the language is the ability to tag an enum with the [Flags] attribute. Such tagging makes the use of the enum in a bitwise manner, you can choose multiple values to an enum field. Working with such enum tagged with flags introduces a...
Posted: Jun 19 2008, 09:58 PM by zuker | with 1 comment(s)
Filed under:
Threading Thoughts
Multi-threading is an important concept, we can all agree to that. We could find ourselves using threads even if we're not in an environment which is multi-threaded by nature. (services and such) But how do we write atomic code? (Thread-Safe) Well...
Posted: Jun 12 2008, 11:29 AM by zuker | with no comments
Filed under:
ClickOnce Deployment w/ Prerequisites in IIS
I encountered an issue where I deployed a .NET 3.5 WPF application to the server. The deployment was hosted in IIS and the prerequisites were marked with "download from the same location as my application" The publish works and everything seems...
Posted: May 28 2008, 11:40 AM by zuker | with 2 comment(s)
Filed under:
Processing Global Mouse&Keyboard Hooks in C#
I thought it would be nice to save a refence to that. Follow this link to go to this wonderful project @CodeProject.
Posted: May 20 2008, 01:20 PM by zuker | with no comments
Filed under:
.NET Framework 3.5 SP1 Beta
Service Pack 1 is here, yippy. Obviously, this is a Beta release, thus you might want to install it on a test machine or something. There are many cool things that come with SP1, you can read about it in the following posts: "From a .NET Framework...
Posted: May 13 2008, 11:15 AM by zuker | with no comments
Filed under:
References
Some references I'd like to save for potential personal future use. Client-side token cache for WCF "WCF by default maintains a cache for security tokens per channel instance (A channel is related to a contract). Therefore, it is not possible...
Posted: May 11 2008, 01:44 PM by zuker | with no comments
Filed under: , ,
Next page »
Page view counter