web application ???
I have written a program using C#. It is almost finished.
My professor asked me to put it on the web so the other students could test it.
the problem is:
I have absolutely no idea how to do so :(
The only thing that I know is:
"there should be an ASP.net web application" but
I dont know how to create one, how to add my code to it and how to ...
I would be so thankfull if you introduce me a good tutorial, example or ....
I use visual studio 2008.
doesnt any one know how I should start this?
please.... ,I really need help :(
Are you sure your professor didn't just mean to dump the code and/or executable on the web so people could download it and try it for themselves?
You can't just magically convert your console/winforms app into an ASP.NET app. Here: Creating ASP.NET applications
I am sure she asked me to put it on the web in a way that the other students can test it using an IE.
I heard one of the previous students had done it last term. I am trying to get in touch with her.
I will share the solution if I find any :)
QFT. WPF apps have a marginal chance of converting over to Silverlight with a minor amount of hassle, but that's about it.
Originally Posted by itsme86
The program is on the web to be tested :D
Here is the solution:
1-In an ASP.Net web application
1-1- Add the C# project to the solution
1-2- Add the C# project to the references
2-In the default page of the ASP.net application
2-1- write the HTML code to design your page
2-2- add "using [namespace of the c# project]" at the top
2-3- call the main function of the c# project inside the ASP.Net code for example in a button click part
3-publish the ASP.Net code
4-put everything (the published code,databases and ....) on the server. just becarful about the addresses in the code.
They should be the same as the addresses in the server.