Database file required

  • 34 Views
  • Last Post 4 weeks ago
SimiyonAmulraj posted this 5 weeks ago

Hi Team,

I downloaded MVC forum Source code but i want to know about the database location to customize the forum according to my requirement. I can see the MVCForum.sdf in web.config but i couldn't find it anywhere in the application. Please provide your support on this.

 

Thanks,

Simiyon A

Peddev posted this 4 weeks ago

I don't think you would (should) do customization directly on the database itself. It uses code first migrations to setup and make changes to the database. If you make your changes in this way then if you ever need to change to a different db in the future everything will be setup as you need it automatically. 

I've not actually made any changes to the data structure myself so I'm afraid I can't give you detailed instructions on how to do this but there is some documentation on it here:

https://github.com/YodasMyDad/mvcforum/wiki/Entity-Framework-(Extending)

  • Liked by
  • YodasMyDad
Close