<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type='text/xsl' href='http://paulosay.spaces.live.com/mmm2008-07-24_12.50/rsspretty.aspx?rssquery=en-US;http%3a%2f%2fpaulosay.spaces.live.com%2fcategory%2fASP__x1Net%2ffeed.rss' version='1.0'?><rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:msn="http://schemas.microsoft.com/msn/spaces/2005/rss" xmlns:live="http://schemas.microsoft.com/live/spaces/2006/rss" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:cf="http://www.microsoft.com/schemas/rss/core/2005" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>.Net Adventure Center: ASP.Net</title><description /><link>http://paulosay.spaces.live.com/?_c11_BlogPart_BlogPart=blogview&amp;_c=BlogPart&amp;partqs=catASP__x1Net</link><language>en-US</language><pubDate>Wed, 20 Aug 2008 17:12:31 GMT</pubDate><lastBuildDate>Wed, 20 Aug 2008 17:12:31 GMT</lastBuildDate><generator>Microsoft Spaces v1.1</generator><docs>http://www.rssboard.org/rss-specification</docs><ttl>60</ttl><cf:parentRSS>http://paulosay.spaces.live.com/blog/feed.rss</cf:parentRSS><live:type>blogcategory</live:type><live:identity><live:id>8991984999895876816</live:id><live:alias>paulosay</live:alias></live:identity><cf:listinfo><cf:group ns="http://schemas.microsoft.com/live/spaces/2006/rss" element="typelabel" label="Type" /><cf:group ns="http://schemas.microsoft.com/live/spaces/2006/rss" element="tag" label="Tag" /><cf:group element="category" label="Category" /><cf:sort element="pubDate" label="Date" data-type="date" default="true" /><cf:sort element="title" label="Title" data-type="string" /><cf:sort ns="http://purl.org/rss/1.0/modules/slash/" element="comments" label="Comments" data-type="number" /></cf:listinfo><item><title>Integrando YUI con ASP.NET MVC</title><link>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!1070.entry</link><description>&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="" lang=ES&gt;Si han estado
trabajando o al menos le han dado una mirada al ASP.NET MVC framework, sabrán
que a diferencia del ASP.NET tradicional, no se encuentran disponibles al menos
de momento controles como por ejemplo el GridView, este vacío lo podemos llenar
con una gran cantidad de controles de terceros que fueron creados para trabajar
sobre alguna de las diversas librerías JavaScript que hay en este momento dando
vueltas, una de las mejores y más completas librerías a mi entender&lt;span style=""&gt; &lt;/span&gt;es &lt;a href="http://developer.yahoo.com/yui/"&gt;YUI  (The Yahoo! User Interface Library)&lt;/a&gt; , la misma viene repleta de
controles y una excelente documentación,&lt;span style=""&gt;   &lt;/span&gt;&lt;span style=""&gt;&lt;/span&gt;que hacen que su implementación
sea algo relativamente sencillo.&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="" lang=ES&gt;Para mostrar lo
fácil que es integrar YUI a nuestras soluciones ASP.NET MVC, &lt;span style=""&gt; &lt;/span&gt;vamos a crear una aplicación de ejemplo en el
que utilizaremos los controles DataSource y DataTable de YUI para consumir un
feed Json creado con el nuevo JsonResult.&lt;/span&gt;&lt;/font&gt;

&lt;p&gt;&lt;span style="" lang=ES&gt;&lt;font style="font-family:Tahoma" size=2&gt;Para comenzar
empezaremos con el código del Controller.&lt;/font&gt;&lt;/span&gt;
&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt;color:blue"&gt;public&lt;/span&gt;&lt;span style="font-size:10pt"&gt; &lt;span style="color:rgb(43, 145, 175)"&gt;JsonResult&lt;/span&gt; GetPlayersList()&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;&lt;span style=""&gt;    &lt;/span&gt;{&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;span style="color:rgb(43, 145, 175)"&gt;OranjeDataContext&lt;/span&gt;
ctx = &lt;span style="color:blue"&gt;new&lt;/span&gt; &lt;span style="color:rgb(43, 145, 175)"&gt;OranjeDataContext&lt;/span&gt;();&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;span style="color:blue"&gt;var&lt;/span&gt; data =
(&lt;span style="color:blue"&gt;from&lt;/span&gt; player &lt;span style="color:blue"&gt;in&lt;/span&gt;
ctx.Players&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style="color:blue"&gt;select&lt;/span&gt;
player).ToList&amp;lt;&lt;span style="color:rgb(43, 145, 175)"&gt;Player&lt;/span&gt;&amp;gt;();&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:blue"&gt;this&lt;/span&gt;.Json(&lt;span style="color:blue"&gt;new&lt;/span&gt; {
players = data.ToArray() }, &lt;span style="color:rgb(163, 21, 21)"&gt;&amp;quot;text/html&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt;line-height:115%"&gt;&lt;span style=""&gt;   
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;line-height:115%" lang=ES&gt;}&lt;/span&gt;&lt;/font&gt;&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="" lang=ES&gt;En el podrán observar
que estoy utilizando el nuevo JsonResult que es un nuevo tipo de ActionResult
que nos permite serializar la salida en formato Json, lo demás es solo una
query LinqToSql y un poco de formateo en la forma de exponer el código Json, ya
que la DataTable de YUI espera recibir la data de la siguiente manera. &lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;a href="http://www.flickr.com/photos/8031636@N06/2666923764/"&gt;&lt;img src="http://farm4.static.flickr.com/3241/2666923764_80df0487d4_o.png" alt="" border=0 width=599 height=306&gt;&lt;/a&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="" lang=ES&gt;Notaran que antes
de la data propiamente dicha la DataTable de YUI espera obtener el nombre de la
entidad expuesta.&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="" lang=ES&gt;Bien, el
siguiente paso es consumir la data en la View, para ello lo primero que haremos
será crear las referencias a los archivos JavaScript necesarios, para ello
pueden utilizar el &lt;a target="_blank" href="http://developer.yahoo.com/yui/articles/hosting/"&gt;YUI Dependency Configurator&lt;/a&gt;, el cual indicándole los
controles a implementar nos indicara los archivos que debemos utilizar.&lt;/span&gt;&lt;/font&gt;

&lt;p&gt;&lt;span style="" lang=ES&gt;&lt;font style="font-family:Tahoma" size=2&gt;Lo siguiente es
consumir la data, para ello deberemos de incluir el siguiente código en la
vista.&lt;/font&gt;&lt;/span&gt;&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt;color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:10pt;color:rgb(163, 21, 21)"&gt;script&lt;/span&gt;&lt;span style="font-size:10pt"&gt; &lt;span style="color:red"&gt;type&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;text/javascript&amp;quot;&lt;/span&gt;
&lt;span style="color:red"&gt;language&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;javascript&amp;quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;YAHOO.util.Event.addListener(window,
&lt;span style="color:rgb(163, 21, 21)"&gt;&amp;quot;load&amp;quot;&lt;/span&gt;, &lt;span style="color:blue"&gt;function&lt;/span&gt;()
{&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;&lt;span style=""&gt;    &lt;/span&gt;YAHOO.example.PopulateGrid = &lt;span style="color:blue"&gt;new&lt;/span&gt; &lt;span style="color:blue"&gt;function&lt;/span&gt;() {&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color:blue"&gt;var&lt;/span&gt;
myColumnDefs = [&lt;span style=""&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;span style=""&gt;        &lt;/span&gt;{key:&lt;span style="color:rgb(163, 21, 21)"&gt;&amp;quot;PlayerId&amp;quot;&lt;/span&gt;,
label:&lt;span style="color:rgb(163, 21, 21)"&gt;&amp;quot;Id&amp;quot;&lt;/span&gt;},&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;&lt;span style=""&gt;            &lt;/span&gt;{key:&lt;span style="color:rgb(163, 21, 21)"&gt;&amp;quot;Name&amp;quot;&lt;/span&gt;},&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;&lt;span style=""&gt;            &lt;/span&gt;{key:&lt;span style="color:rgb(163, 21, 21)"&gt;&amp;quot;Number&amp;quot;&lt;/span&gt;},&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;&lt;span style=""&gt;            &lt;/span&gt;{key:&lt;span style="color:rgb(163, 21, 21)"&gt;&amp;quot;Age&amp;quot;&lt;/span&gt;},&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;&lt;span style=""&gt;            &lt;/span&gt;{key:&lt;span style="color:rgb(163, 21, 21)"&gt;&amp;quot;Caps&amp;quot;&lt;/span&gt;},&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;&lt;span style=""&gt;        &lt;/span&gt;];&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color:blue"&gt;this&lt;/span&gt;.myDataSource
= &lt;span style="color:blue"&gt;new&lt;/span&gt; YAHOO.util.DataSource(&lt;span style="color:rgb(163, 21, 21)"&gt;&amp;quot;Home/GetPlayersList?&amp;quot;&lt;/span&gt;);&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color:blue"&gt;this&lt;/span&gt;.myDataSource.responseType
= YAHOO.util.DataSource.TYPE_JSON;&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color:blue"&gt;this&lt;/span&gt;.myDataSource.responseSchema
= {&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;&lt;span style=""&gt;        &lt;/span&gt;resultsList: &lt;span style="color:rgb(163, 21, 21)"&gt;&amp;quot;players&amp;quot;&lt;/span&gt;,fields:
[&lt;span style="color:rgb(163, 21, 21)"&gt;&amp;quot;PlayerId&amp;quot;&lt;/span&gt;,&lt;span style="color:rgb(163, 21, 21)"&gt;&amp;quot;Name&amp;quot;&lt;/span&gt;,&lt;span style="color:rgb(163, 21, 21)"&gt;&amp;quot;Number&amp;quot;&lt;/span&gt;,&lt;span style="color:rgb(163, 21, 21)"&gt;&amp;quot;Age&amp;quot;&lt;/span&gt;,&lt;span style="color:rgb(163, 21, 21)"&gt;&amp;quot;Caps&amp;quot;&lt;/span&gt;]};&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;&lt;span style=""&gt;        &lt;/span&gt;&lt;span style="color:blue"&gt;this&lt;/span&gt;.myDataTable
= &lt;span style="color:blue"&gt;new&lt;/span&gt; YAHOO.widget.DataTable(&lt;span style="color:rgb(163, 21, 21)"&gt;&amp;quot;myGrid&amp;quot;&lt;/span&gt;, myColumnDefs, &lt;span style="color:blue"&gt;this&lt;/span&gt;.myDataSource);&lt;span style=""&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;&lt;span style=""&gt;    &lt;/span&gt;};&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt"&gt;});&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="font-size:10pt;color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size:10pt;color:rgb(163, 21, 21)"&gt;script&lt;/span&gt;&lt;span style="font-size:10pt;color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/font&gt;

&lt;p&gt;&lt;font style="font-family:Tahoma" size=2&gt;&lt;span style="font-size:10pt;color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:10pt;color:rgb(163, 21, 21)"&gt;div&lt;/span&gt;&lt;span style="font-size:10pt"&gt; &lt;span style="color:red"&gt;id&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;myGrid&amp;quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;div&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="font-family:'Tahoma&amp;quot;,&amp;quot;sans-serif'"&gt;&lt;/span&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="" lang=ES&gt;En el podrán
observar que creamos un evento que se dispara cuando se carga la vista, luego hay
una función en la cual definimos las columnas a utilizar por nuestro DataTable, configuramos el DataSource el cual referencia al método que devuelve el
Json serializado desde el Controller, a continuacion seleccionamos los campos
de la entidad que utilizaremos y por ultimo creamos el DataTable al cual le pasamos
los valores antes asignados mas el Id del elemento HTML en el cual queremos que se
cree.&lt;/span&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="" lang=ES&gt;Si todo sale
bien, deberían de ver en el browser algo parecido a lo que se aprecia en la
imagen siguiente, en la misma también podrán notar la salida del JsonResult.&lt;/span&gt;&lt;/font&gt;&lt;p style="font-family:Tahoma"&gt;&lt;font size=2&gt;&lt;span style="" lang=ES&gt;&lt;/span&gt;&lt;/font&gt;

&lt;a href="http://www.flickr.com/photos/8031636@N06/2665904323/"&gt;&lt;img src="http://farm4.static.flickr.com/3270/2665904323_26e944fbf0_o.png" alt="" border=0 width=600 height=563&gt;&lt;/a&gt; &lt;br&gt;&lt;p&gt;&lt;span style="" lang=ES&gt;&lt;font style="font-family:Tahoma" size=2&gt;Aquí concluye
este ejemplo, si desean&lt;span style=""&gt; &lt;/span&gt;seguir
investigando la gran cantidad de características que se incluyen en el control
DataTable, como así también los demás controles que forman parte de YUI lo
pueden hacer en los siguientes links.&lt;/font&gt;&lt;/span&gt;&lt;p style="font-family:Tahoma;font-weight:bold"&gt;&lt;font size=2&gt;&lt;a target="_blank" href="http://developer.yahoo.com/yui/"&gt;The Yahoo! User Interface Library (YUI)&lt;/a&gt;&lt;/font&gt;

&lt;p style="font-family:Tahoma;font-weight:bold"&gt;&lt;font size=2&gt;&lt;a target="_blank" href="http://yuiblog.com/"&gt;Yahoo! User Interface Blog&lt;/a&gt;&lt;/font&gt; &lt;br&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=8991984999895876816&amp;page=RSS%3a+Integrando+YUI+con+ASP.NET+MVC&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=paulosay.spaces.live.com&amp;amp;GT1=paulosay"&gt;</description><comments>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!1070.entry#comment</comments><guid isPermaLink="true">http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!1070.entry</guid><pubDate>Mon, 14 Jul 2008 04:31:29 GMT</pubDate><slash:comments>3</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://paulosay.spaces.live.com/blog/cns!7CC9F2B7406F44D0!1070/comments/feed.rss</wfw:commentRss><wfw:comment>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!1070.entry#comment</wfw:comment><dcterms:modified>2008-07-14T04:54:42Z</dcterms:modified></item><item><title>ASP.NET Future : SearchDataSource</title><link>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!964.entry</link><description>&lt;p&gt;&lt;font face=Tahoma size=2&gt;Entre los controles que componen ASP.Net Futures, se encuentra el SearchDataSource, el nombre mismo del control me llamo la atención y me puse a investigar un poco su funcionamiento, este control nos permite integrar fácilmente búsquedas en nuestros sitios web, estas búsquedas pueden provenir de diferentes providers, yo lo probé contra Live Search, pero es posible crear nuestro propio provider. &lt;/font&gt;
&lt;p&gt;&lt;font face=Tahoma size=2&gt;Para comenzase necesitamos tener instalado ASP.Net Futures July 2007 CTP y Visual Studio 2008, luego de tener todo instalado nos dirigiremos a &lt;/font&gt;&lt;a href="http://search.msn.com/developer"&gt;&lt;font face=Tahoma size=2&gt;http://search.msn.com/developer&lt;/font&gt;&lt;/a&gt;&lt;font face=Tahoma size=2&gt;, para conseguir la clave que nos permitirá consultar el servicio de búsquedas de Live Search, para ello seleccionaremos Create and Manage Application IDs, luego de ingresar nuestra LiveID nos dirigiremos a Get a new AppID, terminado este paso anotaremos el ID que hemos generado. &lt;/font&gt;
&lt;p&gt;&lt;font face=Tahoma size=2&gt;Ahora crearemos un ASP.NET Futures Web Site tal como se ve en la siguiente imagen. &lt;/font&gt;
&lt;p&gt;&lt;a href="http://www.flickr.com/photos/8031636@N06/1363383273/"&gt;&lt;font face=Tahoma size=2&gt;&lt;img alt=SearchDataSource src="http://farm2.static.flickr.com/1265/1363383273_47fbd9b2fd_o.jpg" border=0 height=387 width=600&gt;&lt;/font&gt;&lt;/a&gt;&lt;font face=Tahoma size=2&gt; &lt;br&gt;&lt;/font&gt;
&lt;p&gt;&lt;font face=Tahoma size=2&gt;Abrimos el web.config y nos dirigimos a la siguiente sección:&lt;/font&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'" lang=ES-AR&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:10pt;color:rgb(163, 21, 21);font-family:'Tahoma','sans-serif'"&gt;search&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt; &lt;/span&gt;&lt;span style="font-size:10pt;color:red;font-family:'Tahoma','sans-serif'"&gt;enabled&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;=&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;true&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;        &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:10pt;color:rgb(163, 21, 21);font-family:'Tahoma','sans-serif'"&gt;providers&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;          &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:10pt;color:rgb(163, 21, 21);font-family:'Tahoma','sans-serif'"&gt;add&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt; &lt;/span&gt;&lt;span style="font-size:10pt;color:red;font-family:'Tahoma','sans-serif'"&gt;name&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;=&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;WindowsLiveSearchProvider&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;          &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;color:red;font-family:'Tahoma','sans-serif'"&gt;type&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;=&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;Microsoft.Web.Preview.Search.WindowsLiveSearchProvider, Microsoft.Web.Preview&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;          &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;color:red;font-family:'Tahoma','sans-serif'"&gt;appID&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;=&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;          &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;color:red;font-family:'Tahoma','sans-serif'"&gt;siteDomainName&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;=&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;xxxxxx.xxxx.xxx&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt; /&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;        &lt;/span&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size:10pt;color:rgb(163, 21, 21);font-family:'Tahoma','sans-serif'"&gt;providers&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 10pt"&gt;&lt;span style="font-size:10pt;color:blue;line-height:115%;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;      &lt;/span&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size:10pt;color:rgb(163, 21, 21);line-height:115%;font-family:'Tahoma','sans-serif'"&gt;search&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;line-height:115%;font-family:'Tahoma','sans-serif'"&gt;&amp;gt;&lt;/span&gt; 
&lt;p&gt;
&lt;p&gt;&lt;font face=Tahoma size=2&gt;En appID ingresaremos el ID que generamos previamente y en siteDomainName añadiremos el nombre de dominio contra el que queremos hacer consultas, si lo que desean es hacer búsquedas en toda la web eliminaremos esta propiedad. &lt;/font&gt;
&lt;p&gt;&lt;font face=Tahoma size=2&gt;Abrimos el archivo Default.aspx y agregamos un TextBox con el nombre TextBoxSearch y un Button con el nombre ButtonSearch, luego arrastraremos el SearhcDataSource a nuestra página y lo configuraremos de la siguiente manera.&lt;/font&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:10pt;color:rgb(163, 21, 21);font-family:'Tahoma','sans-serif'"&gt;asp&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;:&lt;/span&gt;&lt;span style="font-size:10pt;color:rgb(163, 21, 21);font-family:'Tahoma','sans-serif'"&gt;SearchDataSource&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;ID&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;SearchDataSource1&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;runat&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;server&amp;quot;&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;     &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;SelectParameters&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;         &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;asp&lt;/span&gt;&lt;span style="color:blue"&gt;:&lt;/span&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;ControlParameter&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;ControlID&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;TextBoxSearch&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;Name&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;query&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;span&gt; &lt;/span&gt;&lt;/font&gt;&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;      &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;SelectParameters&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size:10pt;color:rgb(163, 21, 21);font-family:'Tahoma','sans-serif'"&gt;asp&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;:&lt;/span&gt;&lt;span style="font-size:10pt;color:rgb(163, 21, 21);font-family:'Tahoma','sans-serif'"&gt;SearchDataSource&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;
&lt;p&gt;
&lt;p&gt;&lt;font face=Tahoma size=2&gt;Terminado esto arrastraremos también un control ListView, el cual configuraremos de la siguiente forma para mostrar el resultado de nuestras consultas. &lt;/font&gt;
&lt;p&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:10pt;color:rgb(163, 21, 21);font-family:'Tahoma','sans-serif'"&gt;asp&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;:&lt;/span&gt;&lt;span style="font-size:10pt;color:rgb(163, 21, 21);font-family:'Tahoma','sans-serif'"&gt;ListView&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;ID&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;ListView1&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;runat&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;server&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;DataSourceID&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;SearchDataSource1&amp;quot;&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;text-indent:0.5in;line-height:normal"&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:10pt;color:rgb(163, 21, 21);font-family:'Tahoma','sans-serif'"&gt;LayoutTemplate&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;        &lt;/span&gt;&lt;span&gt;                &lt;/span&gt;&lt;/font&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;ul&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;id&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;itemcontainer&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;runat&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;server&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:blue"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;ul&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;
&lt;p style="margin:0in 0in 0pt;text-indent:0.5in;line-height:normal"&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size:10pt;color:rgb(163, 21, 21);font-family:'Tahoma','sans-serif'"&gt;LayoutTemplate&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;     &lt;/span&gt;&lt;span&gt;       &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;
&lt;p style="margin:0in 0in 0pt;text-indent:0.5in;line-height:normal"&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:10pt;color:rgb(163, 21, 21);font-family:'Tahoma','sans-serif'"&gt;ItemTemplate&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;         &lt;/span&gt;&lt;span&gt;   &lt;/span&gt;&lt;span&gt;            &lt;/span&gt;&lt;/font&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;li&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt 0.5in;text-indent:0.5in;line-height:normal"&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;         &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;ul&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt 1in;text-indent:0.5in;line-height:normal"&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;         &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;a&lt;/span&gt;&lt;font color="#000000"&gt; &lt;span&gt; &lt;/span&gt;&lt;/font&gt;&lt;span style="color:red"&gt;href&lt;/span&gt;&lt;span style="color:blue"&gt;='&lt;/span&gt;&lt;font color="#000000"&gt;&lt;span style="background:yellow none repeat scroll 0% 50%"&gt;&amp;lt;%&lt;/span&gt;# Eval(&amp;quot;Url&amp;quot;) &lt;span style="background:yellow none repeat scroll 0% 50%"&gt;%&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="color:blue"&gt;'&amp;gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;span style="background:yellow none repeat scroll 0% 50%"&gt;&amp;lt;%&lt;/span&gt;&lt;/font&gt;&lt;span style="color:blue"&gt;#&lt;/span&gt;&lt;font color="#000000"&gt;Eval(&lt;/font&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;&amp;quot;Title&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt;) &lt;span style="background:yellow none repeat scroll 0% 50%"&gt;%&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;a&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;br&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;&lt;font color="#000000"&gt;&lt;span&gt;          &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;
&lt;p style="margin:0in 0in 0pt 1in;text-indent:0.5in;line-height:normal"&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;          &lt;/span&gt;&lt;span style="background:yellow none repeat scroll 0% 50%"&gt;&amp;lt;%&lt;/span&gt;&lt;/font&gt;&lt;span style="color:blue"&gt;#&lt;/span&gt;&lt;font color="#000000"&gt;Eval(&lt;/font&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;&amp;quot;Description&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt;) &lt;span style="background:yellow none repeat scroll 0% 50%"&gt;%&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;br&lt;/span&gt;&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;
&lt;p style="margin:0in 0in 0pt 1in;text-indent:0.5in;line-height:normal"&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;          &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;a&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;href&lt;/span&gt;&lt;span style="color:blue"&gt;='&lt;/span&gt;&lt;font color="#000000"&gt;&lt;span style="background:yellow none repeat scroll 0% 50%"&gt;&amp;lt;%&lt;/span&gt;# Eval(&amp;quot;Url&amp;quot;) &lt;span style="background:yellow none repeat scroll 0% 50%"&gt;%&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="color:blue"&gt;'&amp;gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;span style="background:yellow none repeat scroll 0% 50%"&gt;&amp;lt;%&lt;/span&gt;&lt;/font&gt;&lt;span style="color:blue"&gt;#&lt;/span&gt;&lt;font color="#000000"&gt;Eval(&lt;/font&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;&amp;quot;Url&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt;) &lt;span style="background:yellow none repeat scroll 0% 50%"&gt;%&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;a&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;br&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt 0.5in;text-indent:0.5in;line-height:normal"&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;         &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;ul&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt 0.5in;line-height:normal"&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;         &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;li&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;     &lt;/span&gt;&lt;span&gt;       &lt;/span&gt;&lt;/font&gt;&lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:rgb(163, 21, 21)"&gt;ItemTemplate&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size:10pt;color:rgb(163, 21, 21);font-family:'Tahoma','sans-serif'"&gt;asp&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;:&lt;/span&gt;&lt;span style="font-size:10pt;color:rgb(163, 21, 21);font-family:'Tahoma','sans-serif'"&gt;ListView&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;gt;&lt;/span&gt; 
&lt;p&gt;
&lt;p&gt;&lt;font face=Tahoma size=2&gt;Para finalizar configuraremos el evento click de ButtonSearch para que haga el DataBind de nuestro SearchDataSource.&lt;/font&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;    &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;protected&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:blue"&gt;void&lt;/span&gt;&lt;font color="#000000"&gt; ButtonSearch_Click(&lt;/font&gt;&lt;span style="color:blue"&gt;object&lt;/span&gt;&lt;font color="#000000"&gt; sender, &lt;/font&gt;&lt;span style="color:rgb(43, 145, 175)"&gt;EventArgs&lt;/span&gt;&lt;font color="#000000"&gt; e)&lt;/font&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;    &lt;/span&gt;{&lt;/font&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;       &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;       &lt;/span&gt;SearchDataSource1.DataBind();&lt;/font&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 10pt"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;    &lt;/span&gt;}&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;
&lt;p&gt;&lt;font face=Verdana size=2&gt;Ya con esto tenemos todo listo, cabe aclara que este servicio solo nos provee diez resultados por consulta lo cual a mi entender es muy poco, pero como dije anteriormente tenemos la posibilidad de crear nuestro propio provider con lo cual podemos subsanar esta limitación, después de esta aclaración podemos pasar a probar nuestra aplicación, la cual debería lucir más o menos como en la siguiente imagen.&lt;/font&gt; 
&lt;p&gt;
&lt;p&gt;&lt;a href="http://www.flickr.com/photos/8031636@N06/1364273296/"&gt;&lt;font face=Tahoma size=2&gt;&lt;img alt=SearchDataSource src="http://farm2.static.flickr.com/1386/1364273296_3a27bd3cae_o.jpg" border=0 height=508 width=600&gt;&lt;/font&gt;&lt;/a&gt;&lt;font face=Tahoma size=2&gt; &lt;/font&gt;
&lt;p&gt;&lt;font face=Verdana size=2&gt;Si desean conocer más acerca de este control y de cómo crear sus propios providers, a continuación les dejo algunos links que les serán de utilidad.&lt;/font&gt; 
&lt;p&gt;  
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=A5189BCB-EF81-4C12-9733-E294D13A58E6&amp;amp;displaylang=en"&gt;&lt;font face=Tahoma size=2&gt;Microsoft ASP.NET Futures (July 2007)&lt;/font&gt;&lt;/a&gt;&lt;font face=Tahoma size=2&gt; &lt;/font&gt;
&lt;li&gt;&lt;a href="http://quickstarts.asp.net/Futures/services/doc/enablingsearch.aspx"&gt;&lt;font face=Tahoma size=2&gt;Enabling Search for your Web Site with ASP.NET AJAX&lt;/font&gt;&lt;/a&gt;&lt;font face=Tahoma size=2&gt; &lt;/font&gt;
&lt;li&gt;&lt;a href="http://quickstarts.asp.net/Futures/util/srcview.aspx?path=~/services/samples/enablingsearch/default.src"&gt;&lt;font face=Tahoma size=2&gt;Search Provider Example&lt;/font&gt;&lt;/a&gt;&lt;/ul&gt; &lt;br&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=8991984999895876816&amp;page=RSS%3a+ASP.NET+Future+%3a+SearchDataSource&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=paulosay.spaces.live.com&amp;amp;GT1=paulosay"&gt;</description><comments>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!964.entry#comment</comments><guid isPermaLink="true">http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!964.entry</guid><pubDate>Wed, 12 Sep 2007 05:34:33 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://paulosay.spaces.live.com/blog/cns!7CC9F2B7406F44D0!964/comments/feed.rss</wfw:commentRss><wfw:comment>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!964.entry#comment</wfw:comment><dcterms:modified>2008-04-21T16:52:58Z</dcterms:modified></item><item><title>Nuevos controles en ASP.NET 3.5</title><link>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!951.entry</link><description>&lt;p&gt;&lt;font face=Tahoma size=2&gt;Entre las novedades de ASP.NET 3.5 se encuentran los controles ListView, DataPager y LinqDataSource, para mostrarles el funcionamiento de cada uno de ellos prepare esta pequeña demo donde podrán apreciar las funcionalidades básicas de los mismos.&lt;/font&gt; 
&lt;p&gt;&lt;font face=Tahoma size=2&gt;Para comenzar vamos a definir nuestro modelo de datos usando el designer de Linq To SQL, para ello vamos a agregar un archivo dbml a nuestra solución.&lt;/font&gt; 
&lt;p&gt;&lt;a href="http://www.flickr.com/photos/8031636@N06/1122300401/"&gt;&lt;img height=393 alt=LinqToSQL src="http://farm2.static.flickr.com/1329/1122300401_8967058922_o.jpg" width=600 border=0&gt;&lt;/a&gt; 
&lt;p&gt;&lt;font face=Tahoma size=2&gt;Luego arrastraremos las tablas de las cuales obtendremos los datos al designer.&lt;/font&gt; 
&lt;p&gt;&lt;a href="http://www.flickr.com/photos/8031636@N06/1122300801/"&gt;&lt;img height=437 alt="LinqToSQL Designer" src="http://farm2.static.flickr.com/1190/1122300801_0c99f991a2_o.jpg" width=600 border=0&gt;&lt;/a&gt; 
&lt;p&gt;&lt;font face=Tahoma size=2&gt;Ahora es tiempo de crear un nuevo Data Source, para ello arrastraremos a nuestra página un control LinqDataSource y pasaremos a configurarlo, primero elegiremos el contexto que vamos a utilizar.&lt;/font&gt; 
&lt;p&gt;&lt;font face=Tahoma size=2&gt;&lt;/font&gt;&lt;a href="http://www.flickr.com/photos/8031636@N06/1123144878/"&gt;&lt;img height=441 alt=LinqToSQL src="http://farm2.static.flickr.com/1310/1123144878_d1eb57cb81_o.jpg" width=600 border=0&gt;&lt;/a&gt; 
&lt;p&gt;&lt;font face=Tahoma size=2&gt;Luego seleccionaremos la tabla y campos que consultaremos.&lt;/font&gt; 
&lt;p&gt;&lt;a href="http://www.flickr.com/photos/8031636@N06/1122299971/"&gt;&lt;img height=441 alt=LinqToSQL src="http://farm2.static.flickr.com/1192/1122299971_ad608cb277_o.jpg" width=600 border=0&gt;&lt;/a&gt; 
&lt;p&gt;&lt;font face=Tahoma size=2&gt;Finalizado este paso, es tiempo de añadir a nuestra página un ScriptManager, un UpdatePanel y dentro de este ultimo un control ListView, luego pasaremos a la parte de código y configuraremos el control de la siguiente manera.&lt;/font&gt; 
&lt;p&gt;&lt;span lang=EN-US style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;lt;&lt;/span&gt;&lt;span lang=EN-US style="font-size:10pt;color:#a31515;font-family:'Tahoma','sans-serif'"&gt;asp&lt;/span&gt;&lt;span lang=EN-US style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;:&lt;/span&gt;&lt;span lang=EN-US style="font-size:10pt;color:#a31515;font-family:'Tahoma','sans-serif'"&gt;ListView&lt;/span&gt;&lt;span lang=EN-US style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;ID&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;ListView1&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;runat&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;server&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;DataSourceID&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;LinqDataSource1&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span lang=EN-US style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;     &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;LayoutTemplate&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span lang=EN-US style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;        &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;ul&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;id&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;itemcontainer&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;runat&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;server&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;class&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;players_list&amp;quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;ul&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span lang=EN-US style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;     &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;LayoutTemplate&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span lang=EN-US style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;     &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;ItemTemplate&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span lang=EN-US style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;         &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;li&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span lang=EN-US style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;             &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;img&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;src&lt;/span&gt;&lt;span style="color:blue"&gt;='&lt;/span&gt;&lt;font color="#000000"&gt;&lt;span style="background:yellow"&gt;&amp;lt;%&lt;/span&gt;#Eval(&amp;quot;Photo&amp;quot;) &lt;span style="background:yellow"&gt;%&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="color:blue"&gt;'&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:blue"&gt;/&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;br&lt;/span&gt;&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span lang=EN-US style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;             &lt;/span&gt;&lt;span style="background:yellow"&gt;&amp;lt;%&lt;/span&gt;&lt;/font&gt;&lt;span style="color:blue"&gt;#&lt;/span&gt;&lt;font color="#000000"&gt;Eval(&lt;/font&gt;&lt;span style="color:#a31515"&gt;&amp;quot;Name&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt;) &lt;span style="background:yellow"&gt;%&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;br&lt;/span&gt;&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span lang=EN-US style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;             &lt;/span&gt;Position: &lt;span style="background:yellow"&gt;&amp;lt;%&lt;/span&gt;&lt;/font&gt;&lt;span style="color:blue"&gt;#&lt;/span&gt;&lt;font color="#000000"&gt;Eval(&lt;/font&gt;&lt;span style="color:#a31515"&gt;&amp;quot;Position&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt;) &lt;span style="background:yellow"&gt;%&amp;gt;&lt;/span&gt;ǀ Age: &lt;span style="background:yellow"&gt;&amp;lt;%&lt;/span&gt;&lt;/font&gt;&lt;span style="color:blue"&gt;#&lt;/span&gt;&lt;font color="#000000"&gt;Eval(&lt;/font&gt;&lt;span style="color:#a31515"&gt;&amp;quot;Age&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt;) &lt;span style="background:yellow"&gt;%&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;br/&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;         &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;li&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;     &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;ItemTemplate&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 10pt"&gt;&lt;span style="font-size:10pt;color:blue;line-height:115%;font-family:'Tahoma','sans-serif'"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size:10pt;color:#a31515;line-height:115%;font-family:'Tahoma','sans-serif'"&gt;asp&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;line-height:115%;font-family:'Tahoma','sans-serif'"&gt;:&lt;/span&gt;&lt;span style="font-size:10pt;color:#a31515;line-height:115%;font-family:'Tahoma','sans-serif'"&gt;ListView&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;line-height:115%;font-family:'Tahoma','sans-serif'"&gt;&amp;gt;&lt;/span&gt; 
&lt;p&gt;&lt;font face=Tahoma size=2&gt;Como podrán apreciar he configurado el DataSourceID para que use el LinqDataSource que creamos previamente, luego agregue un elemento LayoutTemplate, el cual será el contenedor de nuestros datos y finalmente añadí un ItemTemplate, el cual define la apariencia de cada uno de los items a presentar, tanto el LayoutTemplate como el ItemTemplate, son los elementos del ListView que más se van a utilizar, pero el mismo posee muchos más, que nos permiten configurar y personalizar aun más la apariencia del mismo.&lt;/font&gt; 
&lt;p&gt;&lt;font face=Tahoma size=2&gt;Como último paso, agregaremos un control DataPager, el cual nos permitirá añadir la función de paginación al ListView, para ello arrastraremos un control DataPager a nuestra página y lo configuraremos de la siguiente manera.&lt;/font&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span lang=EN-US style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;  
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span lang=EN-US style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;          &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;asp&lt;/span&gt;&lt;span style="color:blue"&gt;:&lt;/span&gt;&lt;span style="color:#a31515"&gt;DataPager&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;ID&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;DataPager1&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;runat&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;server&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;class&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;pager&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;span lang=EN-US style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span style="color:red"&gt;PagedControlID&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;ListView1&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red"&gt;PageSize&lt;/span&gt;&lt;span style="color:blue"&gt;=&amp;quot;10&amp;quot;&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span lang=EN-US style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;            &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Fields&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span lang=EN-US style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;                &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;asp&lt;/span&gt;&lt;span style="color:blue"&gt;:&lt;/span&gt;&lt;span style="color:#a31515"&gt;NumericPagerField&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 0pt;line-height:normal"&gt;&lt;span lang=EN-US style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;            &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size:10pt;color:#a31515;font-family:'Tahoma','sans-serif'"&gt;Fields&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;gt;&lt;/span&gt; 
&lt;p style="margin:0in 0in 10pt"&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;          &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;asp&lt;/span&gt;&lt;span style="color:blue"&gt;:&lt;/span&gt;&lt;span style="color:#a31515"&gt;DataPager&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p&gt;&lt;font face=Tahoma size=2&gt;La configuración de este control es muy simple, solo debemos seleccionar a que control lo vamos a enlazar utilizando la propiedad PagedControlID, en este caso será nuestro ListView, luego elegiremos la cantidad de items por página y la apariencia del mismo, yo en este caso elegí NumericPagerField, pero hay un par de opciones más que podemos utilizar.&lt;/font&gt; 
&lt;p&gt;&lt;font face=Tahoma size=2&gt;Cabe aclarar que por el momento el DataPager que viene incluido en la Beta 2 de Orcas no trabaja muy bien con consultas personalizadas, así que tengan esto en cuenta si comienzan a experimentar con estos controles.&lt;/font&gt; 
&lt;p&gt;&lt;font face=Tahoma size=2&gt;Ya para terminar les dejo una imagen de los controles en funcionamiento.&lt;/font&gt; 
&lt;p&gt; &lt;a href="http://www.flickr.com/photos/8031636@N06/1123144590/"&gt;&lt;img height=595 src="http://farm2.static.flickr.com/1400/1123144590_ec85719628_o.jpg" width=600 border=0&gt;&lt;/a&gt; 
&lt;div&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=8991984999895876816&amp;page=RSS%3a+Nuevos+controles+en+ASP.NET+3.5&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=paulosay.spaces.live.com&amp;amp;GT1=paulosay"&gt;</description><comments>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!951.entry#comment</comments><guid isPermaLink="true">http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!951.entry</guid><pubDate>Wed, 15 Aug 2007 05:47:39 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://paulosay.spaces.live.com/blog/cns!7CC9F2B7406F44D0!951/comments/feed.rss</wfw:commentRss><wfw:comment>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!951.entry#comment</wfw:comment><dcterms:modified>2007-08-15T11:42:24Z</dcterms:modified></item><item><title>AJAX Control Toolkit build 10606</title><link>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!926.entry</link><description>&lt;div&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif" size=2&gt;Luego de tres meses de espera el equipo del &lt;a href="http://www.codeplex.com/AtlasControlToolkit/"&gt;AJAX Control Toolkit&lt;/a&gt; presento una nueva release de su suite de controles para ASP.NET, en esta oportunidad no se han agregado nuevos controles, pero se han arreglado aproximadamente 120 bugs y se han añadido nuevas funcionalidades a controles ya existentes, por ejemplo el AutoComplete ahora tiene la capacidad de utilizar animaciones en su despliegue, el control NumericUpDown ahora cuenta con la opción de seleccionar un rango de números y el control Tab se puede modificar en la vista de diseño, por último se le han agregado iconos a los controles cuando estos se encuentran en la toolboox de Visual Studio entre otras mejoras.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif" size=2&gt;&lt;strong&gt;&lt;a href="http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx?ReleaseId=1813"&gt;Download AJAX Control Toolkit  build 10606&lt;/a&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=8991984999895876816&amp;page=RSS%3a+AJAX+Control+Toolkit+build+10606&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=paulosay.spaces.live.com&amp;amp;GT1=paulosay"&gt;</description><comments>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!926.entry#comment</comments><guid isPermaLink="true">http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!926.entry</guid><pubDate>Thu, 07 Jun 2007 01:53:23 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://paulosay.spaces.live.com/blog/cns!7CC9F2B7406F44D0!926/comments/feed.rss</wfw:commentRss><wfw:comment>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!926.entry#comment</wfw:comment><dcterms:modified>2007-06-07T02:16:10Z</dcterms:modified></item><item><title>AJAX Control Toolkit build 10301</title><link>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!781.entry</link><description>&lt;div&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif" size=2&gt;Esta nueva release del &lt;a href="http://www.codeplex.com/AtlasControlToolkit/"&gt;AJAX Control Toolkit&lt;/a&gt; aparte de las mejoras de siempre en compatibilidad y corrección de errores, trae como novedad el soporte para localización, themes y dos nuevos controles el &lt;a href="http://paulosay.spaces.live.com/blog/cns!7CC9F2B7406F44D0!766.entry"&gt;SlideShowExtender&lt;/a&gt; y el &lt;a href="http://paulosay.spaces.live.com/blog/cns!7CC9F2B7406F44D0!684.entry"&gt;ListSearchExtender&lt;/a&gt; de los cuales les hable hace un tiempo, el primero permite crear pequeñas y simples galerías de imágenes extendiendo las funciones del control Image y el segundo permite a media que vamos ingresando caracteres buscar entre los ítems de una ListBox o un DropDownList.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face=Tahoma size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face=Tahoma size=2&gt;&lt;strong&gt;&lt;a href="http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx"&gt;Download AJAX Control Toolkit build 10301&lt;/a&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=8991984999895876816&amp;page=RSS%3a+AJAX+Control+Toolkit+build+10301&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=paulosay.spaces.live.com&amp;amp;GT1=paulosay"&gt;</description><comments>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!781.entry#comment</comments><guid isPermaLink="true">http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!781.entry</guid><pubDate>Fri, 02 Mar 2007 15:09:10 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://paulosay.spaces.live.com/blog/cns!7CC9F2B7406F44D0!781/comments/feed.rss</wfw:commentRss><wfw:comment>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!781.entry#comment</wfw:comment><dcterms:modified>2007-03-02T15:09:10Z</dcterms:modified></item><item><title>Personalizando el CreateUserWizard</title><link>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!728.entry</link><description>&lt;div&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif" size=2&gt;Hoy Francisco Jimenez Bravo de la &lt;a href="http://groups.msn.com/itgroupchile"&gt;Comunidad ITGroup&lt;/a&gt; de Chile me envió un mail preguntándome como agregar más campos al CreateUserWizard de ASP.Net, mi recomendación fue que leyese un artículo que Scott Guthrie escribió en su blog hace un tiempo comentando como hacer esto y otras cosas más, puedes ver dicho artículo en este enlace:&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face=Tahoma size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif" size=2&gt;&lt;strong&gt;&lt;a href="http://weblogs.asp.net/scottgu/archive/2005/10/18/427754.aspx"&gt;How to add a Login, Roles and Profile system to an ASP.NET 2.0 app in only 24 lines of code&lt;/a&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face=Tahoma size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif" size=2&gt;Ahora bien, si necesitas respuestas rápidas o el ingles no se te da, he armado un pequeño resumen del mismo.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif" size=2&gt;&lt;br&gt;Para comenzar debemos arrastrar un control CreateUserWizard en nuestra aplicación, luego seleccionamos la SmartTag Customize Create User Step para poder editar la apariencia y el contenido del  control.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face=Tahoma size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;a href="http://www.flickr.com/photos/62946669@N00/375222873/"&gt;&lt;img height=296 alt="CreateWizard paso 1" src="http://farm1.static.flickr.com/167/375222873_05cf6d8d74_o.jpg" width=550&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face=Tahoma size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif" size=2&gt;Francisco me comento que una de los campos que le interesaba agregar era el numero de RUT, o como le decimos en Argentina el numero de CUIT, si ven en la siguiente imagen he agregado una fila y un TextBox al cual le di el nombre de TextRUT.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face=Tahoma size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;a href="http://www.flickr.com/photos/62946669@N00/375222900/"&gt;&lt;img height=328 alt="CreateWizard paso 2" src="http://farm1.static.flickr.com/144/375222900_72a3eafd75_o.jpg" width=343&gt;&lt;/a&gt;&lt;/div&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif" size=2&gt;
&lt;div&gt;&lt;br&gt;El paso siguiente es escribir la lógica para que los datos extras se graben en el profile del usuario, para ello daremos doble click sobre el CreateUserWizard, con esto crearemos el evento y le agregaremos las siguientes líneas de código. &lt;/div&gt;
&lt;div&gt;
&lt;p&gt;&lt;span lang=ES-AR style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;  &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;protected&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:blue"&gt;void&lt;/span&gt;&lt;font color="#000000"&gt; CreateUserWizard1_CreatedUser(&lt;/font&gt;&lt;span style="color:blue"&gt;object&lt;/span&gt;&lt;font color="#000000"&gt; sender, &lt;/font&gt;&lt;span style="color:teal"&gt;EventArgs&lt;/span&gt;&lt;font color="#000000"&gt; e)&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;    &lt;/span&gt;{&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;        &lt;/span&gt;ProfileCommon customProfile = (ProfileCommon)ProfileCommon.Create(CreateUserWizard1.UserName, &lt;/font&gt;&lt;span style="color:blue"&gt;true&lt;/span&gt;&lt;font color="#000000"&gt;);&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;        &lt;/span&gt;customProfile.RUT = ((TextBox)CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl(&lt;/font&gt;&lt;span style="color:maroon"&gt;&amp;quot;TextRUT&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt;)).Text;&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;        &lt;/span&gt;customProfile.Save();&lt;/font&gt;&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;    &lt;/span&gt;}&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;/div&gt;&lt;/font&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif" size=2&gt;El código habla por sí mismo, en la primera línea creó un profile para el nuevo usuario, en la segunda le paso el valor de la TextBox para que pueble la propiedad RUT del profile y por ultimo grabo los datos. 
&lt;p&gt;Para ir finalizando debemos asegurarnos de declarar en el web.config el uso de profiles y de las correspondientes propiedades.&lt;br&gt;Si están usando los providers que viene por defecto en ASP.Net solo deben agregar estas líneas a su web.config 
&lt;p&gt; &lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:10pt;color:maroon;font-family:'Tahoma','sans-serif'"&gt;profile&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt; &lt;/span&gt;&lt;span style="font-size:10pt;color:red;font-family:'Tahoma','sans-serif'"&gt;enabled&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;=&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;true&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;p&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;      &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:10pt;color:maroon;font-family:'Tahoma','sans-serif'"&gt;properties&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;        &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:10pt;color:maroon;font-family:'Tahoma','sans-serif'"&gt;add&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt; &lt;/span&gt;&lt;span style="font-size:10pt;color:red;font-family:'Tahoma','sans-serif'"&gt;name&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;=&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;RUT&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt; &lt;/span&gt;&lt;span style="color:red"&gt;type&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;string&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt; &lt;/span&gt;&lt;span style="color:red"&gt;allowAnonymous&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;true&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span lang=ES-AR style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;lt;/&lt;/span&gt;&lt;span lang=ES-AR style="font-size:10pt;color:maroon;font-family:'Tahoma','sans-serif'"&gt;properties&lt;/span&gt;&lt;span lang=ES-AR style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;gt;&lt;/span&gt; 
&lt;p&gt;&lt;span lang=ES-AR style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;lt;/&lt;/span&gt;&lt;span lang=ES-AR style="font-size:10pt;color:maroon;font-family:'Tahoma','sans-serif'"&gt;profile&lt;/span&gt;&lt;span lang=ES-AR style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;gt;&lt;/span&gt;
&lt;p&gt; En cambio si están usando un Membership y Role Provider personalizados, prueben con estas líneas&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:10pt;color:maroon;font-family:'Tahoma','sans-serif'"&gt;profile&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt; &lt;/span&gt;&lt;span style="font-size:10pt;color:red;font-family:'Tahoma','sans-serif'"&gt;enabled&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;=&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;true&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;      &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:10pt;color:maroon;font-family:'Tahoma','sans-serif'"&gt;providers&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;        &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:10pt;color:maroon;font-family:'Tahoma','sans-serif'"&gt;add&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt; &lt;/span&gt;&lt;span style="font-size:10pt;color:red;font-family:'Tahoma','sans-serif'"&gt;name&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;=&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;MyProfileProvider&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt; &lt;/span&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;             &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;color:red;font-family:'Tahoma','sans-serif'"&gt;connectionStringName&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;=&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;DemoWizard&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt; &lt;/span&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;color:red;font-family:'Tahoma','sans-serif'"&gt;applicationName&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;=&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;/&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt; &lt;/span&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;                &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;color:red;font-family:'Tahoma','sans-serif'"&gt;type&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;=&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;System.Web.Profile.SqlProfileProvider&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt; /&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;      &lt;/span&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size:10pt;color:maroon;font-family:'Tahoma','sans-serif'"&gt;providers&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:10pt;color:maroon;font-family:'Tahoma','sans-serif'"&gt;properties&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;        &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:10pt;color:maroon;font-family:'Tahoma','sans-serif'"&gt;add&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt; &lt;/span&gt;&lt;span style="font-size:10pt;color:red;font-family:'Tahoma','sans-serif'"&gt;name&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;=&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;RUT&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt; &lt;/span&gt;&lt;span style="color:red"&gt;type&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;string&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt; &lt;/span&gt;&lt;span style="color:red"&gt;allowAnonymous&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;true&lt;/span&gt;&lt;font color="#000000"&gt;&amp;quot;&lt;/font&gt;&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;     &lt;/span&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size:10pt;color:maroon;font-family:'Tahoma','sans-serif'"&gt;properties&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size:10pt;color:maroon;font-family:'Tahoma','sans-serif'"&gt;profile&lt;/span&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;/font&gt;&lt;br&gt; &lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=8991984999895876816&amp;page=RSS%3a+Personalizando+el+CreateUserWizard&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=paulosay.spaces.live.com&amp;amp;GT1=paulosay"&gt;</description><comments>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!728.entry#comment</comments><guid isPermaLink="true">http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!728.entry</guid><pubDate>Fri, 19 Jan 2007 22:23:15 GMT</pubDate><slash:comments>6</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://paulosay.spaces.live.com/blog/cns!7CC9F2B7406F44D0!728/comments/feed.rss</wfw:commentRss><wfw:comment>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!728.entry#comment</wfw:comment><dcterms:modified>2007-06-12T19:37:17Z</dcterms:modified></item><item><title>Identificando la IP de tus clientes</title><link>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!725.entry</link><description>&lt;div&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif" size=2&gt;Es posible que en algún desarrollo con ASP.Net necesites saber la dirección IP del cliente que accede a tu aplicación, bien con ASP.Net es muy fácil obtener esta información, solo mira las siguientes líneas de código.&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;
&lt;p&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Tahoma','sans-serif'"&gt;public&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:blue"&gt;string&lt;/span&gt;&lt;font color="#000000"&gt; getIP()&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;    &lt;/span&gt;{&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;    &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;string&lt;/span&gt;&lt;font color="#000000"&gt; clientIP;&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;    &lt;/span&gt;clientIP = &lt;/font&gt;&lt;span style="color:teal"&gt;HttpContext&lt;/span&gt;&lt;font color="#000000"&gt;.Current.Request.ServerVariables[&lt;/font&gt;&lt;span style="color:maroon"&gt;&amp;quot;HTTP_X_FORWARDED_FOR&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt;];&lt;/font&gt;&lt;/span&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;    &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;    if&lt;/span&gt;&lt;font color="#000000"&gt; (clientIP == &lt;/font&gt;&lt;span style="color:blue"&gt;null&lt;/span&gt;&lt;font color="#000000"&gt;)&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;        &lt;/span&gt;{&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;    &lt;/span&gt;clientIP = &lt;/font&gt;&lt;span style="color:teal"&gt;HttpContext&lt;/span&gt;&lt;font color="#000000"&gt;.Current.Request.ServerVariables[&lt;/font&gt;&lt;span style="color:maroon"&gt;&amp;quot;REMOTE_ADDR&amp;quot;&lt;/span&gt;&lt;font color="#000000"&gt;];&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;        &lt;/span&gt;}&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="font-size:10pt;font-family:'Tahoma','sans-serif'"&gt;&lt;span&gt;&lt;font color="#000000"&gt;    &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue"&gt;return&lt;/span&gt;&lt;font color="#000000"&gt; clientIP;&lt;span&gt;        &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size:10pt;line-height:115%;font-family:'Tahoma','sans-serif'"&gt;&lt;font color="#000000"&gt;&lt;span&gt;    &lt;/span&gt;}&lt;/font&gt;&lt;/span&gt;&lt;span lang=ES-AR style="font-family:'Tahoma','sans-serif'"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif" size=2&gt;La primera línea declara la variable clientIP y luego comprueba si la variable de servidor HTTP_X_FORWARDED_FOR es nula, esto es para identificar si el cliente esta accediendo a la aplicación de forma directa o a través de un proxy.&lt;/font&gt;&lt;/div&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif" size=2&gt;
&lt;div&gt;&lt;br&gt;Añadiendo unas pocas líneas de código mas a estas desarrolle una aplicación web que es accedida por un gadget para la sidebar de Windows Vista que te permite visualizar tu dirección IP pública.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;  &lt;a title="Photo Sharing" href="http://www.flickr.com/photos/62946669@N00/374842795/"&gt;&lt;img height=130 alt=myip src="http://farm1.static.flickr.com/146/374842795_f89a45c76c_o.jpg" width=185&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;a href="http://gallery.live.com/liveItemDetail.aspx?li=453cd4ac-1660-4f26-900c-63371447c57e&amp;amp;l=1"&gt;Download My Public IP Gadget&lt;/a&gt;&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;br&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=8991984999895876816&amp;page=RSS%3a+Identificando+la+IP+de+tus+clientes&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=paulosay.spaces.live.com&amp;amp;GT1=paulosay"&gt;</description><comments>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!725.entry#comment</comments><guid isPermaLink="true">http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!725.entry</guid><pubDate>Fri, 19 Jan 2007 04:10:08 GMT</pubDate><slash:comments>1</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://paulosay.spaces.live.com/blog/cns!7CC9F2B7406F44D0!725/comments/feed.rss</wfw:commentRss><wfw:comment>http://paulosay.spaces.live.com/Blog/cns!7CC9F2B7406F44D0!725.entry#comment</wfw:comment><dcterms:modified>2007-01-30T21:50:25Z</dcterms:modified></item></channel></rss>