In this website I’ll be posting my technical articles and weblogs mostly. And occasionally, my personal say on some of the issues in the society or world. These articles can be accessed by selecting the web links on the menu at right hand side of this page as well as from the links given under different topics below.

Please note that since wordpress does not support (or at least I couldn’t find a way of) uploading zip files, I’ll be nice (and handsome) enough to send source files via e-mails to everyone who would request in comments section of an article. So please feel free to ask me if you need source code of any of the following projects.

October 9, 2011

LINQ and WCF were introduced by Microsoft with Visual Studio 2008. The two technologies, albeit have been in the market for a while now, nonetheless are still favorite of many project and development managers. In this article we’ll see how can these easy-to-implement, yet robust and sturdy technologies, be learnt and used in our daily programming routine. As software development is trending towards Service Oriented Architecture, and with LINQ to SQL’s powerful syntax and approach, learning the two technologies will come in very handy for any software engineer. I personally feel that learning these two technologies makes our programming lives a lot easier. Having them on resume is just a bonus point 😉

In this article I’ll explain what is Image Enhancement? What is contrast enhancement? What’s the difference between the two? How to achieve one or the other or both? For simplicity, we’ll operate only on black and white images with gray scale of 0 – 255, and images will only be in pgm format. But if you understand the concept, then it can be expanded and applied on more complex formats as well e.g. RGB or CMYK etc. This article will probably be most useful for students and/or software developers who have to do some image processing work. However, other programmers can also try the code just for the sake of fun, because the results are so interesting and very easy to produce!

November 9, 2010

If you are a .NET developer and have been tasked to implement Single Sign On (SSO) and you have absolutely no idea what the heck Single Sign On is, then this article is right for you. In this article I’ll explain what Single Sign On means; in what scenarios it is useful and how you can implement it in .NET? To make life little easier and to avoid reinventing the wheel, I’ll use SAML protocol and Component Space’s class libraries to implement SSO. Enjoy reading…

This post is for beginner Java developers, if you are one, keep on reading, otherwise you can skip. So if you are up to developing a chess game in Java then this article might give you a little bit head start. In this article you’ll see how easy it is to set the basic UI of a chess application in Java. Not only will you learn how to draw a chess board but also how set pieces and handle their moves. The application I’m posting here is an excerpt of what I made as my semester project. The complete application was made by a team of 4 developers and had some advanced features like playing chess with other players over the internet, chatting and etc. The code of original game will not be available; however you can get help from its mini-version that can be seen by selecting the following link:

In this article I’ll demonstrate how easy it is to implement the most popular asymmetric-key cryptosystem, RSA in Java language. RSA, named after its inventors Rivest, Shamir and Adleman, is basis of many modern encryption protocols e.g. SSL, PGP etc. The detailed explanation of how RSA works is beyond the scope of this article; nonetheless, you’ll find in this article practical implementation of RSA’s encryption and decryption algorithms. Moreover, you’ll also find, in its basic form, implementation of Optimal Asymmetric Encryption Padding (OAEP), which is an essential part of RSA (Thanks to Ojash Shrestha).

If you want to create a Master page so that two or more web applications can share it, then this blog is written exactly for you. In this blog I’ll demonstrate how you can create a Master page and share it among different .NET web applications in such a way that every time you make any change in the Master page, either in HTML or in server side script, all the web applications sharing it, start reflecting those changes either automatically or with minimal tweeking e.g. updating references or dlls etc.

If you want to INSERT new data in Quick Books through a .NET application, this article is written for you, with a solid example of inserting QB Vendor, with lots of code snippets and screen shots. So don’t miss this article and it’s Part 1 too, if you have an assignment as a professional or as a student in your college course. And Yes, don’t forget to get FREE copy of its source code as well.

This article is again for novice and intermediate level .NET programmers. In the article I’ll demonstrate, how programmers can implement security settings on their .NET web applications with minimal programming effort. The article is divided in two parts; part one deals with applying security on an intranet web application i.e., the one that runs on a local network and only authorized network users can access the application through LAN, WAN or VPN. Part two shows how to apply security on an internet web application i.e. the one which is globally available for users from all over the world. Click the following links and let’s see more details.

Are you a senior software engineer or an application architect who needs to design applications’ architecture and then create design documents, fancy enough to allure your non-technical clients or project manager and comprehensive enough to give your development team a good idea on how to get the development phase started? This article has been written just to meet your needs.