Introduction and Installation

Source: Internet
Author: User
I wonder if you have heard of the "Pet wars "? Sun released an online pet store Sun Java pet store to help developers and architects use J2EE technology. Microsoft also released a petshop that implements the same function using. NET technology, and compared the two in terms of code quantity and performance. The final result is that Microsoft's. NET technology won an absolute advantage. Sun believes that the evaluation comparison is biased and unfair. In fact, the essence of the pet war is the superiority of Java and. NET technologies. This is an endless debate and there is no need to discuss it too much. However, the petshop application released due to this competition is gradually becoming familiar to. NET developers. Currently, petshop has evolved from its first version 2.0 and 3.0 to its latest version 4.0. Petshop 4.0 was developed using ASP. NET 2.0 technology, with many new features added. Therefore, it has made significant improvements in performance, code quantity, and scalability. It can be said that learning petshop 4.0 is a shortcut to gain a deep understanding of ASP. NET 2.0 technology. This section will guide you to understand all aspects of petshop 4.0, including application installation, features and user interface introduction, solutions and Architecture Overview.

Before learning about petshop 4.0, you should first confirm the software environment and permissions required by the application before installation. You must have the system administrator and database management permissions to perform installation. Petshop 4.0 requires that the user's computer software environment meet the following requirements: (1) Windows XP SP2 or Windows Server 2003; (2) IE 6.0 and later; (3) visual Studio 2005; (4 ). net Framework 2.0; (5) SQL Server 2000/2005, SQL Server 2005 express, or Oracle 10g. After you confirm that the above software has been correctly installed on your computer, you can start to install petshop 4.0. Otherwise, you may encounter errors such as failure to install petshop 4.0 or failure to run even though petshop 4.0 can be installed. Find the petshop 4.0 installation file on the CD attached to this book, named Microsoft. NET Pet Shop 4.0.msi. In addition, you can also download the file directly from the Microsoft website, for: http://download.microsoft.com/download/ 8/0/1/801ff297-aea6-46b9-8e11-810df5df1032/Microsoft % w.net% 20pet % 20 shop % 204.0.msi. Double-click this file to start the installation process of petshop 4.0. Figure 18-1 shows the petshop 4.0 installation process user interface.

<! -- [If! VML] --> <! -- [Endif] -->

Figure 18-1 petshop 4.0 installation page 1

The Installation Process of petshop 4.0 is similar to that of other applications. You only need to click "Next. During the installation process, you need to pay attention to two aspects: first, the petshop 4.0 installer allows you to set the source file storage directory (see figure 18-1 ). By default, the source file is stored in c: \ Program file \ Microsoft \. Net Pet Shop 4.0 \. Second, the database type installed for the application will be set later in the installation process. The window shown in 18-2 is displayed.

<! -- [If! VML] --> <! -- [Endif] -->

Figure 18-2 petshop 4.0 installation page 2

The window shown in Figure 18-2 is used to set the database type installed in petshop 4.0. The upper half of the window is used to set the database type, such as SQL Server and Oracle 10 Gb. The lower half is used to set the database authentication method and display the connection string, such as the authentication method, user name, and password. Select which database type, then the installer creates a database instance for petshop 4.0 in which database. After selecting a database type and setting the corresponding authentication method, you can click "test connection" to check whether the database can be connected. Because petshop 4.0 mainly includes three database instances, the window also sets three steps to define the database types for these instances respectively. We recommend that you set a database type instead of creating three database instances in different databases. For example, if the selected database type is SQL Server Express, the installer will default to C: \ Program Files \ Microsoft SQL Server \ mssql.1 \ MSSQL \ data \ automatically generates database instance files related to petshop 4.0.

After the installation program is complete, you must perform an operation to fully install petshop 4.0. Check whether the DTC (Distributed Transaction Coordinator) service is enabled in the operating system. This service is mainly used to coordinate transactions across multiple databases, message queues, file systems, and other resource managers. This operation is performed because the petshop 4.0 Application uses the service. Click "my computer" on the desktop, select "manage", and view the system service content in the displayed "Computer Management" window. The service list contains a Distributed Transaction Coordinator service. When you view this Service property, the window shown in 18-3 is displayed.

<! -- [If! VML] --> <! -- [Endif] -->

Figure 18-3 DTC service settings window

By default, the DTC service is set to start manually. As shown in 18-3, the Service Startup type must be set to "automatic ". In this way, petshop 4.0 can call the service at any time to complete application functions.

The above process completes the installation of the petshop 4.0 Application. You can use Visual Studio 2005 to load and run the application to understand the features and implementation process of petshop 4.0.

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.