aleph

Stories kicked by aleph

Using Partial Methods(devsource.com)

submitted by salimsalim(780) 4 years, 5 months ago

Partial classes permit developers, including Microsoft developers, to split classes between multiple files. This works out pretty good because it lets Microsoft hide some plumbing, for example, for the Windows Forms designer. Partial classes also makes it possible for programmers that consume generated code to write the custom part in a separate location, in case the generated part needs to be re-generated. So there are definite read more...

add a comment |category: |Views: 2

tags: another

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

Microsoft and Innovation(codeeleven.blogspot.com)

submitted by FlySwatFlySwat(485) 4 years, 5 months ago

Here, in no particular order, are just a few thing that the "evil empire" came up with first. read more...

add a comment |category: |Views: 2

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

Connect to a SQL Database and Use the LINQ to SQL Designer(blogs.msdn.com)

submitted by CharlieCalvertCharlieCalvert(7875) 4 years, 6 months ago

To begin working with LINQ to SQL in Visual Studio 2008 you will need a database that you can query and a copy of SQL Express. If SQL Express is not installed on your system, you can download it here. Follow these steps to install and access the copy of the Northwind database that accompanies the samples that ship with Visual Studio 2008. read more...

add a comment |category: |Views: 25

tags: another

Lambdas and Closures and Currying. Oh my! (Part 1)(codethinked.com)

submitted by justin_etheredgejustin_etheredge(8539) 4 years, 6 months ago

Part 1 of an n part article on functional programming in C# 3.0, from the viewpoint of a functional programming novice! read more...

2 comments |category: |Views: 15

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