For the configuration Web site and configuration services used in StockTrader 3.0, Microsoft has already made a detailed description of the configuration documentation provided in the document. Basically is step by step the elaboration of the fool type, here also is simple in the document picks the key simple to do the record, the whole configuration use process.
Let's start with a brief introduction to the core components of StockTrader 3.0:
. NET StockTrader Web application--Web site UI Main program
. NET StockTrader Business services (hosted in IIS or in the. NET Self-host program)--Main business logic Service (example provides two implementations IIS host and self-host)
. NET StockTrader Order Processor service--orders processing service (subordinate to the main business logic service)
After the example is installed, all components are run in the same asp.net process by default, and no remote services are used to invoke the technology. But by configuring Web sites and configuring services, you can deploy them in different processes, or even in different machines, to easily implement the distributed architecture of your application. Of course in the study of the purpose, you can also on the same machine, through the use of different host port configuration can also simulate the entire testing process.
The following is the system architecture diagram provided by Microsoft:
Next, let's follow Microsoft's StockTrader configuration usage instructions to learn more about configuring Web sites and Configuring services:
The first step we have to login to configure the Web site, open the installation of the ConfigWeb page, you can see the Login/logout link, click After we can enter the login interface. Here needs to be emphasized is generally speaking, the entire system architecture is configured through the Top-down, popular point is that first into the Webappui,webappui connect the main BSL, the main BSL connect other BSL, you can further implement any n-tier architecture. In the login interface we need to enter the username and password, as well as the desired host service endpoint, where we use the default Web site application service endpoint. User name and password are the default initial username admin and password yyy when installed. Of course, you can also modify this username and password in the production environment configuration, by logging on to configure the site to change the configuration service, in the Configuration Management Master settings interface, click User Management (manageusers) Link, Modify this username and password.