CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Steve Hebert's Development Blog

Steve's Blog - From .Net to dotMath and everything in between.

October 2005 - Posts

  • Distributing a C++ wrapper for .Net and the GAC

    I'm looking at distributing a C# assembly that provides access to a C/C++ dll.  On first thought, I was thinking I didn't need the GAC so long as a user is aware of where the C# assembly and C dll directory is.  As I think about this, since the C# assembly will be compiled and run elsewhere - will it be able to find the C dll without an explicit path or path setting to the C dll's directory?

    I'll blog what I find out...

  • Sql Dependency Viewer and large database projects

    I’ve been playing with Red-Gate’s Sql Dependency Viewer which is currently in Beta.  During this beta period, Red-Gate  is allowing people to download the tool for free.

     

    I’ve run into a few dependency viewers based on sysdepends in various blogs, but I’ve always run into problems with one project I worked on.  The database had so many stored procs, functions and tables that these tools never completed their work after running overnight.  I decided to turn Sql Dependency Viewer on this project and see what it could do. 

     

    I was impressed that it took 20 seconds to read all dependencies.  While the resulting graphical view was nearly unreadable – it looked like something out of Microsoft’s free code profiler for .Net – but it still had a number of extremely useful functions. 

     

    I can give it any object name to search for and it immediately displays the object in question.  When looking at a stored proc, I can immediately see which stored procs are calling it, what stored procs and functions it is calling, what tables it is reading from and what tables it is writing to.  This view is extremely useful in a large project. I would have loved to have had this tool when I first started working on it. 

     

    It’ll be interesting to see this tool progress and any improvements to the graphical display.

More Posts

Our Sponsors