tailieunhanh - Professional ASP.NET 3.5 in C# and Visual Basic Part 10
Professional in C# and Visual Basic Part 10. Building on the revolutionary release, adds several key new developer features including AJAX, LINQ, and a new CSS designer in Visual Web Developer 2008. The dramatic reduction in code that developers realized from the more than 50 new server controls in now allows developers the time to make their applications more interactive with AJAX, to work with data in their preferred language with LINQ, and to build visually attractive and consistent standards-based sites with CSS. . | Chapter 1 Application and Page Frameworks required to do this but also after your application is compiled you simply have to move around the DLL and some placeholder files for the site to work. This means that your Web site code is completely removed and placed in the DLL when deployed. However before you take these precompilation steps create a folder in your root drive called for example Wrox. This folder is the one to which you will direct the compiler output. When it is in place you can return to the compiler tool and give the following command aspnet_compiler -v Application Name -p Physical Location Target Therefore if you have an application called ineta located at C Websites iNETA you use the following commands aspnet_compiler -v INETA -p C Websites INETA C Wrox Press the Enter key and the compiler either tells you that it has a problem with one of the command parameters or that it was successful shown in Figure 1-13 . If it was successful you can see the output placed in the target directory. Figure 1-13 In the example just shown -v is a command for the virtual path of the application which is provided by using ineta. The next command is -p which is pointing to the physical path of the application. In this case it is C Websites iNETA. Finally the last bit C Wrox is the location of the compiler output. The following table describes some of the possible commands for the tool. Command Description -m Specifies the full IIS metabase path of the application. If you use the -m command you cannot use the -v or -p command. -v Specifies the virtual path of the application to be compiled. If you also use the -p command the physical path is used to find the location of the application. 42 Chapter 1 Application and Page Frameworks Command Description -p Specifies the physical path of the application to be compiled. If this is not specified the IIS metabase is used to find the application. -u If this command is utilized it specifies that the .
đang nạp các trang xem trước