Hello All! Not sure if this is the correct forum to ask this, so if not, please let me know and I will have it changed. I have created an API for my website that Godaddy hosts on a dedicated server. I have Wordpress installed and it's on a Linux server. I created the API in Visual Studio 2015 Community and ran tests on my local PC and it works as expected. Now, I need to put it online so I can test. I am planning on having it in my WPF desktop program that when the user clicks a button it will call the API and return the result. This API will check a database to see if the license code is there and if not already used. Currently, I have static code that will return a value and not connected to the database yet. My question: Where on my website do I put files and what files go on the website? Also, how do I find out what the actual URL will be for my button click to call the API? Thank you in advance
Member 12719658
Posts
-
Adding API's to website -
Winforms VS 2015 Community with encrypted SQLiteHello All, I am building a C# windows app using SQLite database. I built the database in DB Browser SQLite. I used the built in SQLcipher that comes with the new version of SQLite and added a password (testing123). Once I created a datasource in VS 2015 Community I used the wizard to browse to the database and supplied the password to add the database to my project. When I click the Test Connection it says everything is fine. However, when I expand the database in the datasource pane of VS I get an error that says something about File is encrypted or is not a database, even though the password is in the connection string in the Apps settings of the VS project. If I do not encrypt the database in DB Browser SQLite everything works fine. Also, if I create the database file as a new database in VS and put in the password upon creation VS allows the file to be encrypted and opening up in SQLite I must supply the PW to connect, however, after I build the database tables and put back in VS it does connect any more. Does anyone have any advise and do I need SQLcipher in my project to decrypt the database? If so, where would I get this and how do I use it? I do not have code since this is design time and I haven't even started to code since all I am doing is attaching the database and trying to navigate in the datasource to see my tables.