Mercurial > altnet-hispano
annotate Agendas/trunk/src/Agendas.Web/Web.config @ 96:1eb5a0e531bf
Funcionamiento con cuenta interna y con cuenta de twitter, falta unificar usuarios
Estructura de aspnetdb dentro de base de datos de altnet hispano, se debe ejecutar: C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe para crear dicha estructura, de todas formas el objetivo seria tener una tabla de usuario y password interna, no parecería ser necesaria toda la estructura de aspnetdb
author | Nelo@Kenia.neluz.int |
---|---|
date | Sat, 04 Jun 2011 19:37:02 -0300 |
parents | d1688622fa88 |
children | a456eb519e23 |
rev | line source |
---|---|
10 | 1 <?xml version="1.0"?> |
2 <!-- | |
3 For more information on how to configure your ASP.NET application, please visit | |
4 http://go.microsoft.com/fwlink/?LinkId=152368 | |
5 --> | |
43 | 6 |
10 | 7 <configuration> |
30 | 8 <connectionStrings> |
96
1eb5a0e531bf
Funcionamiento con cuenta interna y con cuenta de twitter, falta unificar usuarios
Nelo@Kenia.neluz.int
parents:
90
diff
changeset
|
9 <add name="ApplicationServices" connectionString="Data Source=.\sqlexpress;Initial Catalog=AltNetHispano;Integrated Security=SSPI" providerName="System.Data.SqlClient" /> |
67
c8099df941bd
Implementando persistencia con NHibernate en el proyecto web
nelopauselli
parents:
43
diff
changeset
|
10 <add name="AltNetHispano" connectionString="Data Source=.\sqlexpress;Initial Catalog=AltNetHispano;Integrated Security=SSPI"/> |
30 | 11 </connectionStrings> |
10 | 12 |
30 | 13 <appSettings> |
90
d1688622fa88
Autenticando con twitter (falta emprolijar el código, pero autentica!)
Nelo@Kenia.neluz.int
parents:
82
diff
changeset
|
14 <add key="consumerKey" value="uUSzC5EZ2LCNoBmaQXcUFA"/> |
d1688622fa88
Autenticando con twitter (falta emprolijar el código, pero autentica!)
Nelo@Kenia.neluz.int
parents:
82
diff
changeset
|
15 <add key="consumerSecret" value="CNN2uUwza4nGNoZf3FlAqC0xoUEKXKFWxZn3Frow"/> |
d1688622fa88
Autenticando con twitter (falta emprolijar el código, pero autentica!)
Nelo@Kenia.neluz.int
parents:
82
diff
changeset
|
16 |
30 | 17 <add key="ClientValidationEnabled" value="true"/> |
18 <add key="UnobtrusiveJavaScriptEnabled" value="true"/> | |
19 </appSettings> | |
10 | 20 |
30 | 21 <system.web> |
90
d1688622fa88
Autenticando con twitter (falta emprolijar el código, pero autentica!)
Nelo@Kenia.neluz.int
parents:
82
diff
changeset
|
22 <customErrors mode="Off"/> |
30 | 23 <compilation debug="true" targetFramework="4.0"> |
24 <assemblies> | |
25 <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> | |
26 <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> | |
27 <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> | |
28 <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> | |
29 <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> | |
30 </assemblies> | |
31 </compilation> | |
10 | 32 |
30 | 33 <authentication mode="Forms"> |
34 <forms loginUrl="~/Account/LogOn" timeout="2880" /> | |
35 </authentication> | |
10 | 36 |
30 | 37 <membership> |
38 <providers> | |
39 <clear/> | |
40 <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" | |
41 enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" | |
42 maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" | |
43 applicationName="altnet-hispano.agenda" /> | |
44 </providers> | |
45 </membership> | |
10 | 46 |
30 | 47 <profile> |
48 <providers> | |
49 <clear/> | |
50 <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" /> | |
51 </providers> | |
52 </profile> | |
10 | 53 |
30 | 54 <roleManager enabled="false"> |
55 <providers> | |
56 <clear/> | |
57 <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" /> | |
58 <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" /> | |
59 </providers> | |
60 </roleManager> | |
10 | 61 |
30 | 62 <pages> |
63 <namespaces> | |
64 <clear/> | |
65 <add namespace="System.Web.Helpers" /> | |
66 <add namespace="System.Web.Mvc" /> | |
67 <add namespace="System.Web.Mvc.Ajax" /> | |
68 <add namespace="System.Web.Mvc.Html" /> | |
69 <add namespace="System.Web.Routing" /> | |
70 <add namespace="System.Web.WebPages"/> | |
71 </namespaces> | |
72 </pages> | |
73 </system.web> | |
10 | 74 |
30 | 75 <system.webServer> |
76 <validation validateIntegratedModeConfiguration="false"/> | |
77 <modules runAllManagedModulesForAllRequests="true"/> | |
78 </system.webServer> | |
10 | 79 |
30 | 80 <runtime> |
81 <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | |
82 <dependentAssembly> | |
83 <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /> | |
84 <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0" /> | |
85 </dependentAssembly> | |
86 </assemblyBinding> | |
87 </runtime> | |
88 </configuration> |