Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.95 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=169433
  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=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  10. </configSections>
  11. <connectionStrings>
  12. <add name="DefaultConnection" providerName="System.Data.SqlClient" connectionString="Data Source=(LocalDb)\v11.0;Initial Catalog=aspnet-paint_ball_wypozyczalnia-20170116125618;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnet-paint_ball_wypozyczalnia-20170116125618.mdf" />
  13. </connectionStrings>
  14. <system.web>
  15. <compilation debug="true" targetFramework="4.6.1" />
  16. <httpRuntime targetFramework="4.6.1" />
  17. <pages>
  18. <namespaces>
  19. <add namespace="System.Web.Optimization" />
  20. </namespaces>
  21. <controls>
  22. <add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" />
  23. </controls></pages>
  24. <authentication mode="Forms">
  25. <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
  26. </authentication>
  27. <profile defaultProvider="DefaultProfileProvider">
  28. <providers>
  29. <add name="DefaultProfileProvider" type="System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
  30. </providers>
  31. </profile>
  32. <membership defaultProvider="DefaultMembershipProvider">
  33. <providers>
  34. <add name="DefaultMembershipProvider" type="System.Web.Providers.DefaultMembershipProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
  35. </providers>
  36. </membership>
  37. <roleManager enabled="true" defaultProvider="DefaultRoleProvider">
  38. <providers>
  39. <add connectionStringName="DefaultConnection" applicationName="/"
  40. name="DefaultRoleProvider" type="System.Web.Providers.DefaultRoleProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
  41. </providers>
  42. </roleManager>
  43. <!--
  44. If you are deploying to a cloud environment that has multiple web server instances,
  45. you should change session state mode from "InProc" to "Custom". In addition,
  46. change the connection string named "DefaultConnection" to connect to an instance
  47. of SQL Server (including SQL Azure and SQL Compact) instead of to SQL Server Express.
  48. -->
  49. <sessionState mode="InProc" customProvider="DefaultSessionProvider">
  50. <providers>
  51. <add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" />
  52. </providers>
  53. </sessionState>
  54. </system.web>
  55. <entityFramework>
  56. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  57. <parameters>
  58. <parameter value="v11.0" />
  59. </parameters>
  60. </defaultConnectionFactory>
  61. </entityFramework>
  62. <appSettings>
  63. <add key="DBConnectionString" value="server=127.0.0.1,8443;database=Northwind;User ID=xxxxx;Password=xxxxx" />
  64. </appSettings>
  65. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement