Aug
18th | 2008

Add Configuration Files To Your Visual Studio Project

Posted by Shahar Y |
Filed under .Net, Visual Studio |

When we work on big projects, there is a need to set up a development tree (directory structure) and not just put everything in the bin\Debug or bin\Release folder. There are some “how to set up a good development tree” best practices and even a .NET development tree generator called Tree Surgeon. Some of the folders in this directory structure shall be “Resources” (set of icons and images) and “Config” (set of configuration files).

How many times did you search for a specific configuration file or a specific icon in the development tree (assuming it is a big one)? You come back to a component you wrote several years ago and can’t recall where did you locate your files. Wouldn’t it be nice if for each project, our resources and configuration files could be seen form visual studio? We would never need to find them using the windows explorer anymore and we will always have them right there even when coming back to a code which was written 2-3 years ago.


Continue Reading...
Jul
22nd | 2008

Add jQuery Intellisense To Your Visual Studio

Posted by Amit |
Filed under ASP.Net, Visual Studio |

Here is something nice I have found while wandering around the Internet. We all know jQuery, jQuery is a Framework written in JavaScript which makes client side and DOM work much easier and faster. If you don’t know it yet, be sure to check it out, it makes Web Developers life easy on the web. Shahar wrote a great article about Calling ASP.NET WebMethod with jQuery so check it out.


Continue Reading...
May
30th | 2008

How to Find Memory Leaks With CLRProfiler

Posted by Shahar A |
Filed under C# |

We all know managed code can have memory leaks. You can find a good example here: A .NET memory leak you did not think about. Microsoft provides us with the CLR Profiler, an open source tool for analyzing the behavior of your managed application, which you can download here. It contains very good documentation about the different functions of the tool, however I still find it a bit hard to start with, so here is a simple step-by-step example of how to use it. After you finish downloadoing it , extract the files and open the directory. there you will find the manual, you can read it later… Navigate to CLRProfiler\Binaries\x86 (or x64) and run CLRProfiler.exe.


Continue Reading...
Mar
16th | 2008

A .NET memory leak you did not think about

Posted by Amit |
Filed under .Net |

Although the .NET Framework takes the memory management task out of your hands, there are still a few things that you must pay attention to when disposing of an object in order for the Garbage Collector to do its work properly.
You would think that once you remove the reference from an object it will eventually [...]


Continue Reading...

Search Dev102