Solved

Visual Studio C# App to Web

Posted on 2011-10-21
11
330 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 74

Expert Comment

by:käµfm³d 👽
Comment Utility
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
Comment Utility
The project I reference for example.  How can get it to run on my wordpress site for instance?
0
 
LVL 74

Expert Comment

by:käµfm³d 👽
Comment Utility
I don't have any experience with Wordpress, so I'll have to defer. Sorry  : \
0
 
LVL 4

Expert Comment

by:fritzfrancis
Comment Utility
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

by:rtod2
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Lastly, maybe someone has created a Windows to Silverlight converter tool. I doubt it though.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Transferring a wordpress site from a host or local dev server to another host can be a pain. So I've included my steps on how I have accomplished this task. Steps include an assumption that you have Cpanel access or Ftp access.. If you do not hav…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
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 purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…

771 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