1. environment preparation
install the following components one by one
1.xp SP2/Windows Server 2003
2. iis5/IIS6
3. SQL server2005 express/dev
4. visual Studio 2005 team edition
5. microsoft. netframework 3.0
6. windows Workflow Foundation (WWF). net3.0
7. active Directory Application Mode (Adam) SP1
8. windows Communication Foundation (WCF). net3.0
9. microsoft Enterprise Library 2.0
10. ASP. net Ajax 1.0
Ii. install and configure crab
1. install crab. MSI. After installation, two virtual directories (crabapp (SaaS application) and crabhost (WCF Service) will be created in IIS ), in addition, five databases are created in the database: crabdata/crabidentity/crabmetadata/crabwebapp/crabworkflowstore.
2. Run provision. BAT to install the SAAs Adam instance. After the installation is complete, enter Adam in the running, open the ADAM-adsiedit.msc, connect to DC = tenants, Dc = SaaS, Dc = com, and port 389. If the connection is successful, the SAAs Adam instance is successfully installed.Article.
3. Open the "Visual Studio 2005 command prompt", or run aspnet_regsql.exe in the crabwebapp at c: \ windows \ Microsoft. NET \ framework \ v2.0.50727.
4. Create a system user ASPnet in SQL 2005 and grant db_owner permissions to crabdata/crabidentity/crabmetadata/crabwebapp/crabworkflowstore.
Now the crab study case has been established.
Iii. Data Initialization
1. Register a tenant (Tenant), such as contoso. By default, this tenant creates an account admin with the roleAdministrators, After registration, manage by role/Readers/usersCreate a user. Only managers and users can create customs declaration documents. In addition, there is a bug where the role selected when the user is created cannot be saved. You must modify the roles in the list to establish the relationship between the user and the role.
2. user-Defined fields can only be created and cannot be modified. This also has a problem. Each modification automatically jumps to the pre-set data of the system, so the user-defined data cannot be modified, you have time to change it.
4. Start your SaaS journey ....