As discussed in this thread, Entity Framework Code First is suited for a development environment. So, what steps or changes need to be made to an Entity Framework Code First application to move it over to Production?
- Migrate database to production server.
- Change the connection string in Web.config
Any changes needed to the DbContext initialization to keep it from monkeying around in a production environment? (Or will it stay out of trouble since the database schema is correct from the migrated database?) Anything else to do?
There’s no real tricks specific to ef-code first. It’s the same things you would need to do to move any DB, using any ORM from test to prod.
Your steps above seem to cover 95% of what needs to be done (I’m leaving 5% open in case there’s something I forgot 🙂 )