Tag Archives: C#

How to unit test internal classes in .net

Often we used to isolate our classes using internal access modifier, in ideal scenario it doesn’t require to write unit tests for internal classes. But sometimes we require to do  test internal classes. We can do it using two ways … Continue reading

Posted in .Net, Miscellaneous, Unit Testing | Tagged , , | Leave a comment

How to add simple water mark to images

While working on one of my friend’s blog, I got a chance to write a code snippet which helps to add water mark for all images automatically. And I created a simple library do this. I added few extra options, … Continue reading

Posted in .Net, .Net 4.0, ASP.Net, Windows Forms | Tagged , , , , | 1 Comment

CSC : error CS1548: Cryptographic failure while signing assembly xxx.dll Error signing assembly — Access is denied

Yesterday I got this error while building my application after installing Windows 7 x64. I thouoght it was because of X64 OS, but later I found it doesn’t have anything to do with X64 OS. I don’t know the actual … Continue reading

Posted in .Net, .Net 4.0, Uncategorized, Visual Studio | Tagged , , , , , | Leave a comment

Getting Code coverage using Open Cover and NUnit

In the last post I blogged about how to get code coverage using MSTest and Part cover. In this post I am blogging about measuring code coverage with Open cover. Today I found another alternative to measure code coverage. Its … Continue reading

Posted in .Net, .Net 3.0 / 3.5, .Net 4.0, Code coverage, Unit Testing | Tagged , , , , , , , | 2 Comments

CaptureItPlus – A screen capture utility

Few days back I started working on another open source project, for capturing screen shots. It is similar or can be used as an alternative to Snipping Tool in Windows Vista / 7. Here is the main features of CaptureItPlus … Continue reading

Posted in .Net, .Net 3.0 / 3.5, Miscellaneous, Win 32 API, Windows Forms | Tagged , , , , , | 4 Comments