Browse by Tags
All Tags »
.NET (
RSS)
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...
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...
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 ( () => ...
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...
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
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); }
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...
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...
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...
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...
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...
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...
I thought it would be nice to save a refence to that. Follow this link to go to this wonderful project @CodeProject.
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...
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...
Next page »