Windows Application to Web Application
Posted on 2012-09-09
I currently have 2 apps for a customer service system.
A server app which runs a WCF service and contains the business logic, stores data to sql server for reporting, etc..
A client app, run on several PCs, which is used by all service agents for logging service info and monitoring service statistics (e.g. total clients).
Now, I am thinking of developing a web app version of the client app so that it will be platform independent. But since I have zero experience on ASP.NET, I am hoping somebody give me an overview on how to do this.
1. Do I create a single global connection from the web server to the WCF server (if that is possible) and keep it connected all the time? Or do I create a new WCF client for each "client/user"?
2. In the orig app, I use callbacks to all the client apps to notify the client of any updates (on the statistical data). Is this also possible in ASP.NET or do I create a timer to regularly check updates from the web server?
3. Since the users and roles are handled by the WCF server, the authentication will also be done on the WCF server. How will the WCF server keep track of which users are already authenticated? Through the sessionID?
P.S. I just need an overview on how the web app should work. I can ask the details (codes) on another question later.
I am a complete newbie on ASP.NET so feel free to correct me on any misconceptions I might have.