Basic Entity Framework REST api and a vb client using the api.
https://www.hanselman.com/blog/DevelopingLocallyWithASPNETCoreUnderHTTPSSSLAndSelfSignedCerts.aspx
- Press F5
- 2 projects will run. The api project and the client project. The swagger page is the documentation of the api and you can interact with the API on teh swagger page. The client application will generate sample movie records if none exist.
- I did not implement update, delete, add functionality. I leave that to you to try to figure out. You could handle grid events and call the right API to get it to handle the right actions. PUT=Update, POST=create.
- I did not implement api status checking. You can check the resposnse object and see if the resposnse is good or is in error. Read up on RestSharp to figure out how.
- Usually you don't map ef models straight to your API model. You can use AutoMapper to map between your EF models and what you want to expose in your API models.