I'm trying to follow along with the tutorial step-by-step, but there are a few problems. The initial migration can't be created for the API. The error message is:
Unable to create an object of type 'MovieTrackerContext'. For the different patterns supported at design time, see go.microsoft.com/fwlink/?linkid=85...
I'm assuming that this is because the tutorial doesn't contain any instructions for setting up a connection string (or even installing/configuring the DB environment).
Hi Dan,
My bad! I kept the repo private on GitHub. Now it's public and accessible.
Can you share with me more log errors for the context issue you are facing?
As for connection string, it is mentioned in the article that I am using an SQLite and the connection string is simply the name of the database file stored locally.
Let me know if you have any other issues or concerns.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm trying to follow along with the tutorial step-by-step, but there are a few problems. The initial migration can't be created for the API. The error message is:
Unable to create an object of type 'MovieTrackerContext'. For the different patterns supported at design time, see go.microsoft.com/fwlink/?linkid=85...
I'm assuming that this is because the tutorial doesn't contain any instructions for setting up a connection string (or even installing/configuring the DB environment).
Also, the URL for the Github repo is invalid.
Hi Dan,
My bad! I kept the repo private on GitHub. Now it's public and accessible.
Can you share with me more log errors for the context issue you are facing?
As for connection string, it is mentioned in the article that I am using an SQLite and the connection string is simply the name of the database file stored locally.
Let me know if you have any other issues or concerns.