placing my application on the internet [modified]
-
Hi. I have a desktop application that I want to load on the internet or just its database. I really have a vague understanding on how web service works other than your application being loaded on the web. My goal is to retrieve data from the internet instead of a direct connection in a wifi connection. I was asked to load the data on the internet before being retrieve by the user. Can someone tell me how I can migrate my desktop application to the web? What I would need? What I have to do? Do I have to recreate my application again if I'm going to place it on the web (It would be a hassle)? In simple terms, the client (PDA phone) retrieves data from the internet, then sends information to the server (desktop app) but must go through the internet. So basically. Instead of a direct wireless connection from wifi, we are required to add the internet as a bridge of communication between the two. P.S. - By the way, it doesn't necessarily have to be used by a certain webhost. Using localhost would be just fine with me, as long as it can connect via wifi. I really really need your help for this. Thanks!
modified on Wednesday, November 19, 2008 7:17 AM
-
Hi. I have a desktop application that I want to load on the internet or just its database. I really have a vague understanding on how web service works other than your application being loaded on the web. My goal is to retrieve data from the internet instead of a direct connection in a wifi connection. I was asked to load the data on the internet before being retrieve by the user. Can someone tell me how I can migrate my desktop application to the web? What I would need? What I have to do? Do I have to recreate my application again if I'm going to place it on the web (It would be a hassle)? In simple terms, the client (PDA phone) retrieves data from the internet, then sends information to the server (desktop app) but must go through the internet. So basically. Instead of a direct wireless connection from wifi, we are required to add the internet as a bridge of communication between the two. P.S. - By the way, it doesn't necessarily have to be used by a certain webhost. Using localhost would be just fine with me, as long as it can connect via wifi. I really really need your help for this. Thanks!
modified on Wednesday, November 19, 2008 7:17 AM
The easiest way to do this would be to build an ASP.Net page for the client. I'm assuming the PDA Phone can view webpages, so you'll have to have a phone to test your pages in the phones the browser. Both the web client and Desktop client should get the data from web services. This is actually very easy to set up. You can create one webservice method to do all the work for you. Simply create one service with SQLProcName and SQLParameter array for input and DataTable as result. Should be easy. The trickiest part of web services is securing them. Personally, I don't bother with certificates, just pass a userName and passWord as parameters in your webservice method. If the wrong info is passed, simply don't execute any code. Good luck.
I didn't get any requirements for the signature
-
The easiest way to do this would be to build an ASP.Net page for the client. I'm assuming the PDA Phone can view webpages, so you'll have to have a phone to test your pages in the phones the browser. Both the web client and Desktop client should get the data from web services. This is actually very easy to set up. You can create one webservice method to do all the work for you. Simply create one service with SQLProcName and SQLParameter array for input and DataTable as result. Should be easy. The trickiest part of web services is securing them. Personally, I don't bother with certificates, just pass a userName and passWord as parameters in your webservice method. If the wrong info is passed, simply don't execute any code. Good luck.
I didn't get any requirements for the signature
I see. I'm sorry but I'm very new to ASP.NET, and I can't seem to understand what you meant by a service with SQLProcName and SQLParameter. I have scanned a few tutorials and few ebooks but nothing seems to lighten me up. And also, I tried to create a webservice, added a windows form, and I tried to test run it but I get an error message like this: "Windows start service failure: ---------------------------- Cannot start service from the command line or debugger.A windows service must first be installed (using installutil.exe) and then started with the server explorer, Windows services Administrative tool or the NET START command. " -------------------------------- :(