Tuesday, October 1, 2013
Helps cross cutting concerns e.g. logging.
Functionality -> Encapsulation = Aspect(Wrapper + Single Responsible + Decorator Pattern + Open Close ) == Modular component with good OO
Where we can inject / Hoocks
On Start : immediately prior to underlying functionality
On Success : limited to when no exception
On Exit : when function finishes
On Error : when any exception occur in code
How to Attach to existing function ?
generally IoC is used. this way no post compilation - can use IoC configuration.
2. IL Code Weaving
Compile code to dll or EXE and then run through the AOP post processor. Which will inject the code as per hoocks as new dll / exe with aspects attached.
How to make an Interception and how to make aspect using it?
//to do : update
Sunday, September 8, 2013
Thursday, March 28, 2013
Ever wanted to run excel two separate monitors ?
Ever wanted to open to excel side by side for comparison ?
Follow these steps and then every time you open excel from excel shortcut it will open new instance .
Sunday, February 17, 2013
Sunday, February 10, 2013
Who should read this article:
Do you work with visual studio & Tortoise HG?
Is it tedious switching between VS & Mercurial HG ?
Would you like to manage your Mercurial Source Control files directly from visual studio ?
Sunday, July 31, 2011
Tuesday, June 14, 2011
Saturday, June 4, 2011
Monday, May 30, 2011
Plan is to share different ways to export data to excel . I will be writing this topic in installments.
There are many ways to create an Excel file/ export data to excel. I will list down few , later will post samples of each and then will try dig little more and share the pros and cons of them. Let us see how far I go in this ...
1. Create csv file and open in excel
2. Use oledb to create excel
3. Use office inerop / vsto
4. Use office open xml
Thursday, May 26, 2011
To solve this issue ( this is workaround till fix is released)
- Click Start, type run and press Enter. (On Windows XP: Click Start and then Run.)
- Type the following and click OK.
- Locate and delete the file shared.xml. OR rename it to old.shared.xml
if you can't find the file ensure that hidden files and folders are shown.
- Restart Skype.
- Open Finder and locate the following folder:
- ~/Library/Application Support/Skype
- Delete the file shared.xml OR rename it to old.shared.xml
- Restart Skype.