Solved

Visual Studio C# App to Web

Posted on 2011-10-21
11
334 Views
Last Modified: 2013-12-16
Is it possible to get a C# application to run on the Web?  It is a simple revenue calculator developed as part of a lesson on how to use C#.  It is very basic.  

The MS Studio project has been zipped and can be downloaded from here >> https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B5Gg6c9aeywQMWJiM2ZiNGYtY2FkZi00YzcwLWE1NzItZGYwMzEwODRiNWI5&hl=en
0
Comment
Question by:rtod2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
11 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 37011436
Is it possible to get a C# application to run on the Web?
Can you clarify what you mean? Run it embedded in a web page? I don't believe so. Reuse the code in a new web project? Certainly.
0
 

Author Comment

by:rtod2
ID: 37011449
The project I reference for example.  How can get it to run on my wordpress site for instance?
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 37011945
I don't have any experience with Wordpress, so I'll have to defer. Sorry  : \
0
Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

 
LVL 4

Expert Comment

by:fritzfrancis
ID: 37019151
I am not sure what you mean by having C# run on the web. But if you mean have C# run like JavaScript, then the answer is no. If you mean, have a user download your C# assembly and run it, then the answer is yes. You can use ClickOnce for that. Lastly, if you mean run your assembly as a Java applet, then answer is yes again. You can run your app as a Silverlight app. Regardless, you may want to clarify what you mean by "run on the Web".
0
 

Author Comment

by:rtod2
ID: 37033736
Fritz, Thank you!

MEANING OF RUN:
1. Download and Run Local - Use ClickOnce to develop this solution.
2. Run as Java applet - yes?
3. Run as Silverlight app - yes?

Am I restating these possibilities correctly?

If so, then it seems like Java might be my best solution.  I do not want to run local.  I did mean run as a web app.  So that pretty much leaves Java if I wanted to make it available to the widest audience.

How would I run it then using #2 as the definition of RUN?
0
 
LVL 4

Expert Comment

by:fritzfrancis
ID: 37035975
If you are using Java, then you would create a Java applet - if that technology still exists. I don't really follow Java. Oracle may have supplanted the applet with a newer technology. If you are using .NET, then the equivalent of a Java applet is a Silverlight application. Lastly, you can also use Flash.
0
 

Author Comment

by:rtod2
ID: 37035994
Yeah, I don't want to re-develop the app.  That's the whole point of the question.
0
 
LVL 4

Accepted Solution

by:
fritzfrancis earned 500 total points
ID: 37038601
Then your only choice is ClickOnce and it won't run in the browser. If you have exposed the logic of your app in a class library, then you can create a REST layer that consumes the class library. Then you can create a web application in plain HTML and JavaScript/jQuery.
0
 
LVL 4

Expert Comment

by:fritzfrancis
ID: 37038614
Lastly, maybe someone has created a Windows to Silverlight converter tool. I doubt it though.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
c#, case, if 4 37
Increase image taller on inner pages 2 48
Wordpress Responsive Web design and iPads 11 38
Make borderless form movable by user 2 25
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question