Advertisement
junh1024

Untitled

Nov 18th, 2015
467
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.31 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3.  For more information on how to configure your ASP.NET application, please visit
  4.  http://go.microsoft.com/fwlink/?LinkId=301880
  5.  -->
  6. <configuration>
  7.   <configSections>
  8.    
  9.     <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  10.   <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections>
  11.   <connectionStrings>
  12.     <!--<add name="DefaultConnection" connectionString="Data Source=(LocalDb)\v11.0;AttachDbFilename=&quot;|DataDirectory|\aspnet-Some University-20151116094859.mdf&quot;;Initial Catalog=&quot;aspnet-Some University-20151116094859&quot;;Integrated Security=True" providerName="System.Data.SqlClient" />-->
  13.     <add name="UniversityContext" connectionString="Database=XXXXX;Data Source=au-cdbr-azure-southeast-a.cloudapp.net;User Id=XXXX;Password=XXXXXXXX;CharSet=utf8;Persist Security Info=True" providerName="MySql.Data.MySqlClient" />
  14.  
  15.  
  16.   </connectionStrings>
  17.   <appSettings>
  18.     <add key="webpages:Version" value="3.0.0.0" />
  19.     <add key="webpages:Enabled" value="false" />
  20.     <add key="ClientValidationEnabled" value="true" />
  21.     <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  22.   </appSettings>
  23.   <system.web>
  24.     <customErrors mode="Off" />
  25.     <authentication mode="None" />
  26.     <compilation debug="true" targetFramework="4.5.1" />
  27.     <httpRuntime targetFramework="4.5.1" />
  28.   </system.web>
  29.   <system.webServer>
  30.     <modules>
  31.       <remove name="FormsAuthenticationModule" />
  32.     </modules>
  33.   </system.webServer>
  34.   <runtime>
  35.     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  36.       <dependentAssembly>
  37.         <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  38.         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  39.       </dependentAssembly>
  40.       <dependentAssembly>
  41.         <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  42.         <bindingRedirect oldVersion="1.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
  43.       </dependentAssembly>
  44.       <dependentAssembly>
  45.         <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  46.         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  47.       </dependentAssembly>
  48.       <dependentAssembly>
  49.         <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  50.         <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
  51.       </dependentAssembly>
  52.     </assemblyBinding>
  53.   </runtime>
  54.   <entityFramework>
  55.     <!--<contexts>
  56.       <context type="Some_University.DAL.UniversityContext, Some_University">
  57.         <databaseInitializer type="Some_University.DAL.UniversityInitializer, Some_University" />
  58.       </context>
  59.     </contexts>-->
  60.    
  61.     <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  62.       <parameters>
  63.         <parameter value="v11.0" />
  64.       </parameters>
  65.     </defaultConnectionFactory>
  66.     <providers>
  67.       <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  68.       <!--<provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.8.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />-->
  69.     <provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6, Version=6.9.8.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d">
  70.       </provider></providers>
  71.   </entityFramework>
  72. <system.data>
  73.     <DbProviderFactories>
  74.       <!--<remove name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" />-->
  75.       <!--<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.8.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />-->
  76.     <remove invariant="MySql.Data.MySqlClient" /><add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.8.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" /></DbProviderFactories>
  77.   </system.data></configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement