Update .NET version

This commit is contained in:
Jakob A. Dam 2015-04-13 14:53:36 +02:00
parent ba2fb74d64
commit c038fe79a1

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0"?>
<!-- <!--
Note: As an alternative to hand editing this file you can use the Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use web admin tool to configure settings for your application. Use
@ -11,57 +11,55 @@
<!-- Admin Defined settings --> <!-- Admin Defined settings -->
<appSettings> <appSettings>
<!-- PasswordChangeEnabled: Provides password change page for users. Value must be "true" or "false" --> <!-- PasswordChangeEnabled: Provides password change page for users. Value must be "true" or "false" -->
<add key="PasswordChangeEnabled" value="true" /> <add key="PasswordChangeEnabled" value="true"/>
<!-- LocalHelp: Displays local help for users, instead of the web-based help. Value must be "true" or "false" --> <!-- LocalHelp: Displays local help for users, instead of the web-based help. Value must be "true" or "false" -->
<add key="LocalHelp" value="false" /> <add key="LocalHelp" value="false"/>
<!-- ShowDesktops: Displays or hides the Remote Desktops tab. Value must be "true" or "false" --> <!-- ShowDesktops: Displays or hides the Remote Desktops tab. Value must be "true" or "false" -->
<add key="ShowDesktops" value="true" /> <add key="ShowDesktops" value="true"/>
<!-- DefaultTSGateway: Admin can preset this to a given Gateway name, or set to "" for no gateway. --> <!-- DefaultTSGateway: Admin can preset this to a given Gateway name, or set to "" for no gateway. -->
<add key="DefaultTSGateway" value="" /> <add key="DefaultTSGateway" value=""/>
<!-- GatewayCredentialsSource: TS Gateway Authentication Type. <!-- GatewayCredentialsSource: TS Gateway Authentication Type.
Admins can preset this. Admins can preset this.
0 = User Password 0 = User Password
1 = Smartcard 1 = Smartcard
4 = "Ask me later" 4 = "Ask me later"
--> -->
<add key="GatewayCredentialsSource" value="4" /> <add key="GatewayCredentialsSource" value="4"/>
<!-- Devices and resources: Preset the Checkbox values to either true or false --> <!-- Devices and resources: Preset the Checkbox values to either true or false -->
<add key="xPrinterRedirection" value="true" /> <add key="xPrinterRedirection" value="true"/>
<add key="xClipboard" value="true" /> <add key="xClipboard" value="true"/>
<add key="xDriveRedirection" value="false" /> <add key="xDriveRedirection" value="false"/>
<add key="xPnPRedirection" value="false" /> <add key="xPnPRedirection" value="false"/>
<add key="xPortRedirection" value="false" /> <add key="xPortRedirection" value="false"/>
<!-- Public/Private Mode Timeout for FBA --> <!-- Public/Private Mode Timeout for FBA -->
<add key="PublicModeSessionTimeoutInMinutes" value="20" /> <add key="PublicModeSessionTimeoutInMinutes" value="20"/>
<add key="PrivateModeSessionTimeoutInMinutes" value="240" /> <add key="PrivateModeSessionTimeoutInMinutes" value="240"/>
<!-- Checkbox to opt for optimized LAN experience --> <!-- Checkbox to opt for optimized LAN experience -->
<add key="ShowOptimizeExperience" value="true" /> <add key="ShowOptimizeExperience" value="true"/>
<add key="OptimizeExperienceState" value="false" /> <add key="OptimizeExperienceState" value="false"/>
<add key="SmsToken" value="true" /> <add key="SmsToken" value="true"/>
<add key="RadiusServer" value="192.168.121.9" /> <add key="RadiusServer" value="192.168.121.9"/>
<add key="RadiusSecret" value="helloworld" /> <add key="RadiusSecret" value="helloworld"/>
<add key="OTP" value="true" /> <add key="OTP" value="true"/>
<add key="EnableSMS" value="true" /> <add key="EnableSMS" value="true"/>
<add key="EnableMail" value="false" /> <add key="EnableMail" value="false"/>
</appSettings> </appSettings>
<connectionStrings/>
<!--
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
<connectionStrings /> The following attributes can be set on the <httpRuntime> tag.
<system.Web>
<httpRuntime targetFramework="4.5" />
</system.Web>
-->
<system.web> <system.web>
<!-- <!--
The <authentication> section enables configuration The <authentication> section enables configuration
of the security authentication mode used by of the security authentication mode used by
ASP.NET to identify an incoming user. ASP.NET to identify an incoming user.
--> -->
<!-- <!--
To turn on Windows Authentication: To turn on Windows Authentication:
- uncomment <authentication mode="Windows"/> section - uncomment <authentication mode="Windows"/> section
- and comment out: - and comment out:
@ -71,61 +69,58 @@
Launch IIS Manager UI, click on RDWeb VDIR, double click on SSL Settings in the middle pane, uncheck 'Require SSL' and Launch IIS Manager UI, click on RDWeb VDIR, double click on SSL Settings in the middle pane, uncheck 'Require SSL' and
click Apply in the top right in the right pane. Repeat the steps for RDWeb/Pages VDIR. click Apply in the top right in the right pane. Repeat the steps for RDWeb/Pages VDIR.
--> -->
<!--
<!--
<authentication mode="Windows"/> <authentication mode="Windows"/>
--> -->
<authentication mode="Forms"> <authentication mode="Forms">
<forms loginUrl="default.aspx" name="TSWAAuthHttpOnlyCookie" protection="All" requireSSL="true" /> <forms loginUrl="default.aspx" name="TSWAAuthHttpOnlyCookie" protection="All" requireSSL="true"/>
</authentication> </authentication>
<webParts>
<webParts> <personalization defaultProvider="TSPortalProvider">
<personalization defaultProvider="TSPortalProvider"> <providers>
<providers> <add name="TSPortalProvider" type="Microsoft.TerminalServices.Publishing.Portal.TSPortalProvider"/>
<add name="TSPortalProvider" type="Microsoft.TerminalServices.Publishing.Portal.TSPortalProvider" /> </providers>
</providers> <authorization>
<authorization> <allow users="*" verbs="enterSharedScope"/>
<allow users="*" verbs="enterSharedScope"> </authorization>
</allow> </personalization>
</authorization> </webParts>
</personalization> <compilation targetFramework="4.5"/>
</webParts> <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
</system.web> </system.web>
<system.webServer> <system.webServer>
<modules runAllManagedModulesForAllRequests="true"> <modules runAllManagedModulesForAllRequests="true">
<remove name="FormsAuthentication" /> <remove name="FormsAuthentication"/>
<add name="RDWAFormsAuthenticationModule" type="Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormsAuthentication" /> <add name="RDWAFormsAuthenticationModule" type="Microsoft.TerminalServices.Publishing.Portal.FormAuthentication.TSFormsAuthentication"/>
</modules> </modules>
<security> <security>
<authentication>
<windowsAuthentication enabled="false" /> <authentication>
<anonymousAuthentication enabled="true" /> <windowsAuthentication enabled="false"/>
</authentication> <anonymousAuthentication enabled="true"/>
</authentication>
</security> </security>
<httpRedirect enabled="false" /> <httpRedirect enabled="false"/>
</system.webServer> </system.webServer>
<runtime> <runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="TSPortalWebPart" publicKeyToken="31bf3856ad364e35" culture="neutral" /> <assemblyIdentity name="TSPortalWebPart" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
<bindingRedirect oldVersion="6.0.0.0" newVersion="6.1.0.0" /> <bindingRedirect oldVersion="6.0.0.0" newVersion="6.1.0.0"/>
</dependentAssembly> </dependentAssembly>
</assemblyBinding> </assemblyBinding>
</runtime> </runtime>
<location path="rdp"> <location path="rdp">
<system.web> <system.web>
<authorization> <authorization>
<deny users="?" /> <deny users="?"/>
</authorization> </authorization>
</system.web> </system.web>
<system.webServer> <system.webServer>
<handlers> <handlers>
<add name="RDWAResourceFileHandler" path="rdp" verb="*" type="Microsoft.TerminalServices.Publishing.Portal.ResourceFileHandler" preCondition="integratedMode" allowPathInfo="true" /> <add name="RDWAResourceFileHandler" path="rdp" verb="*" type="Microsoft.TerminalServices.Publishing.Portal.ResourceFileHandler" preCondition="integratedMode" allowPathInfo="true"/>
</handlers> </handlers>
</system.webServer> </system.webServer>
</location> </location>
</configuration> </configuration>