Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Web/Web.config @ 158:734d3f0853bf
Manejando configuración de los publicadores con una sección propia en los .config
Agregando la opción de habilitar / deshabilitar un publicador
author | nelopauselli |
---|---|
date | Fri, 05 Aug 2011 16:55:18 -0300 |
parents | 62dc9fb3a03e |
children | d104bc8b39f4 |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/Web.config Thu Aug 04 18:45:18 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Web.config Fri Aug 05 16:55:18 2011 -0300 @@ -5,23 +5,15 @@ --> <configuration> + <configSections> + <section name="publicadores" type="AltNetHispano.Agendas.Configurations.PublicadoresConfigurationSection, AltNetHispano.Agendas.Configurations, Version=1.0.0.0, Culture=neutral" /> + </configSections> + <connectionStrings> <add name="AltNetHispano" connectionString="Data Source=.\sqlexpress;Initial Catalog=AltNetHispano;Integrated Security=SSPI"/> </connectionStrings> <appSettings> - <add key="consumerKeyAppSignIn" value="uUSzC5EZ2LCNoBmaQXcUFA"/> - <add key="consumerSecretAppSignIn" value="CNN2uUwza4nGNoZf3FlAqC0xoUEKXKFWxZn3Frow"/> - - <add key="consumerKeyAppTwitt" value="UpwG7RKRAqQfdsCKnBfHA"/> - <add key="consumerSecretAppTwitt" value="HIOb9tMewejyFX97mhsQO2FXSEQN4kzJFF6iQLx4k"/> - <add key="accessTokenAppTwitt" value="301500900-1GGyiecfAgmbrJMEcjp4XA9KXEJU2bBLyEQNQL5S" /> - <add key="accessTokenSecretAppTwitt" value="46vNqg4djzyh9GRtZoUv0c7uEl7mQ3CjVBeJ4wwRpds"/> - - <add key="userNameGoogleCalendar" value="altnethispano.desa@gmail.com" /> - <add key="passwordGoogleCalendar" value="" /> - <add key="calendarIdGoogleCalendar" value="altnethispano.desa@gmail.com" /> - <add key="ClientValidationEnabled" value="true"/> <add key="UnobtrusiveJavaScriptEnabled" value="true"/> </appSettings> @@ -93,4 +85,17 @@ </dependentAssembly> </assemblyBinding> </runtime> + + <publicadores> + <twitter enabled="true"> + <signIn consumerKey="uUSzC5EZ2LCNoBmaQXcUFA" consumerSecret="CNN2uUwza4nGNoZf3FlAqC0xoUEKXKFWxZn3Frow" /> + <sendTwitter consumerKey="UpwG7RKRAqQfdsCKnBfHA" consumerSecret="HIOb9tMewejyFX97mhsQO2FXSEQN4kzJFF6iQLx4k" accessToken="301500900-1GGyiecfAgmbrJMEcjp4XA9KXEJU2bBLyEQNQL5S" accessTokenSecret="46vNqg4djzyh9GRtZoUv0c7uEl7mQ3CjVBeJ4wwRpds"/> + </twitter> + <google enabled="true"> + <calendar userName="altnethispano.desa@gmail.com" password="" calendarId="altnethispano.desa@gmail.com" /> + </google> + <blog enabled="false"> + <writer postWriterServiceUrl="http://dummy/dummy.aspx" blogName="dummy" blogWriterMasterKey="dummy" /> + </blog> + </publicadores> </configuration> \ No newline at end of file