Deploy website on VS Express edition

Last post 06-16-2009 11:41 PM by Thomas Sun – MSFT. 4 replies.

Sort Posts:

  • Deploy website on VS Express edition

    06-11-2009, 10:05 AM
    • Member
      point Member
    • alval1
    • Member since 06-11-2009, 2:00 PM
    • Posts 6

    Hello,

     

    How can i deploy a website with VS Express edition?

     

    is there a release version like the Full VS where no code behind or .cs files are uploaded to the server?

     

    Thanks in advanced for your help.

     

     

  • Re: Deploy website on VS Express edition

    06-11-2009, 10:47 AM
    • Participant
      929 point Participant
    • naspinski
    • Member since 04-25-2008, 5:12 PM
    • Posts 170

    iIf I remember correctly Express does not have a build or deploy option, so you would have to deploy the readable source. This will perform exactly the same (after the first load) as it will be compiled then.  Unless you are trying to hide the code, this will work just fine.

    ...for some reason, most people assume that you can't figure out the incredibly difficult 'Mark as Answer' feature...

    I on the other hand, I have faith in you collective Asp.Net forums!

    naspinski.net
  • Re: Deploy website on VS Express edition

    06-16-2009, 2:05 AM
    Answer

    Hi,

    You can use  ASP.NET Compilation Tool (http://msdn.microsoft.com/en-us/library/ms229863(VS.80).aspx) to precompile it using command line. When we use Visual Studio's Publish utility, it actually invokes that command line.

    For example, Aspnet_compiler -v /WebApplication1

     

    Thanks.

     

    Thomas Sun
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
  • Re: Deploy website on VS Express edition

    06-16-2009, 12:53 PM
    • Member
      point Member
    • alval1
    • Member since 06-11-2009, 2:00 PM
    • Posts 6

     Thank you. that could work. Should we compile on same directory or a different directory? Will these create a bin folder with dll's and no need for code behind? Thanks

  • Re: Deploy website on VS Express edition

    06-16-2009, 11:41 PM

    Hi,

    Thanks for your response.

    I suggest you use compilation for deployment, where a target output directory is specified. With this, you can copy compiled result to server.

    After compiling, there is not source code and the dll will be generated in Bin folder.

     

    Thanks.

    Thomas Sun
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
Page 1 of 1 (5 items)