Deployment Issues

  • Thread starter Thread starter Don Wash
  • Start date Start date
D

Don Wash

Hi There!

I'm just wondering what are the deployment issues with ASP.NET (VB.NET) ?
How do I deploy them to my hosting server? Do I just upload the dll files in
the \bin directory or do I also upload the corresponding aspx files? What
about the Visual Studio .NET project files?

One issue I've came across is that when I move projects between computers or
download samples off the Net, I need to re-compile the projects in-order to
make them run properly. If that's the case, how do I recomplie them when I
upload them onto my web host? It seems impossible. But there sure got to be
a way for it. Please advice.

Many Thanks,
Don
 
I'm just wondering what are the deployment issues with ASP.NET (VB.NET) ?
How do I deploy them to my hosting server? Do I just upload the dll files in
the \bin directory or do I also upload the corresponding aspx files? What
about the Visual Studio .NET project files?

Investigate the "Copy Project" function.
One issue I've came across is that when I move projects between computers or
download samples off the Net, I need to re-compile the projects in-order to
make them run properly. If that's the case, how do I recomplie them when I
upload them onto my web host? It seems impossible. But there sure got to be
a way for it. Please advice.

There's no need to recompile. However, you may need to make some
modifications to your Web.config file if it contains pointers or paths to
resources on your development machine which reside in different locations on
the deployment server.
 
Don,

Right click your solution and click "Build"

That will build your dll files.

Then copy your dll files to the webroot/bin folder and copy all of your
aspx, ascx etc files to the webroot/folders.

The server will recompile everything for you.

TPS.
 
Hi!

Thanks, for the reply.

After I've copied everything onto the server (aspx, ascx..etc) and if i
change something in the one of the apsx files on the server, do I need to
recompile them manually or does IIS do it automatically?

Thanks again!

Don
 
Hi Don,

You won't need to recompile the application unless you change something in
one of the code-behind files (i.e. the VB.NET code in your case) If you are
just changing the content of the .aspx files then this gets picked up
automatically and recompiled on the fly by the .NET Framework.

If you change something in one of the code behind files then you should
recompile the application on your development box and overwrite the dll
file(s) on the server with the new versions, along with any .aspx files you
may have changed in the process.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top