Excecute migration is disabled while i publishin on azure RRS feed

  • Question

  • I need a help i am a developer want t publish a application in made in mvc using code first migrations . i am also using a repository pattern .
    Execute  code first migrations on application start is disabled . using a repository my migrations are on another layer database layer on my web layer i didnt have any sort of migration added .
    Tuesday, October 22, 2019 7:25 PM

All replies

  • Hi shanii22, 

    Thank you for posting here.

    Could you please tell me which azure service you have used now? App service or VM?

    Could you please tell me how you published your application to the remote server? By using Visual studio or command line?

    If possible, please capture your publish settings or the command-line to me to test.

    We are waiting for your update.

    Best Regards,

    Xingyu Zhao

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, October 23, 2019 9:32 AM