Advertisement
gladyssann

Web.Config

Dec 12th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 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. <connectionStrings>
  8. <add name="EmployeeContext" connectionString=" Data Source=LAPTOP-TL0BA7EM\LOCAL; Initial Catalog= EmployeeContext2016; user id = sa; Password= aaa; Integrated Security=False" providerName ="System.Data.Client"/>
  9. </connectionStrings>
  10. <configSections>
  11. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  12. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  13. </configSections>
  14. <appSettings>
  15. <add key="webpages:Version" value="3.0.0.0" />
  16. <add key="webpages:Enabled" value="false" />
  17. <add key="ClientValidationEnabled" value="true" />
  18. <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  19. </appSettings>
  20. <system.web>
  21. <compilation debug="true" targetFramework="4.5" />
  22. <httpRuntime targetFramework="4.5" />
  23. </system.web>
  24. <entityFramework>
  25. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  26. <parameters>
  27. <parameter value="v11.0" />
  28. </parameters>
  29. </defaultConnectionFactory>
  30. <providers>
  31. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  32. </providers>
  33. </entityFramework>
  34. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement