Forum Moderators: open

Message Too Old, No Replies

Deploy ASP.net site to remote web server

What is the best way to achieve this

         

Red_Eye

3:35 pm on Mar 5, 2004 (gmt 0)

10+ Year Member



Up till now I hav coded useing PHP and MySQL. To update these sites I simply ftp'ed the new files to the server.

Whats the best way of doing this with asp.net?

txbakers

3:50 pm on Mar 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



no different

korkus2000

4:57 pm on Mar 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are you using visual studio.net?

fperkins

12:09 am on Mar 6, 2004 (gmt 0)

10+ Year Member



For my personal website, I use: [cyberkiko.com...]

Works great and if you like it, it's only 5 bucks to register.

Red_Eye

11:37 am on Mar 8, 2004 (gmt 0)

10+ Year Member



Yes I do have Vs.Net. I know that all l have to do is copy up the contents from my testing server to the web host. But this will copy all of my classes and code behind. This has 2 undesired effect 1 my source code is on a public server (not such a big deal) and 2 it takes up space. As ASP.Net is compiled I know all you need to put up is the apsx page and the contents of the bin folder. Sorry I should have been more clear in my original post.

Thanks for the link but I'm not sure it will do what I want.

MrSpeed

2:12 pm on Mar 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think a surefire method is to create a folder called 'export'. In VS go to Project/Copy Project. Select the the radio button that says "only the files needed to run this application." It's an extra step but there's no guess work.

Some people have this rule of thumb that you can simply copy all of the files that end in 'x'. However you can end up with files that may be in the directory but not in the project. You may also have some ASP pages in the project not to mention CSS .config etc