Newbie problems and questions

Discussion in 'Visual Studio' started by datawiz1, Aug 22, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Maybe these are stupid questions. Can you "run" a project from the web so that you can debug it (step through it). Or do you need to make changes to the project on your local computer and then copy the project again after you have made the changes. I'll rephrase the question: Can you develop directly on the web with visual studio.net or is that going against the "server running the pages" in active server pages?

    I have done a course on vb.net, and read 2 books on ado.net. I have perused about 15 books on asp.net, and done a couple of the microsoft quick start tutorials. There are no true beginner books I've found for asp.net. They all expect you to be versed in asp and building web sites.

    I have probably created about 15 web projects on my machine against sql server and an as400 db2 database, but they have all been run only on my "local" web server. All of these projects work perfectly. I bought space on DiscountAsp.net so I could get some experience with deploying these projects, and maintaining them for changes.

    How do you make changes to pages on the website? No chapter I've read on deployment tells you what to do. Do you develop on your local machine and then copy each time you make a change? You have to change the connection string before copying because the db server on the web server is different from the db server on the local machine. How can you debug a connection string on the server?

    Sorry, this is so long. I'm about at the end of my rope. I have several upcoming projects that will be requiring asp.net pages.

    Thanks
    Penny
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    You cannot "debug" with VS.net over a WAN connection.

    In general, the best practice we recommend is to develop on your local machine and use the Copy Project Feature (Copy just necessary files) to our server.


    quote:Originally posted by datawiz1

    Maybe these are stupid questions. Can you "run" a project from the web so that you can debug it (step through it). Or do you need to make changes to the project on your local computer and then copy the project again after you have made the changes. I'll rephrase the question: Can you develop directly on the web with visual studio.net or is that going against the "server running the pages" in active server pages?

    I have done a course on vb.net, and read 2 books on ado.net. I have perused about 15 books on asp.net, and done a couple of the microsoft quick start tutorials. There are no true beginner books I've found for asp.net. They all expect you to be versed in asp and building web sites.

    I have probably created about 15 web projects on my machine against sql server and an as400 db2 database, but they have all been run only on my "local" web server. All of these projects work perfectly. I bought space on DiscountAsp.net so I could get some experience with deploying these projects, and maintaining them for changes.

    How do you make changes to pages on the website? No chapter I've read on deployment tells you what to do. Do you develop on your local machine and then copy each time you make a change? You have to change the connection string before copying because the db server on the web server is different from the db server on the local machine. How can you debug a connection string on the server?

    Sorry, this is so long. I'm about at the end of my rope. I have several upcoming projects that will be requiring asp.net pages.

    Thanks
    Penny






    </blockquote id="quote"></font id="quote">

    B.

    DiscountASP.NET
    http://www.DiscountASP.NET
     
  3. When you change something, do you rebuild on the local machine, and then copy again?
     
  4. Thank you, Bruce.

    I finally got something working. You really helped me. I was able to fix errors several times (after I figured out the web.config file), modify on localhost, rebuild, and copy. I am now copying only the files needed since I will be developing on localhost.

    Thank you for taking the time to answer me.

    I was finally able to create a login page which uses form authentication to validate a user against my sql server. (At last! - I think I'm on my way now!)
     
  5. Bruce

    Bruce DiscountASP.NET Staff

    what i would do is?

    Update your application on the local computer
    Test it throughly
    Build
    Copy Project



    quote:Originally posted by datawiz1

    When you change something, do you rebuild on the local machine, and then copy again?


    </blockquote id="quote"></font id="quote">

    B.

    DiscountASP.NET
    http://www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page