PDA

View Full Version : Newbie problems and questions


datawiz1
08-22-2004, 02:45 AM
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

bruce
08-23-2004, 04:54 AM
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.


[b]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

datawiz1
08-23-2004, 05:55 AM
When you change something, do you rebuild on the local machine, and then copy again?

datawiz1
08-24-2004, 06:06 AM
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!)

bruce
08-24-2004, 10:52 AM
what i would do is?

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



[b]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