Web Config Page /Web.config (XML)
1: <configuration>
2:
3: <!-- application specific settings -->
4: <appSettings>
5: <add key="ConnectionString" value="server=localhost;Trusted_Connection=true;database=Portal" />
6: </appSettings>
7:
8: <system.web>
9:
10: <!-- set debugmode to false for running application -->
11: <compilation debug="false" />
12:
13: <!--IBuySpy Portal supports either Forms authentication (Internet)
14: or Windows authentication (for intranets). Forms Authentication is
15: the default. To change to Windows authentication, comment the
16: <authentication mode="Forms"> section below, and uncomment the
17: <authentication mode="Windows"> section. -->
18:
19: <authentication mode="Forms">
20: <forms name=".ASPXAUTH" protection="All" timeout="60" />
21: </authentication>
22:
23: <!--<authentication mode="Windows" />
24: <authorization>
25: <deny users="?" />
26: </authorization>-->
27:
28: <httpRuntime useFullyQualifiedRedirectUrl="true" />
29:
30: <!-- Adapter configuration for mobile controls used in the portal -->
31: <mobileControls>
32: <device name="PortalHtmlDeviceAdapters" inheritsFrom="HtmlDeviceAdapters">
33: <control name="ASPNetPortal.MobileControls.TabbedPanel, Portal" adapter="ASPNetPortal.MobileControls.HtmlTabbedPanelAdapter,Portal" />
34: <control name="ASPNetPortal.MobileControls.LinkCommand, Portal" adapter="ASPNetPortal.MobileControls.HtmlLinkCommandAdapter,Portal" />
35: </device>
36: <device name="PortalChtmlDeviceAdapters" inheritsFrom="ChtmlDeviceAdapters">
37: <control name="ASPNetPortal.MobileControls.TabbedPanel, Portal" adapter="ASPNetPortal.MobileControls.ChtmlTabbedPanelAdapter,Portal" />
38: </device>
39: <device name="PortalWmlDeviceAdapters" inheritsFrom="WmlDeviceAdapters">
40: <control name="ASPNetPortal.MobileControls.TabbedPanel, Portal" adapter="ASPNetPortal.MobileControls.WmlTabbedPanelAdapter,Portal" />
41: </device>
42: </mobileControls>
43:
44: <!-- Mobile device filters used for customizing portal -->
45: <deviceFilters>
46: <filter name="isJScript" compare="javascript" argument="true" />
47: <filter name="isPocketIE" compare="browser" argument="Pocket IE" />
48: <filter name="isHTML32" compare="preferredRenderingType" argument="html32" />
49: </deviceFilters>
50: </system.web>
51:
52: </configuration>