aleph

Stories submitted by aleph

Session provider for .NET Remoting and WCF(stefanprodan.spaces.live.com)

submitted by alephaleph(85) 4 years, 5 months ago

An ASP.NET like Session object for .NET Remoting and WCF distributed applications. read more...

add a comment |category: |Views: 72

tags: another

DirectoryInfo.CopyTo Custom Extension in C# 3.0(stefanprodan.wordpress.com)

submitted by alephaleph(85) 4 years, 6 months ago

DirectoryInfo doesn’t have a method for recursive copying of files and subfoders from one root to another. The following code ads the CopyTo method to the DirectoryInfo class using the new C# 3.0 feature named code extensions. read more...

add a comment |category: |Views: 18

tags: another

Protect assemblies from unknown callers(stefanprodan.wordpress.com)

submitted by alephaleph(85) 5 years ago

If you work with multiple assemblies and you want to make sure no one uses your code by calling methods from other applications you can use strong names and evidence in this manner. read more...

add a comment |category: |Views: 5

tags: another

Stop threads gracefuly(stefanprodan.wordpress.com)

submitted by alephaleph(85) 5 years ago

Every time you are using threads in your code you’ll need a way to stop them and from what I have been experienced the Thread.Abort() is not a choice. Here it is an example of how to stop threads gracefuly. read more...

add a comment |category: |Views: 37

tags: another

Deploy SQL Server databases easily with an Installer class(codeproject.com)

submitted by alephaleph(85) 5 years ago

Deploy MS SQL Server databases using System.Configuration.Install and a VS.NET Setup Project. The article targets C# 1.1 but is 100% compatible with C# 2.0 and VS.NET 2005. read more...

add a comment |category: |Views: 55

tags: another