Building an SSMS Add-In Using Redgate Ecosystem

Andy Warren, 2014-02-10

On Friday I was finally able to spend a couple hours looking at the Redgate Ecosystem, which is essentially a framework for building an SSMS add-in. In about 3 hours I was able to download the framework, take the sample solution and change it to run a script to generate a database snapshot of the selected database, and distribute it to a couple other people via an installer. Some quick notes:

  • Documentation is very sparse.
  • Example is really just to get to menus, nothing that does anything. I’d like to see it have a couple real actions packaged into a class library so the new user would have a better template for adding a new one.
  • Example is in C#. Nothing wrong with that, but I learned in VB so the {‘s and ;’s and case sensitivity slow me down some.
  • The installer in VS2012 doesn’t seem to support adding in the framework msi, so the user has to do two installs
  • Once you see where the code goes, I’d call doing the implementation close to trivial
  • The current (as of Friday) framework requires SmartAssembly which isn’t free. Found out the hard way when a test user downloaded the framework and it was a different version from what I built on!
  • If you can write some .net code you can do this

Most people probably use a script to generate a snapshot script, works well enough that way. Is having it a right-click away better? Arguably maybe! It’s definitely convenient. I can see without much work being able to right click to run a whole variety of scripts that are commonly used, easy and low hanging fruit. Better value probably calls from launching a real dialog (think replication, partitioning, log shipping) to do common if annoying tasks.

I’m not clear how much effort is abstracted by using the framework. I know back in SQL 2005 it was considered non-trivial, not sure if that has changed. Using it definitely let me focus on the task and not the plumbing. I suspect the success of the ecosystem idea may depend on that answer.





Related content

Database Mirroring FAQ: Can a 2008 SQL instance be used as the witness for a 2005 database mirroring setup?

Question: Can a 2008 SQL instance be used as the witness for a 2005 database mirroring setup? This question was sent to me via email. My reply follows. Can a 2008 SQL instance be used as the witness for a 2005 database mirroring setup? Databases to be mirrored are currently running on 2005 SQL instances but will be upgraded to 2008 SQL in the near future.

Robert Davis


1,567 reads

Networking – Part 4

You may want to read Part 1 , Part 2 , and Part 3 before continuing. This time around I’d like to talk about social networking. We’ll start with social networking. Facebook, MySpace, and Twitter are all good examples of using technology to let…

Andy Warren


1,530 reads

Speaking at Community Events – More Thoughts

Last week I posted Speaking at Community Events – Time to Raise the Bar?, a first cut at talking about to what degree we should require experience for speakers at events like SQLSaturday as well as when it might be appropriate to add additional focus/limitations on the presentations that are accepted. I’ve got a few more thoughts on the topic this week, and I look forward to your comments.

Andy Warren


360 reads