Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/10/11 09:25:15 (13 years ago)
Author:
ascheibe
Message:

#1233 switch to .NET 4

Location:
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/AuthorizationManager.cs

    r5028 r5264  
    4040      }
    4141    }
    42    
     42
    4343    private bool IsAuthorizedForJobs(params Guid[] jobIds) {
    4444      return ServiceLocator.Instance.HiveDao.IsUserAuthorizedForJobs(UserId, jobIds);
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/HeuristicLab.Services.Hive-3.4.csproj

    r5095 r5264  
    1212    <AssemblyName>HeuristicLab.Services.Hive-3.4</AssemblyName>
    1313    <ProjectTypeGuids>{3D9AD99F-2412-4246-B90B-4EAA41C64699};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
    14     <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
     14    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    1515    <FileAlignment>512</FileAlignment>
     16    <TargetFrameworkProfile />
    1617  </PropertyGroup>
    1718  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
     
    6970    <Reference Include="System.Transactions" />
    7071    <Reference Include="System.Web" />
     72    <Reference Include="System.Web.ApplicationServices" />
    7173    <Reference Include="System.Windows.Forms" />
    7274    <Reference Include="System.Xml.Linq" />
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/app.config

    r5095 r5264  
    1 <?xml version="1.0" encoding="utf-8" ?>
     1<?xml version="1.0"?>
    22<configuration>
    3   <system.diagnostics />
     3  <system.diagnostics/>
    44  <connectionStrings>
    55    <add name="HeuristicLab.Authentication" connectionString="data source=localhost;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
     
    1010      <providers>
    1111        <clear/>
    12         <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication"
    13              enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
    14              maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
    15              applicationName="HeuristicLab.Authentication" />
     12        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="HeuristicLab.Authentication"/>
    1613      </providers>
    1714    </membership>
     
    2017      <providers>
    2118        <clear/>
    22         <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
     19        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication"/>
    2320      </providers>
    2421    </roleManager>
     
    2724  <system.serviceModel>
    2825    <diagnostics>
    29       <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000" />
     26      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000"/>
    3027    </diagnostics>
    3128    <bindings>
    3229      <wsHttpBinding>
    33         <binding name="WSHttpBinding_IHiveService" receiveTimeout="00:10:00"
    34           sendTimeout="00:10:00" maxBufferPoolSize="104857600" maxReceivedMessageSize="104857600">
    35           <readerQuotas maxStringContentLength="104857600" maxArrayLength="104857600" />
     30        <binding name="WSHttpBinding_IHiveService" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxBufferPoolSize="104857600" maxReceivedMessageSize="104857600">
     31          <readerQuotas maxStringContentLength="104857600" maxArrayLength="104857600"/>
    3632          <security mode="Message">
    3733            <transport clientCredentialType="Certificate"/>
    38             <message clientCredentialType="UserName" />
     34            <message clientCredentialType="UserName"/>
    3935          </security>
    4036        </binding>
     
    4440      <serviceBehaviors>
    4541        <behavior name="ServiceBehaviour_IHiveService">
    46           <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
    47           <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true" />
    48           <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider" />
     42          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false"/>
     43          <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true"/>
     44          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider"/>
    4945          <serviceCredentials>
    50             <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
    51             <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" />
     46            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName"/>
     47            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider"/>
    5248          </serviceCredentials>
    53           <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure" />
    54           <serviceThrottling maxConcurrentCalls="100" />
     49          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure"/>
     50          <serviceThrottling maxConcurrentCalls="100"/>
    5551        </behavior>
    5652      </serviceBehaviors>
     
    5854    <services>
    5955      <service behaviorConfiguration="ServiceBehaviour_IHiveService" name="HeuristicLab.Services.Hive.HiveService">
    60         <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" name="MexEndpoint" contract="IMetadataExchange" />
    61         <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.Common.ServiceContracts.IHiveService" />
     56        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" name="MexEndpoint" contract="IMetadataExchange"/>
     57        <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.Common.ServiceContracts.IHiveService"/>
    6258        <host>
    6359          <baseAddresses>
    64             <add baseAddress="http://localhost:9000/Hive-3.4" />
     60            <add baseAddress="http://localhost:9000/Hive-3.4"/>
    6561          </baseAddresses>
    6662        </host>
     
    7066  </system.serviceModel>
    7167
    72 </configuration>
     68<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
Note: See TracChangeset for help on using the changeset viewer.