Welcome to Comunidad .NET de Cd. Juárez Sign in | Join | Help

July 2007 - Posts

Connection Strings a Cualquier BBDD / to whatever DataBase

I read this the other day ...

 http://www.subgurim.net/Articulos/asp-net-general-articulo123.aspx (IN SPANISH)

 It has an interesting link, where you can learn more about connection strings to whatever data base

http://www.connectionstrings.com/ 

I hope the link will be useful 

 

Leí esto el otro día sobre connection strings

 http://www.subgurim.net/Articulos/asp-net-general-articulo123.aspx

Tiene un link muy interesante, donde puedes parender mas sobre cadenas de conexión a cualquier bbdd

http://www.connectionstrings.com/

Espero que os se util!! 

Web.Config(.net , sql) for noovies / para novatos

The last days some mates at work told that my post aren´t technical just off-topics :D, I think that developer's work, and work in the technology world is more than tech it has a lot of things around and mixing all you will get better results than if you just take the tech way.

Estos últimos dias compañeros en el trabajo me dijeron que mis post no son técnicos son más fuera de este tema, Pienso que el trabajo de un desarrollador y el trabajo en el mundo de la tecnología es más que tecnología, tiene muchas cosas alrededor y mezclandolas todas tendrás mejores resultados que si solo coges el camino tecnológico.

 So comming back with the post's topic I will write a little bit about ConnectionStrings with .net and sql

Bueno volviendo al tema del post ahora voy a contar un poco sobre cadenas de conexión o ConnectionStrings trabajando con .net y bases de datos sql.

 
 ConnectionStrings are inside of the tag <appSettings> in the web.config . Inside of this tag we can have keys (variables) which we could use in a general way in all our website and If some is changed in the configuration's parameters you just will have to change the web.config file.

Los ConnectionStrings estan dentro del campo <appSettings> del web.config . Dentro de este campo podemos añadir también claves (variables) que podremos usar de forma general en todo el sistema y que posteriormente solo tendremos que cambiar en el web.config para que afecte a toda nuestra web.

The motivation of declare this kind of variables in the webconfig is simple, you don't need compile again when you have your website is in production. I you have this important values in the code you should compile and generate the project again. So the change in the web.config is faster and more reliable.
 

El porque de declarar este tipo de variables en el webconfig es muy sencillo, ya que evitas tener que volver a generar el proyecto que ya está en producción, ya que si tuvieras estos valores en código lo deberias hacer, y el cambio en el web.config es más rápido y fiable. 

 

============================================
Examples / Ejemplos

 ===========================================

A simple connection string between .net and a sql database / Una cadena de conexión simple entre .net y una base de datos sql

<add key="Name_of_our_ConnectionString" value="web's workstation id" or IP ( in quotation marks ) ;packet size=4096;user id=NombreUsuarioBBDD;pwd=PasswordUsuario;data source="database's workstation id" or IP of the computer where the database is( in quotation marks );persist security info=False;initial catalog=nombre_de_la_BBDD" />

<add key="Nombre_de_nuestro_ConnectionString" value="Identificador de la máquina sobre la que esta trabajando la web" o IP (Entre comillas simples) ;packet size=4096;user id=NombreUsuarioBBDD;pwd=PasswordUsuario;data source= IP del equipo donde se encuentra la bbdd a la que accedemos desde nuestra web(Entre comillas simples);persist security info=False;initial catalog=nombre_de_la_BBDD" /> 

In the same web.config can be  more than one ConnectionString

 En un mismo web.config puede haber varias cadenas de conexión
 

  Declaring variables in web.config / Declarando variables en el web.config

       <add key="Name_Variable_WConfig" value="whatever string" /> (inside of appsettings)

      <add key="Nombre_Variable_WConfig" value="El string que quieras" /> (dentro de appsettings)



 Using the variables of web.config(appsettings) in your c# code / usando las variables del web.config (appsettings) en tu código c#

 Local_Variable=System.Configuration.ConfigurationSettings.AppSettings["Name_Variable_WConfig"];
 

sorry for my english, regards, salu2

Corporal Language / Lenguaje Corporal

Like i wrote in my last post I like social's themes and behaviours, you can use it in a lot of fields of your life, at your work too,  and very interesting to interact with your co-workers, mates, clients ...

 

Bueno como dije en mi anterior post me encantan los temas sociales y de comportamientos, muy aplicables a todos los campos de la vida, tan bien a la hora del trabajo, y muy importante desde mi punto de vista para interactuar con tus compañeros, clientes, etc...

Aquí os dejo un el link a un post muy interesante sobre el lenguaje corporal poderoso (is in spanish / en español)

 Some people doesn't like link things just they like make their own thinks/posts, but if there are something done which is good, just use it again, is one of the ways that makes your life easier. Futhermore if you link a content you make this info more powerfull in internet because the searchers use it to make the rankings and you coperate to put the garbage's info down and the good things on top sharing it with everyone.

 
Ha alguna gente no le gusta linkar cosas solo hacer sus propios contenidos, pero hay algunas cosas hechas qe son bastante buenas, REUTILIZALAS, es uno de los caminos para hacer tu vida más fácil. Además linkar a un contenido hace más fuerte la información en internet ya que los buscadores usan esto para hacer el ranking de páginas y colaboras a que la info basura quede en el fondo y lo bueno lo puedan ver todos.

 sorry for my english

Reuniones / Meetings (I)

En el trabajo/ at the work

 There are a lot of kinds of meetings when you are working as soft developer.

  Hay muchas clases de reuniones cuando trabajas como desarrollador de software.

 

These days we have been some meetings, In my opinion there are four kinds of work's meetings:

Estos dias hemos tenido algunas reuniones,  En mi opinión hay cuatro tipo de reuniones en el trabajo:

 

- With your co-workers / Con compañeros de trabajo

- With your boss/bosses / Con tus jefes

- With a Client/clients / Con clientes

- With co-workers who are from another company. / Con compañeros de otras empresas

 

I thing that these four are the most importants, (sure that there are more, and differents types inside of some of these) 

Creo que estas cuatro son las mas importantes. 

I really enjoy the meetings I am an entusiasm of social things, social's behaviours, so in next post i will speak about it, because technology isn't just 01010101 it has an important social charge

 
Hablaré algo más sobre estos tipos en siguientes post ya que me gusta el rollo social, reuniones y comportamientos. 

 

Camaras Ip / Ip Cameras

Bueno pues en mi proyecto fin de carrera me va a tocar tratar este tema, aquí dejo un par de links a este tipo de cámaras para los curiosos :P

 My Final project is about ip cameras, for the most curious here you have some links to some of them ...

Camara Parking/ Parking's Camera

http://146.176.65.10/axis-cgi/mjpg/video.cgi

 Ya os iré contando cosas según me vaya enterando de la historia.

 I will tell you as soon as I will know more about...

salu2

Regards and sorry for my english

 

 

Cuadernia (I)

 

Un proyecto de e-learning que estamos desarrollando (en la empresa en la que trabajo), para la junta de comunidades de Castilla la Mancha, el e-learning YA ESTA AQUí!! por todas partes es un Virus!! una pesadilla!! Bromeaba :D. La verdad es que es un tema interesante del que se puede aprender bastante, y en el cual tengo unos compañeros que son unos cracks. LINK A DESCRIPCION DEL PROYECTO

 
Algunos de ellos los conoceis, y podeis seguir sus divagaciones tecnológicas en blogs como :

 Compilando el mundo

y EscuchaTUYO
 

ya iré contando algo más sobre el tema...