Relative Content

Tag Archive for azureasp.net-coreasp.net-core-mvcmodel-binding

Model Parameter is Null in POST Method on Azure VM but Works Locally

I have an ASP.NET Core application that works correctly on my local machine but encounters an issue when deployed to an Azure Windows VM. Specifically, the model passed as a parameter to the POST method of WeeklyAllocations is null. Interestingly, when I take a backup of the database from the VM’s SQL Server and restore it locally, the application works as expected.