Friday, August 25, 2006 

Generics.Net

With .Net 2.0 Microsoft introduced Generics; a mechanism, in .net languages
like c# and vb.net, which allows to create parameterized components (class,
function, interface, etc.). Today Generics.Net (an open source project which intend to provide templeted data structure, algorithms and other generic components, much like C++ STL library) created on CodePlex, a Microsoft's community development website. Thanks to CodePlex team. I am planning to release first pre-alpha version of Generics.Net on 10th October 2006. Till then if you have any ideas, comments, or suggestions you can share with me at Generics.Net Discussion Forum.

Generics.Net Url:
http://www.codeplex.com/Wiki/View.aspx?ProjectName=genericsnet

Tuesday, August 15, 2006 

Understanding implicit operator overloading in C#

Everyone knows that in dotnet byte, char, int, long etc are value data type and string is a reference data type. Even though being a reference type string behaves much like a value type. In other word, It can directly accepts values and doesn't require new to create an instance. For example...

string name = "M. Aamir Maniar"; //Directly accepts the value

This article explains you how to achive such kind of functionality using implicit operator overloading in C#.

For detailed article click following link.
http://www.codeproject.com/useritems/Csharp_implicit_operator.asp


Thursday, August 03, 2006 

Simple Encryption and Decryption with Cypher class

Many times, infact i would say, in almost all our application we need to deal with data security. Whether we are dealing with querystrings, passwords, social security numbers or other secure data, we require a mechanism through which we can cipher the readable text into complex code. .Net provides many classes to achive highest levels of encryption, but how many of you are actually using them in all your application? Reason, Its complex to implement. Right?

To simplify this problem i have created a class: Cypher that help you to achive encryption and decryption in a simple manner. Following code demonstrate how to do that with Cypher class.


//To do Encryption
Cypher encryptor = new Cypher(Key);
Result = encryptor.Encrypt(MainString);

//To do Decryption
Cypher decryptor = new Cypher(Key);
Result = decryptor.Decrypt(MainString);


Encryptor is a sample application that demonstrate how to utilize Cypher class.




Downlaods
=============
Encryptor Application : http://www.technobits.net/tb/archives/encryptor.zip
Cypher Source : http://www.technobits.net/tb/archives/cypher.zip

Tuesday, August 01, 2006 

Documentation with .Net 2.0

Becuase its ability to generate multiple kind of reference documents with a nice user friendly UI, NDoc has been a favourite documentation tool for .Net 1.0 and 1.1 applications among .Net developers. Unfortunately without being ported to .Net 2.0, NDoc project was stalled. Moreover, Visual Studio 2005, unlike earlier versions of visual studio, dosent even provide basic tool for documenting .net assemblies. This had left .net developer community hanging about creating a good documentation... To solve this state of difficulty, microsoft annonced CTP version of SandCastle, a document generating utility for .Net 2.0, which is now available for downloading from microsoft.

Please refere following links for further information...

About me

  • I'm M. Aamir Maniar
  • From Mumbai, Maharastra, India
My profile

Archives

  • September 2011
  • September 2006
  • August 2006
  • July 2006
  • April 2006
  • March 2006
  • February 2006
  • January 2005
  • November 2004
  • October 2004
Powered by Blogger
and Blogger Templates