Microsoft .NET

Encryption and Decryption of Video Files Using C#

Encryption is the process of translating plain text data (plaintext) into something that appears to be random and meaningless (cipher text). Decryption is the process of converting cipher text back to plaintext.

For smaller and simpler files (like Text files) we can use DES algorithm, but for other type of files such as a video, we’ll have to use AES or some other algorithm. For this example we’ll be using AES algorithm. AES is a new cryptographic algorithm that can be used to protect electronic data. Typically, AES is an iterative, symmetric-key block cipher that […]

Handling technical issues in the application development

One always encounters challenges and problems during designing and developing applications. Most of these challenges pop up in the initial phase of project while eliciting the software requirements or during design phase while layering out the functional requirements on to the technical architecture.

Most of these challenges are part of routine software development process and have proven solutions in terms of best practices, design patterns or technology features. However, sometimes there could be certain challenges that are specific to the project requirements and its scope.

To analyze such project specific challenges and derive optimal solution one […]

How to Retrieve Active Directory Information for Authentication in ASP.NET


Hello Friends, I would like to share some of my interesting findings for retrieving the Active Directory information for authentication in web application using C#.NET.

So let’s move on to the implementation details.

Life has been made easy with the introduction of the System.DirectoryServices.dll library in .Net Framework. There’s a simple function which I have written that does the Forms/Window authentication to permit users to authenticate against Active Directory using the Lightweight Directory Access Protocol (LDAP).

This custom function basically takes a username, and tries to authenticate it on the given LDAP (Active Directory).

The code below demonstrates […]

Charts in Excel 2010 Using OOXML & C#

Open Office XML (also known as OOXML or OpenXML) is a XML based file format developed by Microsoft for representing office documents. An OOXML file is stored in zipped, XML files.

Spreadsheet documents in OOXML mainly contain following parts,



andxmls depending on sheets .












We are going to talk about drawings and the chart parts in this blog.

Inserting chart in Excel

We will go through various chart objects in the following sections,


To insert any type […]

Architectural Changes in SharePoint 2013

Released by Microsoft on 17 July, SharePoint 2013 public beta is being discussed worldwide for its advanced features and improvements. I was fortunate to get enlightened at Microsoft India, Hyderabad when Wayne Ewington, the Principal Consultant at Microsoft Corporation spoke on ‘Architectural Changes in SharePoint 2013’. I’m sharing the same with you; following are the changes in the architecture of SharePoint 2013:

Shredded Storage:

The goal here is to make changes equal to the size of the change, not size of the file. Let’s have a look at how it works in SharePoint 2010 and 2013 […]