Click here to Skip to main content
15,038,237 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
can we convert a c# desktop project to a asp.net website.
Posted
Comments
Shahin Khorshidnia 14-Feb-12 11:19am
   
Do you mean every Desktop projects?

1 solution

There is no such conversion. Hopefully you can reuse some pieces of code, but only if you have valuable parts of code fully isolated from UI. Many other techniques won't work for a Web application, such as threading.

Web application model is very limited due to limitations of HTTP. All the life cycle of your process goes between a single HTTP request and HTTP response. No objects are shared between such executions; you will need to use state management. HTTP protocol itself is totally stateless. Are you getting now, how far all this is from the normal desktop programming?

—SA
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900