<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-24046239</id><updated>2012-02-17T01:56:55.989+01:00</updated><category term='WPF'/><title type='text'>Tio Luiso's Blog</title><subtitle type='html'>A .NET developer adventures in Consultingland</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tioluiso.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://tioluiso.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Tio_Luiso</name><uri>http://www.blogger.com/profile/12221481407215421261</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-24046239.post-4341850824318918229</id><published>2010-04-09T12:10:00.001+02:00</published><updated>2010-04-09T12:10:29.865+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><title type='text'>Problems with bound FlowDocuments in ListViews</title><content type='html'>&lt;p&gt;I’ve been working with WPF for a time. And it’s a technology I’ve fallen in love with. It’s really powerful, yet it is really simple in some ways. Requires a thinking switch. If you have worked with Windows Forms, you’ll tend to&amp;#160; think Windows-Forms-like, so you need to learn to think WPF-like.&lt;/p&gt;  &lt;p&gt;However, I have encountered a problem that can arise when you bind a list of a custom entity that has a FlowDocument property to a ListView. Let me try to explain.&lt;/p&gt;  &lt;p&gt;I create a custom entity, like this one:&lt;/p&gt;  &lt;table border="0" cellspacing="0" cellpadding="2" width="400" bgcolor="#ffffff"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="400"&gt;         &lt;p&gt;&lt;font color="#000000"&gt;&lt;font color="#0000ff"&gt;public class&lt;/font&gt; MyEntity               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; {               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;private&lt;/font&gt; &lt;font color="#8080ff"&gt;FlowDocument&lt;/font&gt; _myFlowDocument; &lt;/font&gt;&lt;/p&gt;          &lt;p&gt;&lt;font color="#000000"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;public&lt;/font&gt; &lt;font color="#8080ff"&gt;FlowDocument&lt;/font&gt; MyFlowDocument               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; {               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;get&lt;/font&gt;               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; {               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;return&lt;/font&gt; _myFlowDocument;               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;set&lt;/font&gt;               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; {               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; _myFlowDocument = &lt;font color="#0000ff"&gt;value&lt;/font&gt;;               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; }&lt;/font&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;then, in my Window, I create a listview bound to a list of this custom entity. Like this:&lt;/p&gt;  &lt;table border="0" cellspacing="0" cellpadding="2" width="400" bgcolor="#ffffff"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="400"&gt;&lt;font color="#000000"&gt;&amp;lt;&lt;font color="#800000"&gt;ListView&lt;/font&gt; &lt;font color="#ff0000"&gt;ItemsSource&lt;/font&gt;=&amp;quot;{&lt;font color="#800000"&gt;Binding&lt;/font&gt; &lt;font color="#ff0000"&gt;Path&lt;/font&gt;&lt;font color="#0000ff"&gt;=MyList&lt;/font&gt;, &lt;font color="#ff0000"&gt;ElementName&lt;/font&gt;&lt;font color="#0000ff"&gt;=mainWindow&lt;/font&gt;}&amp;quot;&amp;gt;             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;font color="#800000"&gt;ListView.ItemTemplate&lt;/font&gt;&amp;gt;             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;font color="#800000"&gt;DataTemplate&lt;/font&gt;&amp;gt;             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;font color="#800000"&gt;FlowDocumentScrollViewer&lt;/font&gt; &lt;font color="#ff0000"&gt;MaxHeight&lt;/font&gt;&lt;font color="#0000ff"&gt;=&amp;quot;200&amp;quot;&lt;/font&gt; &lt;font color="#ff0000"&gt;Document&lt;/font&gt;=&amp;quot;{&lt;font color="#800000"&gt;Binding&lt;/font&gt; &lt;font color="#ff0000"&gt;MyFlowDocument&lt;/font&gt;}&amp;quot; /&amp;gt;             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/&lt;font color="#800000"&gt;DataTemplate&lt;/font&gt;&amp;gt;             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/&lt;font color="#800000"&gt;ListView.ItemTemplate&lt;/font&gt;&amp;gt;             &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/&lt;font color="#800000"&gt;ListView&lt;/font&gt;&amp;gt;&lt;/font&gt;&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Then you run the application, and you see the list with the flowdocuments, which is nice. You scroll down to see all the items (I have created 200 in my test). And it works. You scroll up again and the application explodes, with an exception that says “Document belongs to another FlowDocumentScrollViewer already.” Huh? What’s happening?&lt;/p&gt;  &lt;p&gt;The problem happens because of 2 different things:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;FlowDocument is a little special and keeps its own state when bound. Trying to bind a single FlowDocument to 2 controls throws that exception&lt;/li&gt;    &lt;li&gt;ListView, by default uses a VirtualizingStackPanel. Meaning that it only creates controls (based on its template) that are inside its viewport. Items not yet visited don’t have their controls created, and items that go out of scope have their controls destroyed.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;So what happens is quite obvious. When you start the application, first items have their templates rendered and they bind their FlowDocument. When you scroll down, that first items go out of scope and the controls are destroyed. When you scroll up again, controls are created again, but the same old controls, new ones. And when they try to bind to FlowDocument, they remember it is already bound.&lt;/p&gt;  &lt;p&gt;My solution is to disable VirtualizingStackPanel for that ListView, with the attached property VirtualizingStackPanel.IsVirtualizing=&amp;quot;False&amp;quot;. Warning: This causes the whole visual tree to be created just once in the beginning, causing the application to start a little more slow, and to use more memory. However, there are times that you haven’t many options.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24046239-4341850824318918229?l=tioluiso.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tioluiso.blogspot.com/feeds/4341850824318918229/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24046239&amp;postID=4341850824318918229' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default/4341850824318918229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default/4341850824318918229'/><link rel='alternate' type='text/html' href='http://tioluiso.blogspot.com/2010/04/problems-with-bound-flowdocuments-in.html' title='Problems with bound FlowDocuments in ListViews'/><author><name>Tio_Luiso</name><uri>http://www.blogger.com/profile/12221481407215421261</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24046239.post-7744592400565243072</id><published>2007-05-07T15:58:00.001+02:00</published><updated>2007-05-07T15:58:08.919+02:00</updated><title type='text'>Resetting SAGEM 1500WD</title><content type='html'>&lt;p&gt;I have ADSL, yeah!. Last friday I got my router. I asked for a Thomson router, but instead I got a Sagem 1500wd. Well, I preferred the other, but if it works, I'll keep it.&lt;/p&gt; &lt;p&gt;I start Internet Explorer and try to enter the router configuration pages. Enter the IP, press enter... And the router resets. Damn!. Well, I wait the router to reload again and enter the IP and press enter. It resets again!!!.&lt;/p&gt; &lt;p&gt;After some time trying to enter the configuration pages (and resetting the router), I tried accessing it via lan (instead of wifi). It resets. Tried to access it with another browser (Opera), and it doesn't reset!!!.&lt;/p&gt; &lt;p&gt;Now I'm starting to go nuts. Ok, let me get it straight. Somehow, there must be something in the HTTP request that makes the router reset. Well, I start Wireshark and capture each of the requests (Opera and IE). They look like this:&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;OPERA&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;GET / HTTP/1.1&lt;br&gt;User-Agent: Opera/9.20 (Windows NT 5.1; U; es-es)&lt;br&gt;Host: 192.168.0.1&lt;br&gt;Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1&lt;br&gt;Accept-Language: es-ES,es;q=0.9,en;q=0.8&lt;br&gt;Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1&lt;br&gt;Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0&lt;br&gt;Connection: Keep-Alive, TE&lt;br&gt;TE: deflate, gzip, chunked, identity, trailers &lt;p&gt;&amp;nbsp; &lt;p&gt;&lt;strong&gt;&lt;u&gt;INTERNET EXPLORER&lt;/u&gt;&lt;/strong&gt; &lt;p&gt;GET / HTTP/1.1&lt;br&gt;Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/ag-plugin, */*&lt;br&gt;Accept-Language: es-us&lt;br&gt;UA-CPU: x86&lt;br&gt;Accept-Encoding: gzip, deflate&lt;br&gt;User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.1)&lt;br&gt;Host: 192.168.0.1&lt;br&gt;Proxy-Connection: Keep-Alive &lt;p&gt;&amp;nbsp; &lt;p&gt;Then I start Fiddler2 and try to create an HTTP request. I start with Opera requests (and I get a response). And try to change parts of the request with IE request. My first thought was to try &lt;em&gt;User-Agent&lt;/em&gt;. It doesn't crash. My 2nd try was to change &lt;em&gt;Accept&lt;/em&gt;. And it crashes!!!. &lt;p&gt;Then I realize that my IE Accept string is &amp;gt; 255 chars. So I trim it down to 255. And it works. &lt;p&gt;Am I the only one that uses IE? Am I the only one that has this kind of problem? Will this DoS attack work only from the inside? OR FROM THE WAN PORT TOO???????. &lt;p&gt;I'll find out.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24046239-7744592400565243072?l=tioluiso.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tioluiso.blogspot.com/feeds/7744592400565243072/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24046239&amp;postID=7744592400565243072' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default/7744592400565243072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default/7744592400565243072'/><link rel='alternate' type='text/html' href='http://tioluiso.blogspot.com/2007/05/resetting-sagem-1500wd.html' title='Resetting SAGEM 1500WD'/><author><name>Tio_Luiso</name><uri>http://www.blogger.com/profile/12221481407215421261</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24046239.post-5808298840088553287</id><published>2007-02-15T15:27:00.001+01:00</published><updated>2007-02-15T15:27:20.143+01:00</updated><title type='text'>Anonymous Access and Forms Authentication in WSS v3</title><content type='html'>&lt;p&gt;Well, finally I am working with it, and I have been told to configure a MOSS instalation with 2 zones: An internet portal and an Intranet portal.&lt;/p&gt; &lt;p&gt;The intranet should have Integrated Windows Authentication, and the Internet Portal should have Forms authentication.&lt;/p&gt; &lt;p&gt;WSS v3 and MOSS 2007 allow to use different membershi providers, and thus enable a really incredible flexibility.&lt;/p&gt; &lt;p&gt;However, configuring it right is a little nightmare. And once you have configured it, you have to add users (the only place I've seen so far to perform this task is Web Site Administration Tool. And in order to make it work, you have to install Visual Studio and create a Virtual Directory inside the MOSS Web Application).&lt;/p&gt; &lt;p&gt;All things considered, it ended well, but that kind of configuration needs improvements.&lt;/p&gt; &lt;p&gt;I wouldn't have been able to achieve it without &lt;a title="http://channel9.msdn.com/ShowPost.aspx?PostID=229709" href="http://channel9.msdn.com/ShowPost.aspx?PostID=229709"&gt;http://channel9.msdn.com/ShowPost.aspx?PostID=229709&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24046239-5808298840088553287?l=tioluiso.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tioluiso.blogspot.com/feeds/5808298840088553287/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24046239&amp;postID=5808298840088553287' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default/5808298840088553287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default/5808298840088553287'/><link rel='alternate' type='text/html' href='http://tioluiso.blogspot.com/2007/02/anonymous-access-and-forms.html' title='Anonymous Access and Forms Authentication in WSS v3'/><author><name>Tio_Luiso</name><uri>http://www.blogger.com/profile/12221481407215421261</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24046239.post-7517373031776761342</id><published>2007-02-01T12:36:00.001+01:00</published><updated>2007-02-01T12:36:40.877+01:00</updated><title type='text'>AJAX Control Toolkit experiences</title><content type='html'>&lt;p&gt;In the project I'm currently in, we are using ASP.NET AJAX Extensions. We use certain controls, like a Calendar, Tabs... So we tried Ajax Control Toolkit. At first sight, it looks really nice. It has an awesome calendar. However, when we (&lt;a href="http://pedroafa.blogspot.com"&gt;Pedroafa&lt;/a&gt; and me) tried to use it, we found a curious bug.&lt;/p&gt; &lt;p&gt;When you insert the calendar (we found the same behaviour with the Tabs) in an empty page, it works, it's nice. However, when you insert it into a FormView (say, in the EditItem template), it loses all the style. Hmmmmm. After searching the internet for someone with a problem like that one, we found it &lt;a title="CalendarExtender loses style when placed inside a web user control." href="http://forums.asp.net/thread/1550697.aspx" target="_blank"&gt;here&lt;/a&gt;. Or something like it, anyway.&lt;/p&gt; &lt;p&gt;It looks like the CalendarExtender loads its CSS when you receive a page that contains one directly from the server, but not when it's created in an AJAXlike way.&lt;/p&gt; &lt;p&gt;They say a workaround is to have another TextBox outside the Formview and another CalendarExtender bound to it, and make them invisible. They're invisible, but they load the CSS, so when you create the one in the FormView, it's correctly formatted.&lt;/p&gt; &lt;p&gt;After seeing that kind of bug, we decided we were not using the Control Toolkit until it was&amp;nbsp;more stable.&lt;/p&gt; &lt;p&gt;However it was about time they created a Tab control. Hope we can use it soon.&lt;/p&gt; &lt;div class="wlWriterSmartContent" id="0767317B-992E-4b12-91E0-4F059A8CECA8:6ca2fc79-14f2-4ac7-9935-77ac02fbac13" contenteditable="false" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati tags: &lt;a href="http://technorati.com/tags/AJAX" rel="tag"&gt;AJAX&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24046239-7517373031776761342?l=tioluiso.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tioluiso.blogspot.com/feeds/7517373031776761342/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24046239&amp;postID=7517373031776761342' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default/7517373031776761342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default/7517373031776761342'/><link rel='alternate' type='text/html' href='http://tioluiso.blogspot.com/2007/02/ajax-control-toolkit-experiences.html' title='AJAX Control Toolkit experiences'/><author><name>Tio_Luiso</name><uri>http://www.blogger.com/profile/12221481407215421261</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24046239.post-7458736396920104151</id><published>2007-01-26T13:10:00.001+01:00</published><updated>2007-01-26T13:10:10.679+01:00</updated><title type='text'>Load Testing ASP.NET AJAX Web Sites</title><content type='html'>&lt;p&gt;Some people complained about the frequency of my posting. Well, I usually post when there are things worth posting. Daily work isn't that interesting. Nowadays I'm developing some reports for a Web Site using Reporting Services. Nothing very exciting.&lt;/p&gt; &lt;p&gt;But today, I've tried to perform a Web Test using Visual Studio 2005 in a ASP.NET AJAX Web Site. The problem is, when you're recording the test, AJAX asynchronous calls won't appear. Dammit!!!.&lt;/p&gt; &lt;p&gt;Is all lost? No!. I've found in &lt;a title="How to: Record a Web Test" href="http://msdn2.microsoft.com/en-us/library/ms182539(VS.80).aspx" target="_blank"&gt;MSDN&lt;/a&gt; someone in the community section (great improvement, by the way) posted a workaround. &lt;a title="Fiddler HTTP Debugger" href="http://www.fiddlertool.com/fiddler/" target="_blank"&gt;Fiddler&lt;/a&gt; is a tool that records HTTP Sessions. Well, it captures AJAX postbacks, too. But what is more interesting: You can save them as Visual Studio 2005 Web Tests!!!.&lt;/p&gt; &lt;p&gt;What does that mean? You're never the first one to encounter a problem.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24046239-7458736396920104151?l=tioluiso.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tioluiso.blogspot.com/feeds/7458736396920104151/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24046239&amp;postID=7458736396920104151' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default/7458736396920104151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default/7458736396920104151'/><link rel='alternate' type='text/html' href='http://tioluiso.blogspot.com/2007/01/load-testing-aspnet-ajax-web-sites.html' title='Load Testing ASP.NET AJAX Web Sites'/><author><name>Tio_Luiso</name><uri>http://www.blogger.com/profile/12221481407215421261</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24046239.post-3879331699826310187</id><published>2006-11-29T18:44:00.000+01:00</published><updated>2006-11-29T18:49:49.382+01:00</updated><title type='text'>SPSv3 and MOSS 2007, here I go</title><content type='html'>I worked for some time with MOSS 2003. I was both amazed by the capabilities and wondered if they would straighten things one time. Now MOSS 2007 is out, and looks like I'm going to work with it. So far, looks good. There are many improvements. Some of them, I would have killed in the past for them. Per-item security, master pages, totlly integrated with ASP.NET 2.0...&lt;br /&gt;&lt;br /&gt;Well, I hope it doesn't disappoint me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24046239-3879331699826310187?l=tioluiso.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tioluiso.blogspot.com/feeds/3879331699826310187/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24046239&amp;postID=3879331699826310187' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default/3879331699826310187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default/3879331699826310187'/><link rel='alternate' type='text/html' href='http://tioluiso.blogspot.com/2006/11/spsv3-and-moss-2007-here-i-go.html' title='SPSv3 and MOSS 2007, here I go'/><author><name>Tio_Luiso</name><uri>http://www.blogger.com/profile/12221481407215421261</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24046239.post-6533269638988859844</id><published>2006-11-24T18:19:00.000+01:00</published><updated>2006-11-24T18:27:24.472+01:00</updated><title type='text'>First Steps with Microsoft PowerShell</title><content type='html'>And finally it was released. Since I don't have any real knowledge about that tool, I took my first steps using the manual. My jaw began dropping since page 5 or so, and I'm still reading the user part. I cannot wait to start developing cmd-lets.&lt;br /&gt;&lt;br /&gt;I fail to imagine how big a step it is. It's simply incredible. Obviously it isn't that impressive for the average user, but for an administrator it's huge.&lt;br /&gt;&lt;br /&gt;Since now it's Vista time, I guess all demos are around WPF and Vista. When Longhorn comes out, I hope they present PowerShell with its due respect.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24046239-6533269638988859844?l=tioluiso.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tioluiso.blogspot.com/feeds/6533269638988859844/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24046239&amp;postID=6533269638988859844' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default/6533269638988859844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default/6533269638988859844'/><link rel='alternate' type='text/html' href='http://tioluiso.blogspot.com/2006/11/first-steps-with-microsoft-powershell.html' title='First Steps with Microsoft PowerShell'/><author><name>Tio_Luiso</name><uri>http://www.blogger.com/profile/12221481407215421261</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24046239.post-116283591124613510</id><published>2006-11-06T18:50:00.000+01:00</published><updated>2006-11-07T17:59:29.332+01:00</updated><title type='text'>DotNetNuke Gallery</title><content type='html'>Today, I have been trying to find a problem in DotNetNuke. When users navigate to certain page, they get something like:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;A critical error has occurred.Object reference not set to an instance of an object.&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;/em&gt;&lt;br /&gt;After a considerable time spent trying to look for the problem, finally found the EventLog table, in which I find that the problem is with Gallery Module. It throws an &lt;strong&gt;ArgumentException&lt;/strong&gt;:&lt;br /&gt;&lt;strong&gt;Path cannot be the empty string or all whitespace&lt;/strong&gt; at the&lt;br /&gt;&lt;strong&gt;DotNetNuke.Modules.Gallery.GalleryFolder.Populate&lt;/strong&gt;. Nice event log, at least.&lt;br /&gt;&lt;br /&gt;Finally, I found that bug described at &lt;a href="http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=1507"&gt;http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=1507&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Looks like they're not fixing it. Don't know why.&lt;br /&gt;&lt;br /&gt;Anyone know of an alternative image gallery for DotNetNuke?&lt;br /&gt;&lt;br /&gt;Thanks a lot&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24046239-116283591124613510?l=tioluiso.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tioluiso.blogspot.com/feeds/116283591124613510/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24046239&amp;postID=116283591124613510' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default/116283591124613510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default/116283591124613510'/><link rel='alternate' type='text/html' href='http://tioluiso.blogspot.com/2006/11/dotnetnuke-gallery.html' title='DotNetNuke Gallery'/><author><name>Tio_Luiso</name><uri>http://www.blogger.com/profile/12221481407215421261</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24046239.post-116222304192874161</id><published>2006-10-30T16:42:00.000+01:00</published><updated>2006-11-07T17:59:29.256+01:00</updated><title type='text'>About CodeCamp, Robot Fights and meeting nice people</title><content type='html'>Hi there.&lt;br /&gt;&lt;br /&gt;It has passed a long time since my previous (and first) post. Maybe I didn't have anything to say. Maybe didn't have time. I don't know.&lt;br /&gt;&lt;br /&gt;The thing is last weekend I was at the CodeCamp at El Escorial, Madrid. Try to imagine: 200 techies with their laptops (75 of which were MVP), 2 days, 8 conferences. Does the idea frighten you?. Well, I was there, too.&lt;br /&gt;&lt;br /&gt;And not only I was there, but I had to do (with a workmate) one of the conferences. One about speech technologies in Windows Vista. Last 2 weeks have been studying, looking for information, coding. And finally, there we were.&lt;br /&gt;&lt;br /&gt;The conference wasn't without problems. However, I think we did our best to explain what we were trying to explain. We had a good time, and we got some laughs and applauses.&lt;br /&gt;&lt;br /&gt;Later, at the end of the day, we had a barbecue and I had the chance to speak with some people I barely knew. And then we went to some party someone was having. From then till the end of the day, my memories become fuzzy. Blame it on the beer.&lt;br /&gt;&lt;br /&gt;Next day, there were still 2 conferences remaining, and then a Robot fight. 2 randomly chosen people had to drive a robot (Lego Mindstorm) with their voices, and push the opponent out of a circle. It was funny.&lt;br /&gt;&lt;br /&gt;And then CodeCamp was over. But I had a wonderful time and met very nice people.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24046239-116222304192874161?l=tioluiso.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tioluiso.blogspot.com/feeds/116222304192874161/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24046239&amp;postID=116222304192874161' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default/116222304192874161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default/116222304192874161'/><link rel='alternate' type='text/html' href='http://tioluiso.blogspot.com/2006/10/about-codecamp-robot-fights-and.html' title='About CodeCamp, Robot Fights and meeting nice people'/><author><name>Tio_Luiso</name><uri>http://www.blogger.com/profile/12221481407215421261</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-24046239.post-114233380839157252</id><published>2006-03-14T11:19:00.000+01:00</published><updated>2006-11-07T17:59:29.168+01:00</updated><title type='text'>Welcome to the machine</title><content type='html'>Well, first of all, welcome to my brand new blog.&lt;br /&gt;&lt;br /&gt;If there's a responsible for me creating a blog, is &lt;a href="http://blogs.clearscreen.com/migs"&gt;Miguel Jimenez&lt;/a&gt;. He founded &lt;a href="http://www.madriddotnet.com/"&gt;MAD.NUG&lt;/a&gt;, a group of Madrid .Net developers to which I proudly belong.&lt;br /&gt;&lt;br /&gt;Second, I want to explain what you can find here (maybe trying to explain myself). This is a developer blog.&lt;br /&gt;&lt;br /&gt;I am a developer, and have been for the last 8 years or so (professionally speaking). Not that I know that much. I try to learn. I enjoy everything I learn. But I realize that I'm not as good a developer as I would want to be (the beginning of the road to becoming a good developer starts with not being over-satisfied with one's work). I'd say I'm better than the average developer. However, in the jobs I've had over the time, I have found many people so full of theirselves that didn't know the half of what I know (and I repeat, I'm not any god). Particularly, I find funny the lack of knowledge present in many (so-called) consultants.&lt;br /&gt;&lt;br /&gt;The lessons I've learned? One is never too humble. One can always learn. And one has to feel the need to keep learning. And to share the learning. There have been countless times I was in need of some insight on any technology, and finally found the answer in some forum or blog.&lt;br /&gt;&lt;br /&gt;So that's what I'll try to do. I'll post here new things I learn, I'll post here funny things I see.&lt;br /&gt;&lt;br /&gt;If someone finds it interesting, or someone can see anything that serves him, then I have accomplished my purpose.&lt;br /&gt;&lt;br /&gt;That's it. Welcome to the machine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/24046239-114233380839157252?l=tioluiso.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tioluiso.blogspot.com/feeds/114233380839157252/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=24046239&amp;postID=114233380839157252' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default/114233380839157252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/24046239/posts/default/114233380839157252'/><link rel='alternate' type='text/html' href='http://tioluiso.blogspot.com/2006/03/welcome-to-machine.html' title='Welcome to the machine'/><author><name>Tio_Luiso</name><uri>http://www.blogger.com/profile/12221481407215421261</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>
