Website compiler exe
Editor Theme: Dark Light. Editor Mode: Normal Emacs vim. Font size: Small Medium Large. Autocomplete: on off. Extra Compiler Flags. Compiling Program Command line arguments:. Standard Input: Interactive Console Text. Program is not being debugged. Call Stack. Function File:Line. Compiler Execution only Conformance view Source editor.
CppInsights Quick-bench. Popular arguments Detailed Compiler Flags Open a new window to edit verbose compiler flags. Compile to binary. Execute the code. Intel asm syntax. Demangle identifiers. Unused labels. Library functions. Horizontal whitespace. Add new Add tool Wrap lines. The current language or compiler does not support this tool. Passes Tree pass. RTL pass. IPA pass. Options Raw Dump. Slim Dump.
All Options. Basic Blocks. Line Numbers. Pass Details. Pass Stats. There are two flavors of precompilation for deployment that we explore in this tutorial: precompilation with an updatable user interface, and precompilation with a non-updatable user interface.
Precompilation with an updatable user interface leaves the declarative markup in the. Precompilation with a non-updatable user interface generates. The best way to understand precompilation for deployment is to see an example in action.
The ASP. This section examines using the tool from within Visual Studio; the "Precompiling from the Command Line" section looks at running the compiler tool from the command line.
This launches the Publish Web Site dialog box see Figure 1 , where you can specify the target location, whether or not the precompiled site's user interface is updatable, and other compiler tool options.
The target location can be a remote web server or FTP server, but for now choose a folder on your computer's hard drive. Because we want to precompile the site with an updatable user interface, leave the "Allow this precompiled site to be updatable" checkbox checked and click OK. Figure 1 : The ASP. After precompiling the website, navigate to the target location you entered in the Publish Web Site dialog box.
Take a moment to compare the contents of this folder with the contents of your website. Figure 2 shows the Book Reviews website folder. Note that it contains both. Also, note that the Bin directory includes only one file, Elmah. Figure 2 : The Project Directory Contains. Figure 3 shows the target location folder whose contents were created by the ASP. NET compilation tool.
This folder does not contain any code-behind files. Moreover, this folder's Bin directory includes several assemblies and two. Unlike explicit compilation in WAPs, the precompilation for deployment process does not create one assembly for the entire site.
Instead, it batches together several pages into each assembly. It also compiles the Global. The files that hold the declarative markup for ASP. NET web pages, User Controls, and master pages. Likewise, the Web. For a more formal description of how the compilation tool handles various file types, refer to File Handling During ASP.
NET Precompilation. You can instruct the compilation tool to create one assembly per ASP. Having each ASP. NET page compiled into its own assembly allows for more fine-grained control over deployment. For example, if you updated a single ASP. NET web page and needed to deploy that change, you need only deploy that page's.
NET Compilation Tool for more information. The target location directory also contains a file that was not part of the precompiled web project, namely PrecompiledApp. This file informs the ASP. NET runtime that the application was precompiled and whether it was precompiled with an updatable or noon-updatable UI. Finally, take a moment to open one of the. When precompiling for deployment with an updatable user interface, the ASP. NET pages in the target location directory contain the exact same markup as the corresponding files in the website.
NET compiler tool can also be used to precompile a site for deployment with a non-updatable UI. Precompiling the site with a non-updatable UI works much like precompiling with an updatable UI, the key difference being that the ASP.
NET pages, User Controls, and master pages in the target directory are stripped of their markup. To precompile a website for deployment with a non-updatable UI, choose the Publish Web Site option from the Build menu, but uncheck the "Allow this precompiled site to be updatable" option see Figure 4. Figure 5 shows the target location folder after precompiling with a non-updatable user interface. Compare Figure 3 to Figure 5. While the two folders may look identical, note that the non-updatable UI folder lacks the master page, Site.
And while Figure 5 includes the various ASP. NET pages, if you view the contents of these files you'll see that they've been stripped of their declarative markup and replaced with the placeholder text: "This is a marker file generated by the precompilation tool, and should not be deleted!
The Bin folders in Figures 3 and 5 differ more substantially. In addition to the assemblies, the Bin folder in Figure 5 includes a. NET page, User Control, and master page. NET pages' contents to be modified by the person or company who installs or manages the website in the production environment.
If you build an ASP.
0コメント