Solved

Visual Studio C# App to Web

Posted on 2011-10-21
11
332 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
  • 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

816 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now