Quantcast
Channel: ASpeak » DotNET
Browsing latest articles
Browse All 10 View Live

Microsoft .NET Framework 3.5 SP1 Source Code Released

I would have never known that this takes up these many calls to perform a simple Console.WriteLine operation unless Microsoft had released the source code of the .net framework. I am delighted that the...

View Article



MSDN code examples could be incorrect as well

It was really odd for me to find an error in MSDN code example which took almost a couple of hours to figure out what is wrong. I am working in VSTO (Visual Studio Tool for Office). I am developing a...

View Article

Remote Debugging with VS2008

This is a very common development requirement and many of you might be knowing this thing already. However, I am just putting this information as it might help someone. In a distributed development...

View Article

Uninstallation from C#

I wanted to programatically uninstall an application installed in my system. Following code is a working piece to uninstall any custom application from the system. Note: Following code snippet is not...

View Article

Mark File for deletion on reboot

Requirement: Delete files from a given folder using C#. Challenge: The file may be in use i.e. locked. Approach: Use System Call to mark file for deletion on restart Solution: Use PInvoke for...

View Article


Lambda based reflection Vs Normal reflection Vs Direct call

One friend of mine sent me the following code sample that really surprised me. There are three different approaches being used to call a method from a different class. The approaches are - Direct Call...

View Article

Resize Modal Dialog Box dynamically

This has been a pesky issue in our current project. The requirement is to pop a modal dialog box from a web form. This dialog that appears will contain various user controls based on certain...

View Article

Forcefully delete an assembly from GAC

  Very often during development we try to remove an assembly from GAC. However, due to many reasons the assembly might not get deleted and the above screen is displayed. There is no easy way to remove...

View Article


Debug installer

The installer created using WIX was failing. I had no option but to perform following on command line: msiexec -i MYSETUPFILE.msi /leavx log.txt This will create a log file for the installer when this...

View Article


First encounter with OData

After installing VS2010 Professional I could not resist my temptation to start spelunking the newer features available to me. I have seen a couple of videos about OData in Mix10 and I thought it would...

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images