annotate Demo/Asp.Net/Web/Web.config @ 9:1e85f66cf767 default tip

update bltoolkit
author nickolay
date Thu, 05 Apr 2018 20:53:26 +0300
parents f990fcb411a9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
1 <?xml version="1.0"?>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
2 <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
3 <connectionStrings>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
4 <add name="ProductDB" connectionString="server=.;database=MSPetShop4;Integrated Security=True;" providerName="System.Data.SqlClient"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
5 <add name="OrderDB" connectionString="server=.;database=MSPetShop4Orders;Integrated Security=True;" providerName="System.Data.SqlClient"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
6 <add name="InventoryDB" connectionString="server=.;database=MSPetShop4;Integrated Security=True;" providerName="System.Data.SqlClient"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
7 <add name="ProfileDB" connectionString="server=.;database=MSPetShop4Profile;Integrated Security=True;" providerName="System.Data.SqlClient"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
8 <add name="MembershipDB" connectionString="server=.;database=MSPetShop4Services;Integrated Security=True;" providerName="System.Data.SqlClient"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
9 </connectionStrings>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
10 <system.web>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
11 <pages theme="PetShop" styleSheetTheme="PetShop" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
12 <controls>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
13 <add tagPrefix="blt" namespace="BLToolkit.Web.UI" assembly="BLToolkit.4"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
14 </controls>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
15 </pages>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
16 <!--
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
17 Set compilation debug="true" to insert debugging
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
18 symbols into the compiled page. Because this
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
19 affects performance, set this value to true only
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
20 during development.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
21 -->
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
22 <compilation debug="true" targetFramework="4.0">
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
23 <assemblies>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
24 <add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
25 </assemblies>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
26 </compilation>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
27 <!--
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
28 The <authentication> section enables configuration
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
29 of the security authentication mode used by
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
30 ASP.NET to identify an incoming user.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
31 -->
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
32 <authentication mode="Forms">
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
33 <forms name="PetShopAuth" loginUrl="SignIn.aspx" protection="None" timeout="60"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
34 </authentication>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
35 <!--
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
36 The <customErrors> section enables configuration
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
37 of what to do if/when an unhandled error occurs
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
38 during the execution of a request. Specifically,
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
39 it enables developers to configure html error pages
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
40 to be displayed in place of a error stack trace.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
41 -->
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
42 <customErrors defaultRedirect="Error.aspx" mode="RemoteOnly"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
43 <sessionState mode="Off"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
44 <anonymousIdentification enabled="true"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
45 <profile automaticSaveEnabled="false" defaultProvider="ShoppingCartProvider">
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
46 <providers>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
47 <add name="ShoppingCartProvider" connectionStringName="ProfileDB" type="PetShop.BusinessLogic.ProfileProvider" applicationName=".NET Pet Shop 4.0"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
48 <add name="WishListProvider" connectionStringName="ProfileDB" type="PetShop.BusinessLogic.ProfileProvider" applicationName=".NET Pet Shop 4.0"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
49 <add name="AccountInfoProvider" connectionStringName="ProfileDB" type="PetShop.BusinessLogic.ProfileProvider" applicationName=".NET Pet Shop 4.0"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
50 </providers>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
51 <properties>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
52 <add name="ShoppingCart" type="PetShop.BusinessLogic.Cart" allowAnonymous="true" provider="ShoppingCartProvider"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
53 <add name="WishList" type="PetShop.BusinessLogic.Cart" allowAnonymous="true" provider="WishListProvider"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
54 <add name="AccountInfo" type="PetShop.ObjectModel.Address" allowAnonymous="false" provider="AccountInfoProvider"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
55 </properties>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
56 </profile>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
57 <!-- Membership Provider for SqlServer -->
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
58 <membership defaultProvider="SQLMembershipProvider">
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
59 <providers>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
60 <add name="SQLMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="MembershipDB" applicationName=".NET Pet Shop 4.0" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" passwordFormat="Hashed"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
61 </providers>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
62 </membership>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
63 <caching>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
64 <sqlCacheDependency enabled="true" pollTime="10000">
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
65 <databases>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
66 <add name="MSPetShop4" connectionStringName="SQLConnString1" pollTime="10000"/>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
67 </databases>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
68 </sqlCacheDependency>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
69 </caching>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
70 </system.web>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
71 <location path="UserProfile.aspx"><system.web><authorization><deny users="?"/></authorization></system.web></location>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
72 <location path="CheckOut.aspx"><system.web><authorization><deny users="?"/></authorization></system.web></location>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
73 </configuration>