New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example project not working #141
Comments
I spent a couple hours to get the example project working. I tried to make the routes the same as they were documented previously. I had to make some changes to the SQL files to make them SQLite compatible. While the database itself does get generated automatically, the tables do not. It looks like the project was using DbUp previously to populate the database. As DbUp is no longer included, the SQL now needs to be run manually before testing. I'll open a PR in a few minutes. Two oddities I noticed and cannot explain:
|
After further testing, I think the JsonHalMediaTypeInputFormatter issue is indeed a bug in the main project. I've opened #143 to fix this. |
Update example project to fix #141
My team is currently migrating to .Net Core and have started testing the latest build of this project as it targets .Net Standard. During testing I found that the included example project does not work out of the box.
Related issues:
Most of the problems seem to stem from the move from SQL Express to SQLite which happened when the main project was updated to target .Net Standard.
There may be more related issues I haven't seen as each successive issue was found after fixing the previous one. I haven't yet solved the SQL query exceptions.
If someone could verify these are actual problems and not caused by me misusing the example project, that would be appreciated.
If I manage to get it working locally I'll open a PR with my changes.
The text was updated successfully, but these errors were encountered: