Click here to Skip to main content
15,884,425 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
I already have a c# app, and want to export this app to html code.
I was wondering if someone can help me with this requirement.
Thanks.

What I have tried:

I have been looking for an option to export my original c# code to html, but haven't been able to find one.
Posted
Updated 19-May-17 10:19am
Comments
[no name] 19-May-17 13:49pm    
C# != HTML. Might be really helpful if you explained what you are really trying to do.
Member 10850253 19-May-17 13:55pm    
I made a file explorer in c#, with many commands, but now I want to be able to use that code and convert it to html, so I can use it as a web based app.
ZurdoDev 19-May-17 14:02pm    
Not a chance.
[no name] 19-May-17 14:12pm    
If that is what you are really trying to do, you should go back the beginning and learn some fundamentals of programming.

You cannot "export an app" to HTML. There's no such concept. If you want to convert the app to a web application (runs on a web server) you will more than likely have to rewrite it from scratch.
 
Share this answer
 
Quote:
I already have a c# app, and want to export this app to html code.

There is no such concept. The most obvious reason is that html is not a programming language. For anything not static, you need to use another language, either on server side, or on client side.
Quote:
I made a file explorer in c#, with many commands, but now I want to be able to use that code and convert it to html, so I can use it as a web based app.

A vigger problem is that a web application don't have access to client file system, it is a matter of security.

If the export was possible, even without changing the language, it would be like changing the framework used in your app, you would have to rebuild all the GUI because the components are different. And this can't be automated.
 
Share this answer
 

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