Thread: web application ???

  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    183

    Question web application ???

    Hello,

    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.


    thank you
    Arian

  2. #2
    Registered User
    Join Date
    Nov 2003
    Posts
    183
    Hello

    doesnt any one know how I should start this?
    please.... ,I really need help

  3. #3
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,218
    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
    If you understand what you're doing, you're not learning anything.

  4. #4
    Registered User
    Join Date
    Nov 2003
    Posts
    183
    No,
    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

  5. #5
    Anti-Poster
    Join Date
    Feb 2002
    Posts
    1,401
    Quote Originally Posted by itsme86 View Post
    You can't just magically convert your console/winforms app into an ASP.NET app.
    QFT. WPF apps have a marginal chance of converting over to Silverlight with a minor amount of hassle, but that's about it.
    If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein

  6. #6
    Registered User
    Join Date
    Nov 2003
    Posts
    183
    Done!
    The program is on the web to be tested

    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.

    Arian

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using a Web Browser within your Linux Application
    By CaptainRon in forum Linux Programming
    Replies: 7
    Last Post: 12-21-2006, 08:22 AM
  2. C Web Application - Cookie Management
    By mrpickle in forum C Programming
    Replies: 0
    Last Post: 02-23-2004, 06:32 AM
  3. Updating an application at run-time via the web.
    By Unregistered in forum C++ Programming
    Replies: 7
    Last Post: 03-09-2002, 06:06 PM