Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8386353
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:54:47+00:00 2026-06-09T17:54:47+00:00

When I deploy an ASP.NET project to the server which contains many ASCX files,

  • 0

When I deploy an ASP.NET project to the server which contains many ASCX files, the first page load can take a while presumably because the ASCX files are being compiled. Only the ones that are actually on the page are compiled though, so part of my deployment process is to navigate to a bunch of pages on the site. Once all pages have been navigated to, the site operates smoothly.

I would rather that ASP.NET compiles all those ASCX files immediately when I deploy, to remove this sloppy deployment step.

What is the best way to accomplish this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T17:54:49+00:00Added an answer on June 9, 2026 at 5:54 pm

    Sounds like you’re looking for ASP.NET Precompilation:

    You can precompile a Web site project before it is made available to
    users. This provides many advantages, which include faster initial
    response time, error checking, source-code protection, and efficient
    deployment. This is particularly important in large sites where there
    are frequent changes in Web pages and code files.

    You can also compile a project by using the Web application project
    model. In that model, all code files (standalone, code-behind, and
    class files) in the project are compiled into a single assembly and
    stored in the Bin directory. Because compilation creates a single
    assembly, you can specify attributes, such as assembly name and
    version. You can also specify the location of the output assembly if
    you do not want it to be in the Bin directory.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Which is the best way to deploy an asp .net 3.5 project? I have
While trying to deploy a simple asp.net mvc project on an IIS 6 server,
I'm working on a Web project using Asp.Net MVC, which I'll have to deploy
Is it possible to deploy asp.net mvc project on IIS server without installing of
I'm going to deploy an ASP.NET MVC project on IIS (6.0 & 7.5) but
i'm getting the below error, When compiling the Asp.Net web deploy project Could not
If I just deploy Siverlight application (eithre ASP.Net page or Html page uses XAP
I am trying to deploy an ASP.NET 3.5 Web Application to my production server
I have a TFS build set up to deploy an ASP.net project to a
I am starting a new project using C# and ASP.NET 3.5 with SQL Server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.