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 8820711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:40:34+00:00 2026-06-14T05:40:34+00:00

Background In an ASP.NET site, I’m using a code documentation tool called Nocco .

  • 0

Background

In an ASP.NET site, I’m using a code documentation tool called Nocco. Nocco is a command line tool that you explicitly run on a particular code file to output an HTML rendered version of that code and it’s documentation. I’ve currently setup some code in my Global_asax.Application_Start method to crawl through a couple directories and process all the code files in each directory.

Problem

Ultimately, putting it in Global_asax.Applicaton_Start means that it is building the Nocco documentation, which takes ~1 seconds per file, at the beginning of each session – not only once per deployment. This seems inefficient and an ultimate waste of the user’s time while the page is loading.

Question

Is it possible to execute code internal to the ASP.NET application (such as a class method) as a post build event? I know that I could convert this part of my setup to a standalone application or even a batch script, but I’ve had this question for other circumstances as well and have wondered whether or not it’s possible.

  • 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-14T05:40:36+00:00Added an answer on June 14, 2026 at 5:40 am

    You could do your generation in Warm up script, here is the link for IIS 7.5

    http://blogs.iis.net/thomad/archive/2009/10/14/now-available-the-iis-7-5-application-warm-up-module.aspx

    or you can exclude code documentation functionality in separate assembly and include it in standalone app and call it as a external command from project Build events

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

Sidebar

Related Questions

The Background I run an ASP.NET site using Graffiti CMS for a local charitable/service
I have an ASP.Net MVC site that is using CEEBOX to display youtube videos
background: I work on an asp.net web application that is on a company intranet.
Background : I have a asp.net webapplication project that should contain a public and
How can I run FxCop against an ASP.net Web-site? Background I have an ASP.net
I have got an ASP.Net 4 web site. I'm counting visitors at background but
Background: I have a website that has been built with ASP.NET 2.0 and is
We've implemented a background service in our Asp.Net web app that receives messages from
I've been dealing with a legacy asp.net 2.0 web site that was originally setup
I'm developing an ASP.NET MVC 4 commerce site but since my background is in

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.