Advertisement
Guest User

Untitled

a guest
Feb 18th, 2017
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.37 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.     <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  9.     <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  10.   </configSections>
  11.   <appSettings>
  12.     <add key="webpages:Version" value="3.0.0.0" />
  13.     <add key="webpages:Enabled" value="false" />
  14.     <add key="ClientValidationEnabled" value="true" />
  15.     <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  16.   </appSettings>
  17.   <system.web>
  18.     <authentication mode="None" />
  19.     <compilation debug="true" targetFramework="4.5" />
  20.     <httpRuntime targetFramework="4.5" />
  21.   </system.web>
  22.   <system.webServer>
  23.     <modules>
  24.       <remove name="FormsAuthentication" />
  25.     </modules>
  26.   </system.webServer>
  27.   <runtime>
  28.     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  29.       <dependentAssembly>
  30.         <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" />
  31.         <bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
  32.       </dependentAssembly>
  33.       <dependentAssembly>
  34.         <assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" />
  35.         <bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
  36.       </dependentAssembly>
  37.       <dependentAssembly>
  38.         <assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" />
  39.         <bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
  40.       </dependentAssembly>
  41.       <dependentAssembly>
  42.         <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" />
  43.         <bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
  44.       </dependentAssembly>
  45.       <dependentAssembly>
  46.         <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
  47.         <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
  48.       </dependentAssembly>
  49.       <dependentAssembly>
  50.         <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  51.         <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  52.       </dependentAssembly>
  53.       <dependentAssembly>
  54.         <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  55.         <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
  56.       </dependentAssembly>
  57.       <dependentAssembly>
  58.         <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  59.         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  60.       </dependentAssembly>
  61.       <dependentAssembly>
  62.         <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  63.         <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  64.       </dependentAssembly>
  65.       <dependentAssembly>
  66.         <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  67.         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  68.       </dependentAssembly>
  69.       <dependentAssembly>
  70.         <assemblyIdentity name="Npgsql" publicKeyToken="5d8b90d52f46fda7" culture="neutral" />
  71.         <bindingRedirect oldVersion="0.0.0.0-3.2.1.0" newVersion="3.2.1.0" />
  72.       </dependentAssembly>
  73.     </assemblyBinding>
  74.   </runtime>
  75.  
  76. <connectionStrings>
  77.     <add name="MeuNegocioContext" connectionString="Server=127.0.0.1;Port=5432;Database=meunegocioweb;User Id=postgres;Password=123456;" providerName="Npgsql" />
  78.   </connectionStrings>
  79.  
  80.  <entityFramework>
  81.     <defaultConnectionFactory type="Npgsql.NpgsqlFactory, Npgsql" />
  82.     <providers>
  83.       <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  84.       <provider invariantName="Npgsql" type="Npgsql.NpgsqlServices, EntityFramework6.Npgsql" />
  85.     </providers>
  86.   </entityFramework>
  87.  
  88.   <system.data>
  89.     <DbProviderFactories>
  90.       <remove invariant="Npgsql" />
  91.       <add name="Npgsql Data Provider" invariant="Npgsql" description=".Net Data Provider for PostgreSQL" type="Npgsql.NpgsqlFactory, Npgsql, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7" support="FF" />
  92.     </DbProviderFactories>
  93.   </system.data>
  94.  
  95.   <system.codedom>
  96.     <compilers>
  97.       <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701" />
  98.       <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
  99.     </compilers>
  100.   </system.codedom>
  101. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement