In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly explains "how to understand .net precompiled commands". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to understand .net precompiled commands".
Net precompile command
C:\ WINDOWS\ Microsoft.NET\ Framework\ v2.0.50727\ aspnet_compiler.exe -? Show description
The command we need to choose is aspnet_compiler.exe-m IIS Metabase (but how to get the IIS Metabase)
Use IIS resource management tool to download address: http://download.csdn.net/detail/cake_green/6756847 this share of ha, you can also Baidu
Open Metabase and you can find the Metabase address of your website according to the path. OK, now that we have the Metabase address of IIS website, we can precompile NET. Everything is ready but Dongfeng.
Zl chose the sites ranked 300th in TOP to write scripts first.
The copy code is as follows:
@ echo off
Setlocal
Cls
Color e
Echo program pre-compilation
For / f% I in (wap1.txt) do C:\ WINDOWS\ Microsoft.NET\ Framework\ v2.0.50727\ aspnet_compiler.exe-m% I
The above script is saved as .bat
Needless to say, the wap1.txt file that needs to be traversed is your IIS Metabase address.
Why does zl have to add a number to the name of the file it traverses? if you answer correctly, there will be many such script files, and there will also be many multi-process technologies, you know? ha.
The contents are all the same, but the file names for traversing are different. Each of these 300 sites executes 30 scripts. That's fast.
Finally, we will talk about the operation steps.
1. Stop IIS
two。 Update the latest program
3. Also open precompile (1-10). Bat
Start IIS after 4.precompile (1-10) .bat exits completely
Thank you for your reading, the above is the content of "how to understand .net precompiled commands". After the study of this article, I believe you have a deeper understanding of how to understand .net precompiled commands, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.