RSS Feed
RSS Feed
Search
AddThis Feed Button
Bookmark and Share





.NET Framework

12345
Using Extension Methods
How often do you want to modify existing classes to have extra methods? Quite often. Right? When you have source code of the classes under consideration at your hand then things are easy. You probably just add the extra methods to those classes. What if you don't have source code? Well. In such cases one approach is to inherit the existing classes and add extra methods to the child classes. However, this way may not be always correct and possible in terms of your application design and OO principles. Luckily, C# offers a quick way to extend your class functionality through a feature known as Extension Methods. Extension methods allow you to extend existing types without inheriting them. This article is going to throw some light on this handy feature.
Posted On : 04 Aug 2008
Zip and Unzip files programmatically
Recently one of the reader of DotNetBips.com posted a question on the discussion forums about compressing and decompressing files via code. There is no obvious answer to this question because C# and VB.NET lack this functionality. However, J# does have a way to zip and unzip files programmatically. In this article I am going to explain how this can be achieved. In this article you will develop a reusable class library that can be used to create, extract and alter ZIP files. Once developed you can use it in your Windows or web applications.
Posted On : 03 Feb 2007
Get a Complete Computer List From Active Directory Using .NET 2.0
This code sample shows how to retrieve a list of computers from Active Directory and use a For/Next to loop through the collection. I've used this code sample on several scripts and using Active Directory as the authoritative source for a list of machines is handy. The process running this code sample normally requires being a domain administrator level to retrieve this information.
Posted On : 05 Dec 2006
Refactoring your code with VS.NET 2005
There are developers who write code and then there are developers who write better code. The difference is obvious. Writing good code is skill that not all developers have. This also implies that this skill can be improved. A part of this skill includes ability to refactor the code that you or somebody else has written. VS.NET 2005 includes a set of features that help you in this regards. This article is going to discuss what refactoring is and how VS.NET 2005 helps you to refactor your code.
Posted On : 02 Jun 2006
Enforce versioning using assembly redirection and publisher policy
Understand how to use assembly redirection and publisher policy to point client applications to newer versions of the assemblies automatically.
Posted On : 28 Aug 2005
Cryptography and .NET - Part 5 (Digital Signatures)
In the previous article of this series (Part 1, Part 2, Part 3, Part 4) we learnt to create hash values. Continuing our journey ahead we will cover Digital Signatures. Digital signatures are used to verify identity of the sender and ensure data integrity. They are often used along with public key encryption.
Posted On : 31 Jul 2005
Cryptography and .NET - Part 4 (Hash Values)
In this part we are going to learn how to ensure that data coming to you has not been tampered with during the transfer. The technique that we will be using is hashing algorithms. Hash values allow us to verify the integrity of data. The hash value of received data can be compared to the hash value of data that was sent to check if the data is tampered.
Posted On : 24 Jul 2005
Cryptography and .NET Framework - Part 3 (Public Key Encryption)
From Part 1 we know that public key encryption consists of two keys - public key and private key. Data encrypted by public key can be decrypted only by the corresponding private key and vice a versa. One of the most popular algorithm for encrypting and decrypting data using this technique is RSA. The acronym RSA stands for Rivest, Shamir, and Adelman who are the inventors of the technique. The .NET framework provides a class called RSACryptoServiceProvider that encapsulates this algorithm.
Posted On : 10 Jul 2005
Cryptography and .NET Framework - Part 2 (Secret key Encryption)
In the Part 1 we learnt the basics of Cryptography and related .NET Framework classes. In this article we are going to see how to work with Secret Key Encryption using Triple-DES algorithm.
Posted On : 03 Jul 2005
Cryptography and .NET Framework - Part 1
Security is key consideration for many applications. Providing authentication and authorization services to your application is just one part of the overall security. What about the data that is being used and transferred in the application? That is where cryptography comes into picture.
Posted On : 18 Jun 2005
12345
Copyright (C) bipinjoshi.net. All rights reserved.
Contact Us
Read Terms Of Use
Hosted By DiscountASP