Click here to Skip to main content
15,032,967 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a website name as www.xyz.com which i made using C# code..
it run online and work very well.......

Now My need is Create a Application Which run on Local PC,and i also create Setup for install the application,

I want that application have Same Functionality and Design Like my Website..


So my Question is....
1. There are any Trick to directly convert website to application or Setup for Local PC use ?
2. or i made full application again and copy necessary code from my asp.net Website.. ?
3. Same code which work in WebSite also work in Web application ???



Plz give me Some Ideas...

[EDIT]: Website link removed
Posted
Updated 20-Jun-14 1:40am
v3
Comments
Thanks7872 20-Jun-14 2:22am
   
Your website name doesn't help anyone providing solution to the problem.

   
Comments
Valery Possoz 20-Jun-14 15:25pm
   
A web application is not a desktop application? Can you explain what is the reason to do this conversion?
Hello,

It is not straight forward to convert a ASP website to a desktop application! Actually you may need to rewrite all of it!

BUT there is a trick you could use...

Instead of rewriting your website you could write a little winform or wpf application that uses the webbrowser control.
http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser(v=vs.110).aspx[^]

Then use a webserver like CassiniDev to run your website locally on the device.
http://cassinidev.codeplex.com/[^]

That should do the trick! you get your website running locally on your device inside a desktop application. You can make the UI of your desktop app as complicated as you wish and if you carefully work on your site CSS you could make the site look like if it is a desktop app.

Hope it helps.

Valery.
   

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