<?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'><id>tag:blogger.com,1999:blog-28919248</id><updated>2009-12-19T10:01:18.525+01:00</updated><title type='text'>Vault of Thoughts</title><subtitle type='html'>My random thoughts on programming and software development. ASP.NET, C#, Best Practices and other stuff.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default?start-index=26&amp;max-results=25'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>41</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-28919248.post-115520714490574784</id><published>2006-08-10T12:51:00.000+02:00</published><updated>2006-08-10T12:52:24.916+02:00</updated><title type='text'>Visual Studio Code Snippets</title><summary type='text'>I have posted an article about Visual Studio Code Snippets it is available here.</summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115520714490574784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115520714490574784' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115520714490574784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115520714490574784'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/08/visual-studio-code-snippets.html' title='Visual Studio Code Snippets'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115503790975910941</id><published>2006-08-08T13:49:00.000+02:00</published><updated>2006-08-08T13:51:49.776+02:00</updated><title type='text'>ASP.NET Controls Pack</title><summary type='text'>I have posted a new article containing a couple of controls I use on a daily basis. It can be found here.</summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115503790975910941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115503790975910941' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115503790975910941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115503790975910941'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/08/aspnet-controls-pack.html' title='ASP.NET Controls Pack'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115494532293642531</id><published>2006-08-07T11:22:00.000+02:00</published><updated>2006-08-07T12:08:42.953+02:00</updated><title type='text'>I have moved my blog</title><summary type='text'>I have moved my blog to a new address. Expect all new posts to appear there. I will keep posting here also for some time, until I get properly indexed in google :-).</summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115494532293642531/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115494532293642531' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115494532293642531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115494532293642531'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/08/i-have-moved-my-blog.html' title='I have moved my blog'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115452461678740288</id><published>2006-08-02T15:15:00.000+02:00</published><updated>2006-08-02T15:55:26.696+02:00</updated><title type='text'>Visual Studio 2005, LINQ and Refactoring Problems</title><summary type='text'>I haven't played with it a lot but but the most obvious was the far from complete support from the IDE. Given it is not a complete product I'm not blaming MS for it. What I blame MS for is the fact that installing LINQ is a destructive process i.e.: it damages some of the existing features of VS 2005.For me the One thing that hurt the most was the fact that the refactoring SmartTags stopped </summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115452461678740288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115452461678740288' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115452461678740288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115452461678740288'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/08/visual-studio-2005-linq-and.html' title='Visual Studio 2005, LINQ and Refactoring Problems'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115442945332184174</id><published>2006-08-01T12:24:00.000+02:00</published><updated>2006-08-01T14:22:52.156+02:00</updated><title type='text'>Strongly Typed Templated Controls</title><summary type='text'>All of us who have been using any kind of ASP.NET Templated Controls such as FormView, sooner or later come to a problem of extracting value from a field inside a template. For example when you are using a FormView control and want to programatically access a control inside one of the templates. What are the options? You have to resort to some kind of FindControl calls which are way from perfect.</summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115442945332184174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115442945332184174' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115442945332184174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115442945332184174'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/08/strongly-typed-templated-controls.html' title='Strongly Typed Templated Controls'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115434979743982523</id><published>2006-07-31T14:33:00.000+02:00</published><updated>2006-07-31T14:53:56.040+02:00</updated><title type='text'>Javascript in the address bar</title><summary type='text'>I have written few times about the little known features of variuos products etc. Today I will add one more to the list. There is a little known feature that web browsers have that can be very useful...The feature I'm talking about is the possibility to execute simple (or even complex) Javascript code from the address bar. While reading this go ahead and type something like:javascript: alert(2+2)</summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115434979743982523/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115434979743982523' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115434979743982523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115434979743982523'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/07/javascript-in-address-bar.html' title='Javascript in the address bar'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115347644138929014</id><published>2006-07-21T12:07:00.000+02:00</published><updated>2006-07-21T12:10:31.073+02:00</updated><title type='text'>Using Bind with nested properties</title><summary type='text'>ASP.NET 2.0 comes with a mechanism called two way databinding which allows us to declaratively bind a form element to a property of an object in such way that updates are supported. For the readonly display you typically use the Eval method in your aspx page. For the two way mechanism, you use the Bind keyword (or method?).Using the Bind keyword is really simple in most scenarios that you </summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115347644138929014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115347644138929014' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115347644138929014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115347644138929014'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/07/using-bind-with-nested-properties.html' title='Using Bind with nested properties'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115331745835123411</id><published>2006-07-19T14:41:00.000+02:00</published><updated>2006-07-19T15:57:38.456+02:00</updated><title type='text'>Debugging with immediate window</title><summary type='text'>Sometimes you really need to debug some part of the application but you don't want to start it. For example you want to debug some lower layer of the application and the startup time takes too long. There is a quick solution for this problem. You can use the Immediate Window from Visual Studio to start a debug session. Just type a class name (with namespace) and a method name you want to call if </summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115331745835123411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115331745835123411' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115331745835123411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115331745835123411'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/07/debugging-with-immediate-window.html' title='Debugging with immediate window'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115322366680167669</id><published>2006-07-18T13:51:00.000+02:00</published><updated>2006-07-18T13:54:26.816+02:00</updated><title type='text'>The Best resource on threading</title><summary type='text'>I'm not working with threads much since ASP.NET hides almost all of this complexity from me, but then I'm not working with ASP.NET exclusively. There are times when I need to do some multi-threading. In times like this I'm very happy that there are resources such as this available on the Internet. Currently It is the best article on threading I have seen. A good read.</summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115322366680167669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115322366680167669' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115322366680167669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115322366680167669'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/07/best-resource-on-threading.html' title='The Best resource on threading'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115314315558728029</id><published>2006-07-17T15:32:00.000+02:00</published><updated>2006-07-17T15:35:29.406+02:00</updated><title type='text'>Creating object instance without calling its constructor</title><summary type='text'>For a long time I have been in need of a mechanism that allows me to create an instance of an object without calling any of its constructors like the Activator.CreateInstance does. All this time I have also been aware of the fact that it can be done. My motives weren't strong enough to dig dipper in to the problem, though. Until recently...On my recent project I have enforced the use of a factory</summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115314315558728029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115314315558728029' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115314315558728029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115314315558728029'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/07/creating-object-instance-without.html' title='Creating object instance without calling its constructor'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115312959159181481</id><published>2006-07-17T11:45:00.000+02:00</published><updated>2006-07-17T15:35:48.343+02:00</updated><title type='text'>Master Page ContentPlaceHolder inside head element</title><summary type='text'>Today I have been struggling with a typical table layed out page. It was a MasterPage with few ContentPlaceHolder controls - one for content, one for menu and few for other things. The problem was that the place holders were inside the td elements and some of the elements were made in such a way that they dropped shadow (background-image) and it was not possible from the content page to override </summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115312959159181481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115312959159181481' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115312959159181481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115312959159181481'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/07/master-page-contentplaceholder-inside.html' title='Master Page ContentPlaceHolder inside head element'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115286817087405286</id><published>2006-07-14T10:43:00.000+02:00</published><updated>2006-07-14T11:09:30.883+02:00</updated><title type='text'>FireFox memory consumption</title><summary type='text'>While working on one of the web projects in asp.net that was targeted for FireFox browser only I have found an interesting thing. Take a look at the memory consumption of a FireFox process:Now, I wasn't doing anything unusual. Just testing how the site looks like in the browser. And I have only used 1 tab and only for this one application. Also the memory consumption got as high as 300mb in few </summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115286817087405286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115286817087405286' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115286817087405286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115286817087405286'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/07/firefox-memory-consumption.html' title='FireFox memory consumption'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115278680228193105</id><published>2006-07-13T11:47:00.000+02:00</published><updated>2006-07-13T12:33:22.296+02:00</updated><title type='text'>GetHashCode of the string class</title><summary type='text'>Being a curious person I have wondered how the GetHashCode method of the string class is implemented so I have performed some research. The results are interesting at least.First thing I have checked is if the GetHashCode method for the same string say "xxx" on two separate machines returns the same value - and in fact it does. This has led me to use the Reflector to see the internals of the </summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115278680228193105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115278680228193105' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115278680228193105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115278680228193105'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/07/gethashcode-of-string-class.html' title='GetHashCode of the string class'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115263691509193963</id><published>2006-07-11T18:44:00.000+02:00</published><updated>2006-07-11T18:55:15.100+02:00</updated><title type='text'>A custom container control</title><summary type='text'>I have made some research on how to create a container control - a control which works in a similar way as the Panel control does. There are three key thing you have to do in order to make it work:Add ParseChildren(false) attributeAdd PersistChildren(true) attributeAdd Designer(typeof(PanelDesigner)) attribute where PanelDesigner is a custom class deriving from ContainerControlDesigner. I haven't</summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115263691509193963/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115263691509193963' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115263691509193963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115263691509193963'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/07/custom-container-control.html' title='A custom container control'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115227591574563674</id><published>2006-07-07T14:32:00.000+02:00</published><updated>2006-07-07T14:39:59.846+02:00</updated><title type='text'>Visual Studio mystery line</title><summary type='text'>From time to time a strange thing happens to my Visual Studio - a strange line appears on the screen in a random place and stays there until VS is restarted. It is only visible in VS, when switching to other programs it disappears. Switching between windows inside visual studio does not help.This is just one of the hidden and secret features of the VS that most people don't know about. The other </summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115227591574563674/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115227591574563674' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115227591574563674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115227591574563674'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/07/visual-studio-mystery-line.html' title='Visual Studio mystery line'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115221619854921466</id><published>2006-07-06T21:30:00.000+02:00</published><updated>2006-07-06T22:08:41.690+02:00</updated><title type='text'>PathsBuildProvider update</title><summary type='text'>I have used my PathsBuildProvider a while now and I have came across some issues. I have found two major issues.The first issue had to do with the fact that from some strange reasonthe development web server treats root directory "/" in a differentway than IIS. So redirecting to /aplicationname/page.aspx hasdifferent effect those two servers. I have made a change so that theproperty is not </summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115221619854921466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115221619854921466' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115221619854921466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115221619854921466'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/07/pathsbuildprovider-update.html' title='PathsBuildProvider update'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115211480429504981</id><published>2006-07-05T17:47:00.000+02:00</published><updated>2006-07-05T17:53:24.303+02:00</updated><title type='text'>GetWebResourceUrl method catch</title><summary type='text'>After a lot of time spent on working with the Page.ClientScript.GetWebResourceUrl method made it work and it was good. I had my ImageCheckBox control which worked well using this method. The problem occured when I have inherited from the control in another project. It stopped to properly reference the javascript from the resource url. After short investigation I have found the that the problem </summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115211480429504981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115211480429504981' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115211480429504981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115211480429504981'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/07/getwebresourceurl-method-catch.html' title='GetWebResourceUrl method catch'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115204113961188023</id><published>2006-07-04T21:09:00.000+02:00</published><updated>2006-07-04T21:32:47.266+02:00</updated><title type='text'>Optimizing rendered page size</title><summary type='text'>I do not often rename the controls that I do not use in the code behind code, so when I place a Label on a page it most often is named something like Label1. It does not make a big difference when you are not paying for the bandwidth and you only have a few controls on a form. Imagine however that you are working with Master Page and there you are using the defaul ContentPlaceHolder1 as a place </summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115204113961188023/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115204113961188023' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115204113961188023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115204113961188023'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/07/optimizing-rendered-page-size.html' title='Optimizing rendered page size'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115144134934109702</id><published>2006-06-27T22:39:00.000+02:00</published><updated>2006-06-27T22:49:09.350+02:00</updated><title type='text'>UrlProperty and skins</title><summary type='text'>While working with my validator controls that support displaying images, I have come to a situation where I needed the image to be themable. Easy you think?Not so easy as it should be. I have added the Themeable(true) attribute to an ImageUrl property, put a control on a page set everything in the skin file, compilled and... ??? No it didn't work. Url points to the same directory as specified in </summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115144134934109702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115144134934109702' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115144134934109702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115144134934109702'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/06/urlproperty-and-skins.html' title='UrlProperty and skins'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115089356542486038</id><published>2006-06-21T14:35:00.000+02:00</published><updated>2006-06-21T14:39:25.436+02:00</updated><title type='text'>0.(9) == 1</title><summary type='text'>Yesterday I have found the post about the 0.(9) (zero, and infinite number of nines) equals 1. All of you weak at heart don't read it :-).</summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115089356542486038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115089356542486038' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115089356542486038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115089356542486038'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/06/09-1.html' title='0.(9) == 1'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115083550641146951</id><published>2006-06-20T22:23:00.000+02:00</published><updated>2006-06-20T22:55:15.036+02:00</updated><title type='text'>Validation controls as images - workaround</title><summary type='text'>I have been trying to make the Validation controls show an image instead of plain text in case of an error. In doing so I have used Reflector a lot.My investigation had lead me to some conclusions and even more questions. The main problem here is that for some creepy reason, the BaseValidator inherits directly from a Label control!!! Now I have always been aware of this fact but it was until not </summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115083550641146951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115083550641146951' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115083550641146951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115083550641146951'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/06/validation-controls-as-images.html' title='Validation controls as images - workaround'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115083497643226249</id><published>2006-06-20T22:16:00.000+02:00</published><updated>2006-06-20T22:22:56.433+02:00</updated><title type='text'>RuntimeObjectEditor</title><summary type='text'>Few days ago I have found some tool which I can honestly say is almost as good as the famous Reflector.The tool is called RuntimeObjectEditor and does just that: it allows you to edit your applications at runtime. Amazing! You have to check it out!</summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115083497643226249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115083497643226249' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115083497643226249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115083497643226249'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/06/runtimeobjecteditor.html' title='RuntimeObjectEditor'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-115014736626857964</id><published>2006-06-12T23:11:00.000+02:00</published><updated>2006-06-12T23:58:04.660+02:00</updated><title type='text'>ClassPropertiesBuildProvider</title><summary type='text'>Some time ago I have posted an article about using Build Provider feature of ASP.NET 2.0 to build a strongly typed classes for accessing the files found in the application virtual directory. I myself have been using this provider ever since for every Response.Redirect(). I hope that it serves you as well.I have found yet two more ways of using the Build Providers to make your applications safer (</summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/115014736626857964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=115014736626857964' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115014736626857964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/115014736626857964'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/06/classpropertiesbuildprovider.html' title='ClassPropertiesBuildProvider'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-114961978616907089</id><published>2006-06-06T20:37:00.000+02:00</published><updated>2006-06-06T20:57:08.943+02:00</updated><title type='text'>When it isn't safe to use the Parent property of a control</title><summary type='text'>While working on MyDataSourceControl (see my other articles) I have found an interesting thing. It appears that when properties of a control are set to the values provided as attributes in the aspx file, the control is not yet very functional. The most important thing that my be not set is the Parent and other control-tree related properties of the control! It seams however that it is not always </summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/114961978616907089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=114961978616907089' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/114961978616907089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/114961978616907089'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/06/when-it-isnt-safe-to-use-parent.html' title='When it isn&apos;t safe to use the Parent property of a control'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-28919248.post-114961709947028182</id><published>2006-06-06T19:55:00.000+02:00</published><updated>2006-06-06T20:04:59.686+02:00</updated><title type='text'>Minor update to MyObjectDataSource</title><summary type='text'>Today I have discovered an error in MyObjectDataSource that caused NullReferenceException to sometimes appear when the TypeName was not provided. I was unable to tell what was causing the problem because on some pages the control worked fine and on the others it didn’t. Sources are available as usually here and here.</summary><link rel='replies' type='application/atom+xml' href='http://mikeoff.blogspot.com/feeds/114961709947028182/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=28919248&amp;postID=114961709947028182' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/114961709947028182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/28919248/posts/default/114961709947028182'/><link rel='alternate' type='text/html' href='http://mikeoff.blogspot.com/2006/06/minor-update-to-myobjectdatasource_06.html' title='Minor update to MyObjectDataSource'/><author><name>Mikeon</name><uri>http://www.blogger.com/profile/04578119336523867504</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01391068745169316254'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry></feed>