how to get data from database to display on app

Jane_NatalieJane_Natalie Member ✭✭✭

i followed a tutorial and have set up an web api that is connected to my database and can /get info, but how do i get the info from my database to my app? do i have to use the api link www.azurenamething.com/api/thing??

Best Answer

Answers

  • Jane_NatalieJane_Natalie Member ✭✭✭

    another question you probably know the answer to: how do i encrypt the web.config file where my database connectionstring with login password is? @JamesLavery

  • JamesLaveryJamesLavery GBBeta, University ✭✭✭✭✭
    edited December 2018
    > @ThankYou said:
    > another question you probably know the answer to: how do i encrypt the web.config file where my database connectionstring with login password is? @JamesLavery

    Are you referring to a file on the device or on the server?

    *Edit*

    The reason I ask is because the client solutions for accessing the API from the device generally don't use web.config.

    If this is the server-based web.config, then it should not be encrypted. It should be protected by firewall/access control on the server itself.
  • Jane_NatalieJane_Natalie Member ✭✭✭
    edited December 2018

    a file on the device @JamesLavery but i now realize that i should store the connectionstring up in the server and not on the device. thank you

Sign In or Register to comment.