locked
How to use a ASP.NET web service in a remote server

    Question

  • Hi everyone,

    I am developing a Windows store app which uses a ASP.NET web service with WCF data service that connects to a MSSQL server using ADO.NET entity data model, however I cant figure out how to use these services to connect remotely to a database, how can I import this project files to a web host? im not sure if I am being clear enough but what I really mean is that I want to make this project work remotely instead of locally only, since IIS server only works when I have my visual studio opened,i want to actually make this login service work remotely so when I access the login area from two different computers using the same app ,they can communicate to a remote server database and then it sends back a successful message to the users..cause the connection string is created locally therefore in the web.config file is configured to connect only locally,and since I don't understand much of web services that's why I came to this forums, I don't even know about a free web host that supports MSSSQL files and ASP.NET and not even sure if it must also have support for WCF data services, im pretty much unaware of how these things work, the thing is im creating an online mini game that uses StreamSocket to communicate between the machines, its all implemented , the players, the chat ,options pane,metro buttons,toast notifications , everything is working as expected the only problem is the login area which I don't know exactly how it works remotely, locally it works fine but that's not the desired result..if needed I can post parts of the code , the web.config file etc..

    I hope I was able to convey the information properly for what I need to know!
    Thanks in advance,

    C# user


    • Edited by MrDebugging Wednesday, February 19, 2014 8:09 PM
    Wednesday, February 19, 2014 7:57 PM

Answers

  • Hi MrDebugging,

    It will be much easier to understand what you are asking if you'd use separate sentences and paragraphs.

    That said, I think that you have the Windows Store side of this working but need help with ASP.Net. You'll be better off asking ASP.Net questions on the ASP.Net forums.

    --Rob

    Wednesday, February 19, 2014 9:06 PM
    Owner

All replies

  • Hi MrDebugging,

    It will be much easier to understand what you are asking if you'd use separate sentences and paragraphs.

    That said, I think that you have the Windows Store side of this working but need help with ASP.Net. You'll be better off asking ASP.Net questions on the ASP.Net forums.

    --Rob

    Wednesday, February 19, 2014 9:06 PM
    Owner
  • Hi Rob,

    First of all i apologize for the lack of spaces, paragraphs and for all the sloppiness above, the thing is I did it in a hurry which it does not justify it anyways..ok that being said, I appreciate for pointing me to the right direction, thanks for that , I will ask it there a little more elaborate this time lol!

    Kind regards,

    C# user

    Wednesday, February 19, 2014 9:31 PM