Optimize and increase the debugging speed by 20 times, move temporary ASP. NET files to the memory disk

Source: Internet
Author: User

1. What is Temporary ASP. NET Files?

Temporary ASP. Net Files is locatedC: \ WINDOWS \ Microsoft. NET \ Framework \ v2.0.50727 \ Temporary ASP. NET Files(Default), used to save the relevant files when debugging the Web Application program, you can now open it immediately to see how many files in this directory and how much disk space is occupied.

2. Why is this directory optimized?

When a Web Application project reaches a certain scale, it takes some time to generate and write these files, but these times are indeed wasted. Therefore, the goal is to reduce unnecessary time losses. One inch of time, one inch of money!

3. How to optimize it?

A. When using A memory disk, only the memory read/write speed in the computer is the fastest, and the memory can only be used for time.

Install RamDisk, see http://hi.baidu.com/atomsoft/blog/item/423416f3da318fce0b46e05f.html

To register a machine, please email: 5241307 (QQ. Com) QQ mailbox

B. After the memory disk is installed, set the Temp directory of the Debug output to the path of the memory disk, instead of using the preset Temporary ASP. NET Files.

Modify

<Compilcation debug = "true"> This is generally the case.

Change to <compilcation debug = "true" tempDirectory = "R: \">

Retain the original attributes and add a new tempDirectory to specify the path of the memory disk

 

4. What is the significance of optimization?

Assume that debugging saves 2 minutes and debugging is performed 15 times a day.

1 day saved 2*15 = 30 minutes

January (22 working days) saved 22*30 = 11 hours

If a team has 10 members, a total of 110 hours can be saved and 14 person-days can be saved.

5. WinForm Program

The Winform program can also be used. By modifying the configuration to direct the output to the memory disk, compilation and debugging speed can be improved.

6. Extend the topic

A. the ROI is shown in the figure below.

 

When selling software, we will show the customer such a computing table. However, many software companies have not improved themselves. For example, OA platform or collaborative office.

However, the office in your company is still sent via Excel email.

When selling software products, it is more important to improve your own.

B. Profit

One Dream, Only Money. The Only Dream of all companies (except state-owned enterprises ). The survival and money of an enterprise or organization are the most important.

Reasonable Throttling is the best option if it is not open-source. By improving the Unit's work efficiency, you can create greater competitive advantages.

7. That's All

Write it here, and do not extend it. I can't extend it any more.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.