Problem with publishing framework app to azure BadRequest 400

Mikolaj Palacz 6 Reputation points

I created a database in azure sql database and connected it to my api with defaultconnection. I am using identity and my register function works fine on local machine, but after publishing to azure, i get 400 bad request without any error message. Other functions like /token works completely fine. Anyone knows what can cause a problem?

Azure SQL Database
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,040 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mikolaj Palacz 6 Reputation points


    I'm sorry it's occured that i am dumb. I forgot that i added this line of code to my API.

    1 person found this answer helpful.
    0 comments No comments