Can I use one database for my application data and forum?

Nov 25, 2013 at 10:27 AM
Is it possible to use a single database containing application and forum data? Is this advised?

I ask as I have been using ninject to inject my DbContext into my UnitOfWork class. Of course this isn't possible as MVCForum clearly registers this with the IoC for it's own use and can't be registered twice. But if all the database was using the same context the dependency injection I need would still work.

Any ideas?
Nov 25, 2013 at 10:50 AM
I normally store both the forum data and whatever data I need for the site in the same database. I do it by creating a custom data context class that inherits from the forum data context, and then just adds my own custom dbsets.

If you have different needs for back-up etc., this can of course be a problem.