Click here to Skip to main content
13,199,318 members (44,560 online)
Rate this:
 
Please Sign up or sign in to vote.
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 19-May-17 7:42am
Updated 19-May-17 10:19am
Comments
NotPolitcallyCorrect 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.
RyanDev 19-May-17 14:02pm
   
Not a chance.
NotPolitcallyCorrect 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.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy |
Web01 | 2.8.171020.1 | Last Updated 19 May 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100