I'm trying to deploy my first ever asp.net core MVC web application to production server. It will be hosted on IIS. I published the application to a folder. My publish settings are as follows:
Target Framework: net5.0
Deployment Mode: Framework-dependent
Target Runtime: Portable
EF Migrations: Apply the migration on publish is checked.
Visual Studio published application to folder without any errors. I copied it server. I can view the homepage of the application from browser.
I've two questions:
I see folders for different languages that contain dll. Since this application is only in English language, do I need to copy all these folders for different languages to server?
I was hoping the EF Core will create table on production server but it didn't. I see a folder called EFSQLScripts which contains a SQL script. How do I run this SQL script and where (on development machine or production server)?