<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Memi.Reflection</title><subtitle type="html">Private members of memi's thoughts</subtitle><id>http://weblogs.asp.net/memi/atom.aspx</id><link rel="alternate" type="text/html" href="http://weblogs.asp.net/memi/default.aspx" /><link rel="self" type="application/atom+xml" href="http://weblogs.asp.net/memi/atom.aspx" /><generator uri="http://communityserver.org" version="3.0.20510.895">Community Server</generator><updated>2004-07-24T22:51:00Z</updated><entry><title>Design Time Directory in VS 2005</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/memi/archive/2005/03/20/395258.aspx" /><id>http://weblogs.asp.net/memi/archive/2005/03/20/395258.aspx</id><published>2005-03-20T18:24:00Z</published><updated>2005-03-20T18:24:00Z</updated><content type="html">&lt;p&gt;I'm currently working on some design time editors, which need to read configuration settings from the web.config / app.config files, located in the main project folder.&lt;/p&gt; &lt;p&gt;The main problem is to find the directory of the project. There are some good posts about it, like &lt;a href="http://blogs.madtechnology.net/chris/archive/2004/07/20/432.aspx"&gt;here&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="http://weblogs.asp.net/andrewseven/archive/2004/09/08/WebConfigDesignTime.aspx"&gt;here&lt;/a&gt;, but alas, they are all good only for VS 2003. I couldn't find any info about implementing such a functionality in VS 2005. &lt;/p&gt; &lt;p&gt;Do you know of any source available regarding this issue? &lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=395258" width="1" height="1"&gt;</content><author><name>memi</name><uri>http://weblogs.asp.net/members/memi.aspx</uri></author><category term="VS.NET" scheme="http://weblogs.asp.net/memi/archive/tags/VS.NET/default.aspx" /></entry><entry><title>Distributed Developer</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/memi/archive/2005/03/06/385997.aspx" /><id>http://weblogs.asp.net/memi/archive/2005/03/06/385997.aspx</id><published>2005-03-05T23:46:00Z</published><updated>2005-03-05T23:46:00Z</updated><content type="html">&lt;p&gt;This is how I feel these days.&lt;/p&gt; &lt;p&gt;I'm currently involved in four projects, which are based on the following technologies:&lt;/p&gt; &lt;p&gt;1. ASP.NET v1.1&lt;/p&gt; &lt;p&gt;2. WinForms V2.0 (Beta 1)&lt;/p&gt; &lt;p&gt;3. J2EE (With some parts in VSTO2)&lt;/p&gt; &lt;p&gt;4. And.... VB6&lt;/p&gt; &lt;p&gt;I'm looking for some COBOL projects, to complete the list.&lt;/p&gt; &lt;p&gt;So whoever wondered about my long silence - that's the explanation.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=385997" width="1" height="1"&gt;</content><author><name>memi</name><uri>http://weblogs.asp.net/members/memi.aspx</uri></author></entry><entry><title>XSL Transform performance</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/memi/archive/2004/12/22/329619.aspx" /><id>http://weblogs.asp.net/memi/archive/2004/12/22/329619.aspx</id><published>2004-12-22T06:53:00Z</published><updated>2004-12-22T06:53:00Z</updated><content type="html">&lt;p&gt;I came across few posts regarding the performance of XSL transformation in .NET 1.x, but only yesterday I came across a situation which made that quite clear.&lt;/p&gt; &lt;p&gt;We had an XML file of 1.2MB size, and a quite complicated XSL file (based on WordsheetML) to transform it.&lt;/p&gt; &lt;p&gt;Using the XslTransform object, it took about 10 secs.&lt;/p&gt; &lt;p&gt;Using MSXML4, including all the interop overhead, it took less than a second.&lt;/p&gt; &lt;p&gt;Is that reasonable? Are those the performance I should expect in the following scenarions? Did anybody find a good solution to this problem?&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=329619" width="1" height="1"&gt;</content><author><name>memi</name><uri>http://weblogs.asp.net/members/memi.aspx</uri></author></entry><entry><title>Division by Zero</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/memi/archive/2004/12/15/316015.aspx" /><id>http://weblogs.asp.net/memi/archive/2004/12/15/316015.aspx</id><published>2004-12-15T19:27:00Z</published><updated>2004-12-15T19:27:00Z</updated><content type="html">&lt;p&gt;Is it possible? I didn't think so either. But read this.&lt;/p&gt; &lt;p&gt;I'm working now on a presentation regarding J2EE and .NET. For the sake of the presentation, I wanted to create error on one of the ASP.NET pages (yes, sometimes we do it just for fun. It's not a Bug, it's a Feature, you know...).&lt;/p&gt; &lt;p&gt;So, what is the easiest way to create an exception, I thought to myself? And immediately added the following code to the Page_Load event:&lt;/p&gt; &lt;p&gt;Response.write(1/0)&lt;/p&gt; &lt;p&gt;and executed the code. To my great surprise there was no exception! The page looked just normal. But while examining it more thoroughly, I found the following text on the upper left corner:&lt;/p&gt; &lt;p&gt;אינסוף חיובי&lt;/p&gt; &lt;p&gt;To those of you who can't read Hebrew (and I guess there are a handful of you), the meaning of those words are: Positive infinity.&lt;/p&gt; &lt;p&gt;WHAT? WTF? But wait - that's not all! When I modified the code to:&lt;/p&gt; &lt;p&gt;Response.write(-3/0)&lt;/p&gt; &lt;p&gt;The result was:&lt;/p&gt; &lt;p&gt;אינסוף שלילי&lt;/p&gt; &lt;p&gt;Which is:&lt;/p&gt; &lt;p&gt;Negative infinity.&lt;/p&gt; &lt;p&gt;Now, this is really strange:&lt;/p&gt; &lt;p&gt;First, since when a division by zero results in an infinity? I don't know much about math, but I asked my mother in law, who has a PhD in Mathematics, and she said that an expression like this is undefined, and definitely not infinity.&lt;/p&gt; &lt;p&gt;Second - localized math result? I liked that!&lt;/p&gt; &lt;p&gt;Anyway, here is an &lt;a href="http://visualbasic.about.com/od/usingvbnet/l/bldyknaninfa.htm"&gt;article&lt;/a&gt; which discusses this issue, but still does not explain when a division by zero is infinity. On the other side, in &lt;a href="http://mathworld.wolfram.com/DivisionbyZero.html"&gt;this article&lt;/a&gt;&amp;nbsp;there is a good explanation why &amp;lt;Quote&amp;gt;division by zero is not defined for reals&amp;lt;/Quote&amp;gt;, and when it is defined. Well worth reading.&lt;/p&gt; &lt;p&gt;So, does anybody know why division by zero is allowed in .NET? &lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=316015" width="1" height="1"&gt;</content><author><name>memi</name><uri>http://weblogs.asp.net/members/memi.aspx</uri></author></entry><entry><title>.NET Deep Dive</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/memi/archive/2004/12/03/273988.aspx" /><id>http://weblogs.asp.net/memi/archive/2004/12/03/273988.aspx</id><published>2004-12-02T22:35:00Z</published><updated>2004-12-02T22:35:00Z</updated><content type="html">&lt;p&gt;Long time no post...&lt;/p&gt; &lt;p&gt;It was a very long silence, but I guess that's what happens when there is so much work that one can't find enough time even to blog a little...&lt;/p&gt; &lt;p&gt;Anyway, a week ago we had the .NET Deep Dive event in Israel. I gave one lecture, about Design Time programming. I think it went pretty well. One of my indicators for a good lecture is the questions you are asked after it. I had tens of questions, face to face and by Email.&lt;/p&gt; &lt;p&gt;BTW, if you would like to express you mind about the event, click &lt;a href="http://www.microsoft.com/israel/events/default.aspx?pageType=4&amp;amp;idType=3&amp;amp;id=158"&gt;here&lt;/a&gt;. You'll find here a quick survey regarding this event. Please take your time and fill it. I think it is very important to hear as many as possible opinions about events like this, so we can always improve.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=273988" width="1" height="1"&gt;</content><author><name>memi</name><uri>http://weblogs.asp.net/members/memi.aspx</uri></author></entry><entry><title>Productivity Killers</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/memi/archive/2004/10/11/240814.aspx" /><id>http://weblogs.asp.net/memi/archive/2004/10/11/240814.aspx</id><published>2004-10-11T16:45:00Z</published><updated>2004-10-11T16:45:00Z</updated><content type="html">&lt;p&gt;A few days ago the Middleware Company released a &lt;a href="http://www.middlewareresearch.com/endeavors/040921IBMDOTNET/endeavor.jsp"&gt;research&lt;/a&gt;&amp;nbsp;comparing .NET and IBM tools for java.&lt;/p&gt; &lt;p&gt;I guess most of you read this research (and if you didn't - you better do it), but I wanted to add my 2 cents about it.&lt;/p&gt; &lt;p&gt;One of the big problems in java, which is not part of the .NET (thanks god), is its over-complexity. This complexity may be logical for huge systems, with loads of servers and thousands of users, but for most systems - this is simply overkill. &lt;/p&gt; &lt;p&gt;Take, for example, the following scenario: you are developing a business logic component, and whie debugging you found some minor bug (say - add 1 to a variable). What would you do?&lt;/p&gt; &lt;p&gt;In .NET- stop the debugging, change the code, press F5 and check again. &lt;/p&gt; &lt;p&gt;In WSAD (IBM's IDE for Java), this is what may happen:&lt;/p&gt; &lt;p&gt;1. Stop the debugging (~10 secs)&lt;/p&gt; &lt;p&gt;2. Change the code (~ 2 secs)&lt;/p&gt; &lt;p&gt;3. Build the project (~0.5 mins)&lt;/p&gt; &lt;p&gt;4. Oops - hot code replace not working! Restart server (~ 10 mins) (For those who have no idea what I'm talking about -&amp;nbsp;you have to have an active server to&amp;nbsp;work on. The&amp;nbsp;closest thing to this in .NET would be the CLR, however you can't restart the CLR. To do that you would have to start the whole OS, and how&amp;nbsp;many times did you have to&amp;nbsp;do that?)&lt;/p&gt; &lt;p&gt;5. Mmmmm... where did this additional server come from? You can't really debug like that. Restart WSAD (~ 10 mins)&lt;/p&gt; &lt;p&gt;6.&amp;nbsp;Wait for the ClearCase to load its data (~5 mins)&amp;nbsp;&lt;/p&gt; &lt;p&gt;7. Start the server (~5 mins)&lt;/p&gt; &lt;p&gt;8. Now go for it, and make sure you fixed that goddam bug!&lt;/p&gt; &lt;p&gt;So - in .NET the bug was fixed and tested in less than 10 secs. In WSAD - more than half an hour to add "+1". &lt;/p&gt; &lt;p&gt;To make things clear: Our Java project is not a small one. It has hundreds of files. However, we also have large .NET projects as well, and we didn't experience those horrible times.&lt;/p&gt; &lt;p&gt;Now, I'm sure there are some lighter Java tools, and maybe our architecture is not perfect, but hey - under no circumstances should an IDE take more than 5 minutes just to start up!&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=240814" width="1" height="1"&gt;</content><author><name>memi</name><uri>http://weblogs.asp.net/members/memi.aspx</uri></author></entry><entry><title>It's a Boy!</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/memi/archive/2004/09/26/234277.aspx" /><id>http://weblogs.asp.net/memi/archive/2004/09/26/234277.aspx</id><published>2004-09-25T22:18:00Z</published><updated>2004-09-25T22:18:00Z</updated><content type="html">&lt;p&gt;We have added 20% to our family!&lt;/p&gt; &lt;p&gt;Our 4th kid, a cute boy, joined our team yesterday, at 4:30AM (in the middle of Yom Kippur, the Jewish most important day of the year). He and my wife feels very well, and I'm going to be quite busy in the next couple of days preparing the bed, the safety chair and the celebration for our newcomer.&lt;/p&gt; &lt;p&gt;We haven't choose a name yet, and you are more than&amp;nbsp; welcome the send in your suggestions.Unfortunately, "Version 2.0" &lt;a href="http://www.cnn.com/2004/US/Midwest/02/01/offbeat.baby.version2.0.ap/"&gt;already caught&lt;/a&gt;. &lt;/p&gt; &lt;p&gt;The decision will be made by the family's court, cosisted of Aluma (7), Ofek (5) and Arava (2.5). We, the parents, have no Veto rights whatsoever. &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=234277" width="1" height="1"&gt;</content><author><name>memi</name><uri>http://weblogs.asp.net/members/memi.aspx</uri></author></entry><entry><title>VS 2005 - The road to the (Dark | Client) Side</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/memi/archive/2004/09/18/231233.aspx" /><id>http://weblogs.asp.net/memi/archive/2004/09/18/231233.aspx</id><published>2004-09-18T17:43:00Z</published><updated>2004-09-18T17:43:00Z</updated><content type="html">&lt;p&gt;While toying around with Beta 1 of the VS 2005, I found myself get intrigued more about the client side apps new features, rather than the new web features.&lt;/p&gt; &lt;p&gt;Specifically - I really don't find the new Datasource controls of much help. Since no one (I hope) is going to put an SQL DataSource on an ASPX page, and the Object DataSource is simply thin layer of coupling form fields and object properties (a feature which was developed by almost every IT shop using .NET), and since most of the new server controls can be found as third party controls, usually with better features, for more than two years, I really couldn't make myself excited about this.&lt;/p&gt; &lt;p&gt;BUT - the new Visual Studio Tools for Office definitely caught me. The first version of VSTO was, IMHO, wrong step in the right direction. I mean - common, why do I need to implement 26(!) methods in an applet-like fashion just to display a single button in the task pane? But the new version is really good. To have the word designer integrated directly into the VS designer - yes, this is how things should be done! A real masterpiece.&lt;/p&gt; &lt;p&gt;Furthermore - the ClickOnce mechanism is another revelation. Now there is really no real reason to develop a web inter-organization application.&lt;/p&gt; &lt;p&gt;I guess my focus will have to shift from web based to (office | winforms) based application in the near future.&lt;/p&gt; &lt;p&gt;Good thing we still have Java, which has no any other viable alternative to the web...&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=231233" width="1" height="1"&gt;</content><author><name>memi</name><uri>http://weblogs.asp.net/members/memi.aspx</uri></author><category term="VS.NET" scheme="http://weblogs.asp.net/memi/archive/tags/VS.NET/default.aspx" /></entry><entry><title>IIS on XP Home</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/memi/archive/2004/08/24/219134.aspx" /><id>http://weblogs.asp.net/memi/archive/2004/08/24/219134.aspx</id><published>2004-08-23T22:25:00Z</published><updated>2004-08-23T22:25:00Z</updated><content type="html">&lt;p&gt;Yep, that's possible.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;My machine had crashed yesterday, and is in the lab right now. Looks like the vent has gone crazy.&lt;/p&gt; &lt;p&gt;As usual, I had a really urgent .NET thingy to finish, so I wanted to use my wife's laptop (IBM R40, cute little machine) for this.&lt;/p&gt; &lt;p&gt;There was no problem installng the VS.NET. Since it went so well, I though to myself: "Well, why won't we try to install a web server?".&lt;/p&gt; &lt;p&gt;I started with &lt;a href="http://asp.net/Projects/Cassini/Download/Default.aspx?tabindex=0&amp;amp;tabid=1"&gt;Cassini&lt;/a&gt;, but the VS.NET didn't get used to it.&lt;/p&gt; &lt;p&gt;I then found &lt;a href="http://www.15seconds.com/issue/020118.htm"&gt;this article&lt;/a&gt;, and voila! after 15 mins I had IIS on my wife's machine up and running.&lt;/p&gt; &lt;p&gt;I'm sure she is very happy about it.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=219134" width="1" height="1"&gt;</content><author><name>memi</name><uri>http://weblogs.asp.net/members/memi.aspx</uri></author><category term="VS.NET" scheme="http://weblogs.asp.net/memi/archive/tags/VS.NET/default.aspx" /></entry><entry><title>[OT] Cute easter egg for VB6</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/memi/archive/2004/08/15/214788.aspx" /><id>http://weblogs.asp.net/memi/archive/2004/08/15/214788.aspx</id><published>2004-08-15T14:30:00Z</published><updated>2004-08-15T14:30:00Z</updated><content type="html">&lt;p&gt;I may be the last one to hear about it, but in case there is someone who didn't know that:&lt;/p&gt; &lt;p&gt;1. From VB's View Menu, select toolbar, then customize......&lt;br /&gt;&lt;br /&gt;2. In the resulting dialog, click on the command tab.&lt;br /&gt;&lt;br /&gt;3. In the Categories List, select Help.&lt;br /&gt;&lt;br /&gt;4. Select "About Microsoft Visual Basic" in the Command List, and drag it to any&lt;br /&gt;menu or the toolbar.&lt;br /&gt;&lt;br /&gt;5. Right-click on the item you just dragged and rename it to "Show VB Credits"&lt;br /&gt;(without quotes).&lt;br /&gt;&lt;br /&gt;6. Then close the "Customize" dialog and click on the "Show VB Credits" item&lt;br /&gt;&lt;br /&gt;found &lt;a href="http://groups.google.com/groups?hl=en&amp;amp;lr=&amp;amp;ie=UTF-8&amp;amp;threadm=391C27AC.BD42C1B0%40home.com&amp;amp;rnum=4&amp;amp;prev=/groups%3Fq%3D%2522how%2520many%2520vb%2520programmers%2522%26hl%3Den%26lr%3D%26ie%3DUTF-8%26sa%3DN%26tab%3Dwg"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=214788" width="1" height="1"&gt;</content><author><name>memi</name><uri>http://weblogs.asp.net/members/memi.aspx</uri></author></entry><entry><title>The best thing to happen to Java...</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/memi/archive/2004/08/15/214787.aspx" /><id>http://weblogs.asp.net/memi/archive/2004/08/15/214787.aspx</id><published>2004-08-15T14:27:00Z</published><updated>2004-08-15T14:27:00Z</updated><content type="html">&lt;p&gt;... is .NET.&lt;/p&gt; &lt;p&gt;I know it sounds a bit strange, but I really think that's true.&lt;/p&gt; &lt;p&gt;Before the .NET era, the world was divided between two groups: The USA and the USSR.&lt;/p&gt; &lt;p&gt;Ok, just joking: The programming world was divided between two groups: The VB group, and the Java group. There were some smaller groups, such as the Delphinians, the Perlians, and even some Cobolists, but the major ones where, undoubtly, the VB'ers and the Java-ists.&lt;/p&gt; &lt;p&gt;Those two groups almost didn't communicate between them. The Javaists regarded the VB'ers as novice programmers, whose programming skills are limited to dragging fancy UI object in their toyish RAD environment (of M$, of course!), while the VB'ers looked at the Javaists as some ultra-geeks who prefer hand coding the RDBMS itself, if that was possible, and who actually hand coded the whole OS.&lt;/p&gt; &lt;p&gt;Those two groups lived quite happily beside each other, and continued to grow and flourish.&lt;/p&gt; &lt;p&gt;And then came .NET.&lt;/p&gt; &lt;p&gt;Suddenly, the VB'ers exposed to java-like terms such as CLR (=JVM. Yes, I know you can't really compare them, but still...), MSIL (=Bytecode), OOP (=OOP), Patterns and Practices (=Design Patterns) and so on. While assimilating this huge pile of knowledge, it was discovered that there is some high-end language that has some of these features already - Java! &lt;/p&gt; &lt;p&gt;If, four years ago, it was almost impossible to "convert" a VB'er to the Java world, it is now much easier. The basic concepts are exactly the same. Of course, there are important differences, but it is not something you can't teach yourself in 21, or even less, days. All in once, the Java world gained a ten of millions potential developers.&lt;/p&gt; &lt;p&gt;And it looks like they know that. In a heated &lt;a href="http://www.theserverside.com/discussions/thread.tss?thread_id=27962"&gt;discussion&lt;/a&gt; in &lt;a href="http://www.theserverside.com"&gt;TSS.COM&lt;/a&gt;&amp;nbsp;about the Current State of JSF (which is the Java's answer to ASP.NET), the following post appears:&lt;/p&gt; &lt;p&gt;"What I see happening is that non-gurus are literally driven off by the complexity and weirdness of JSF (and JSP custom tags and JSP expression language). The Java community is off on ivory tower framework tangents and losing sight of the simple elegance principles behind Java. Rather than competing with ASP.NET the web applications infrastructure is making Java LESS competitive and giving Microsoft a free ride with their existing developer customers who cannot begin to fathom what the heck is going on in Java web app land."&lt;br /&gt;&lt;/p&gt; &lt;p&gt;A few years ago, no one at Java Land would consider it important to compete with MS products. In fact, they may be humiliated just by mentioning it. But the .NET is a very legitimate competitor, and Java responds accordingly (or, more accurately, tries to respond accordingly.)&lt;/p&gt; &lt;p&gt;We saw this close relations recently in our company. We answered an RFP, and suggested using&amp;nbsp;.NET in our solution. The customer liked our proposal, but wanted it to be a Java solution. Now, if we were in the VB6 era, this was the point where we would say "T'was nice to meet you. See you at the next project.". But since we were familiar with .NET, we felt quite comfortable migrating to Java.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=214787" width="1" height="1"&gt;</content><author><name>memi</name><uri>http://weblogs.asp.net/members/memi.aspx</uri></author><category term="General" scheme="http://weblogs.asp.net/memi/archive/tags/General/default.aspx" /></entry><entry><title>Item Templates in Visual Studio 2005</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/memi/archive/2004/08/15/214770.aspx" /><id>http://weblogs.asp.net/memi/archive/2004/08/15/214770.aspx</id><published>2004-08-15T11:22:00Z</published><updated>2004-08-15T11:22:00Z</updated><content type="html">&lt;p&gt;One of the first things I've checked in Beta 1 of VS 2005 was the way to customize its item templates.&lt;/p&gt; &lt;p&gt;I think this feature in general is one of the best productivity boosters around, and once implemented correctly can reduce development time&amp;nbsp;remarkably. The reason most organizations don't use this feature is that in order to use it one would have to dive into complex ASCII files and obscure directories, without any reasonable debugging mechanism and sparse docs. There are some tools in the market for this purpose (such as my &lt;a href="http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=4136add2-2621-4e04-ae18-b7d41dc59aea"&gt;Merlin&lt;/a&gt;), but still - most developers don't use this feature.&lt;/p&gt; &lt;p&gt;When I looked in VS 2005 after this feature, I've got a surprise. Looks like the good guys at MS introduced a new mechanism which makes it more convenient to add / customize item templates. The new mechanism uses XML files (at last!) called vstemplates, which make the whole process a lot more human-readable. There are even already some articles about the new mechanism (like &lt;a href="http://jasonkemp.ca/articles/206.aspx"&gt;this &lt;/a&gt;and &lt;a href="http://blogs.msdn.com/jerbos/archive/2004/07/12/181008.aspx"&gt;this&lt;/a&gt;). But, it looks like the job is not done yet. The new mechanism is applied only to the Winforms application. The web based projects still uses the (not so) good old vsdir &amp;amp; vsz files.&lt;/p&gt; &lt;p&gt;Does anybody know whether this will be the situation in the final product, or&amp;nbsp;is it&amp;nbsp;only in the Beta? Will the web guys enjoy the vstemplate file, or will they keep struggle with the older files?&lt;/p&gt; &lt;p&gt;If someone knows the answer - please drop me a line.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=214770" width="1" height="1"&gt;</content><author><name>memi</name><uri>http://weblogs.asp.net/members/memi.aspx</uri></author><category term="VS.NET" scheme="http://weblogs.asp.net/memi/archive/tags/VS.NET/default.aspx" /></entry><entry><title>SUN vs MS on Web Services - what really matters</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/memi/archive/2004/08/05/208631.aspx" /><id>http://weblogs.asp.net/memi/archive/2004/08/05/208631.aspx</id><published>2004-08-05T06:46:00Z</published><updated>2004-08-05T06:46:00Z</updated><content type="html">&lt;P&gt;I couldn't overcome my curiosity, and I donwloaded the &lt;A href="http://java.sun.com/developer/codesamples/webservices.html#Performance"&gt;source code &lt;/A&gt;used by SUN for their comparison of the .NET vs Java web service performance.&lt;/P&gt;
&lt;P&gt;The first thing that striked me was, that out of 208 files in the ZIP file, only 44 are related to .NET. All the rest are required by the Java implementation.&lt;/P&gt;
&lt;P&gt;I think that's also means something when comparing those technologies.&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=208631" width="1" height="1"&gt;</content><author><name>memi</name><uri>http://weblogs.asp.net/members/memi.aspx</uri></author><category term="General" scheme="http://weblogs.asp.net/memi/archive/tags/General/default.aspx" /></entry><entry><title>DataSource controls</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/memi/archive/2004/08/01/203177.aspx" /><id>http://weblogs.asp.net/memi/archive/2004/08/01/203177.aspx</id><published>2004-07-31T23:07:00Z</published><updated>2004-07-31T23:07:00Z</updated><content type="html">&lt;P&gt;I've started diving into the VS2005 beta 1 a few days ago (I hope I'm not the last one...), and naturally started looking at the new features it provides.&lt;/P&gt;
&lt;P&gt;While browsing, I've stubmled accross &lt;A href="http://msdn.microsoft.com/data/archive/default.aspx?pull=/msdnmag/issues/04/06/aspnet20data/default.aspx"&gt;this article&lt;/A&gt;&amp;nbsp;in MSDN, which explains the new concept of the DataSource controls. This article made me wonder about this whole new concept.&lt;/P&gt;
&lt;P&gt;The SQLDataSource control looks really nice, not to say sexy, but I woner how useful it is going to be in real, full blown applications. I mean, you're not going to write your SQL in its full glory on the ASPX page, don't you? Not to mention the connection string itself. What happened to the n-tier architecture?&amp;nbsp;I don't really see a scenario in my company when I'm going to use this control, except maybe for some really tiny make-it-done-in-two-days applications.&lt;/P&gt;
&lt;P&gt;The ObjectDataSource looked more promising, until I've read the small letters. The source object has so many restrictions (default, parameterless&amp;nbsp;constructor, stateless, easily mapped to update, insert and delete actions), but what really caught my eyes are those two:&lt;/P&gt;
&lt;P&gt;1. The update / insert methods in the object are expected to accept named parameters. Hey, where did that come from? I've been taught that the best way to pass parameters between layers is by using some general purpose package, may it be XML, named value collection, or even arraylist. If I'm going to add new parameter - why do I have to change my object interface?&lt;/P&gt;
&lt;P&gt;2. The method execution is done by reflection. I don't remember where I've read it first time, but AFAIK execution by reflection can be 400 times slower than regular one. OK, when you think of it, there is no really other way of performing this databinding, but if I'm going to use reflection just to update the business layer, why won't I use some third party's professional O/R mapper, which will update my data layer?&lt;/P&gt;
&lt;P&gt;So, am I missing something? I guess it's a bit too early to ask for other's exerience on this subject, but what do you think of it? Which DataSource control will be the real hit? Will this concept be widely used?&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=203177" width="1" height="1"&gt;</content><author><name>memi</name><uri>http://weblogs.asp.net/members/memi.aspx</uri></author></entry><entry><title>VSTO setup issues</title><link rel="alternate" type="text/html" href="http://weblogs.asp.net/memi/archive/2004/07/24/195223.aspx" /><id>http://weblogs.asp.net/memi/archive/2004/07/24/195223.aspx</id><published>2004-07-24T19:51:00Z</published><updated>2004-07-24T19:51:00Z</updated><content type="html">&lt;P&gt;While reading the VSTO setup instructions, I found the following paragraph under the &amp;#8220;Troubleshooting Setup&amp;#8221;:&lt;/P&gt;
&lt;UL xmlns=""&gt;
&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Issue: High contrast mode hides text in the Setup wizard. &lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P xmlns=""&gt;&lt;FONT face=Arial size=2&gt;If you have your monitor set to use High Contrast, the text in the Setup wizard is not visible.&lt;/FONT&gt;&lt;/P&gt;
&lt;H4 class=subHeading xmlns=""&gt;&lt;FONT face=Arial size=2&gt;To view the text in the Setup Wizard&lt;/FONT&gt;&lt;/H4&gt;&lt;?xml:namespace prefix = ddue ns = "http://ddue.schemas.microsoft.com/authoring/2003/5" /&gt;&lt;ddue:steps xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5"&gt;
&lt;DIV class=subSection xmlns=""&gt;
&lt;OL xmlns=""&gt;
&lt;LI&gt;&lt;CONTENT xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5"&gt;
&lt;P xmlns=""&gt;&lt;FONT face=Arial size=2&gt;Open the &lt;B&gt;Control Panel&lt;/B&gt;, choose &lt;B&gt;Accessibility Options&lt;/B&gt;, and then click the &lt;B&gt;Display&lt;/B&gt; tab. &lt;/FONT&gt;&lt;/P&gt;&lt;/CONTENT&gt;
&lt;LI&gt;&lt;CONTENT xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5"&gt;
&lt;P xmlns=""&gt;&lt;FONT face=Arial size=2&gt;Clear the &lt;B&gt;Use High Contrast&lt;/B&gt; option.&lt;/FONT&gt;&lt;/P&gt;&lt;/CONTENT&gt;
&lt;LI&gt;&lt;CONTENT xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5"&gt;
&lt;P xmlns=""&gt;&lt;FONT face=Arial size=2&gt;Click &lt;B&gt;OK&lt;/B&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;/CONTENT&gt;
&lt;LI&gt;&lt;CONTENT xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5"&gt;
&lt;P xmlns=""&gt;&lt;FONT face=Arial size=2&gt;Run Setup for Visual Studio Tools for the Microsoft Office System again.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;
&lt;P xmlns=""&gt;It's not the first time I read setup instruction, however this is the first time I see a setup issue regarding the contrast settings of the monitor. But why stop there? Maybe there is a problem in the brightness settings? Or&amp;nbsp;even better - maybe the monitor is not turned on!&lt;/P&gt;
&lt;P xmlns=""&gt;MS guys, is there any special reason for listing this problem?&lt;/P&gt;
&lt;OL xmlns=""&gt;&lt;/CONTENT&gt;&lt;/OL&gt;&lt;/ddue:steps&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=195223" width="1" height="1"&gt;</content><author><name>memi</name><uri>http://weblogs.asp.net/members/memi.aspx</uri></author><category term="General" scheme="http://weblogs.asp.net/memi/archive/tags/General/default.aspx" /></entry></feed>