简体   繁体   English

使用SQLite .NET 4.5创建Web API

[英]Create Web API using SQLite .NET 4.5

I want to create a Web API in .NET Framework 4.5 (hosting enviroment that we are using requires only .NET 4 or 4.5 and not Core) using sqlite database. 我想在使用sqlite数据库的.NET Framework 4.5(我们正在使用的托管环境仅需要.NET 4或4.5而不是Core)中创建Web API。 What is the right way to do implement a web api and connect it to the sqlite database in a way to deploy it directly through plesk? 什么是实现Web api并将其连接到sqlite数据库以通过plesk直接部署的正确方法? Please have in mind that we do not have a dedicated server and we are going to use Plesk to upload the published API. 请记住,我们没有专用的服务器,我们将使用Plesk上传已发布的API。

Thanks in advance 提前致谢

I have already created the api, but I want some help with the creation of sqlite database and use of tables so to deploy it through Plesk. 我已经创建了api,但是我希望在创建sqlite数据库和使用表方面有所帮助,以便通过Plesk进行部署。

Use google and reseach. 使用谷歌和研究。 It's not a single issue. 这不是一个单一的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM