Last post Sep 05, 2019 06:29 PM by JAYHAWKER
Aug 29, 2019 02:03 AM|JAYHAWKER|LINK
Aug 29, 2019 04:17 AM|ignatandrei|LINK
Aug 29, 2019 07:17 AM|Mikesdotnetting|LINK
You can use Entity Framework, Dapper or plain ADO.NET in your Web API controllers to actually access the SQL Express database. Web API takes care of serialising the data to JSON for you.
Aug 29, 2019 03:15 PM|JAYHAWKER|LINK
Thanks Mike, it has been a while since I have been back at this, but once again you are the best!
I assume I should use core for the API, right? For example, in VS 2017, I would use ASP.Net Core Web Application vs ASP.Net Web Application (.Net Framework).
Aug 30, 2019 06:31 AM|Mikesdotnetting|LINK
Yes, I would recommend using .NET Core for new projects.
Aug 30, 2019 05:28 PM|JAYHAWKER|LINK
Is there a favorite sample/tutorial you have? A full example, pretty easy to follow that steps all the way through?
Sep 02, 2019 10:21 AM|samwu|LINK
The tutorial link has been provided above.
Create web APIs with ASP.NET Core
you can also refer to this link:
Creating Web API in ASP.NET Core 2.0
Sep 02, 2019 01:45 PM|JAYHAWKER|LINK
Thanks Sam, that is what I was looking for.