Visual Studio 2005 web site compiled?

Discussion in 'ASP.NET 2.0' started by Roland, Aug 9, 2007.

  1. Hi,

    I am looking at hosting my sites with DiscountASP.

    It appears that from what I have read, I cannot upload .cs files. Is this true?

    If that is correct... how doI compile my web sites?
    I have not done that since .NET 1.1

    Thanks,
    Roland
     
  2. I'm not sure where you read this but we do allow code behind files on our servers.

    I'm not sure what you mean by 'how do I compile my web sites'.

    Do you mean pre-compile or just uploading your site to our servers?
     
  3. Thanks.


    Under the FAQs - Presales


    I found the following:
    Do you support ASP.NET applications that use Codebehind?




    The information in this article applies to:


    <!-- START INFORMATION APPLIES TO -->
    • Microsoft ASP.NET
    • Codebehind
    <!-- END INFORMATION APPLIES TO -->


    Details
    <!-- START DETAILS -->Yes. You will have to upload the following files to your account, then your Codebehind application should function.
    • *.aspx
    • *.asmx
    • *.dll (into the /bin directory)
    • web.config


    As you can see there is no mention of .cs files which would be the codebehind files.


    Hence, I took from this that the site had to have a DLL. Meaning that the site would need to be compiled.


    Perhaps I misinterpreted the ASP.NET application to mean an ASP.NETweb application (web site), and not a VS2005 project or a VS2003 project.

    Thanks again for the reply
     
  4. Please elaborate what .Net framework your are specifically referencing to and what method are you using to publish/upload your web application to our servers.
     
  5. Not sure how to answer this...

    This is the ASP.NET 2.0 Forum.
    My question relates to the uploading of ASP.NET 2.0 WEB SITES developed using VS 2005.
    The model of choice for me is using a codebehind file.

    So before I comit to using DASP, I need to be sure it suits my needs.

    I have not uploaded any files because I am not a customer yet.

    DASP appears to have everything I am looking for.
    It's nice to find a hosting company that fully supports ASP &amp; ASP.NET and AJAX.

    I hope this answers your questions.
     
  6. Bruce

    Bruce DiscountASP.NET Staff

    With ASP.NET 2.0, you can either use precompiled, code seperation (.cs / .vb files in the app_code directory), or inline code.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     

Share This Page