Palermo4
J. Michael Palermo IV
-
Hanging out with Scott(s)
I am hanging out with Scott Cate and Scott Watermasysk at the W in San Diego. After talking with Scott Watermasysk, I have added categories to my blogs. Here he is hard at work at the hotel:
-
Resolving entities when loading XmlDocument
Recently I needed to place special characters in an xml document. I had to put the &trade and ® into the text of an attribute. When I loaded the xml into XmlDocument, I received an exception:
-
Getting the absolute path in ASP.NET
Typically when we create ASP.NET applications, we are developing against a virtual directory. However, when we deploy our app to a production web server, it is likely set up as a web site. This can have an impact on href assignments when using absolute paths. In order for paths to be consistant between virtual directories and web sites, I created a helper method that will work in either environment. Here is the code:
-
A night with Scott Guthrie
Last night was our super user group meeting - guest speaker Scott Guthrie. He did the ASP.NET Roadshow for us here in Phoenix. We had more people show for his presentation than DevDays!!! All went well thanks to our community super-star, Scott Cate. Also cool to hang out with Dan Wahlin, who admitted to actually reading my blogs. I urged him to start blogging as well. Anyway, the samples from the presentation are available at Scotts web site, http://www.scottgu.com.
-
Authentication issue with session state
Today I am teaching the ASP.NET (2310B) course from Microsoft. In the module on state management, one of my students stumbled across a peculiar behavior. Here is the setting…
-
Google this!
I have just realized the power of Google with weblogs! The other day I was talking with Robert McLaws about blogging in general, and he told me that he blogs everything so that it can be searchable by Google. Just provide the weblog name as a search context, followed by any keywords.
-
Reading XML
Don’t miss Dare’s new post on the different flavors for reading XML. I am looking forward to his article on the XPathReader to be posted at the XML Developer Center in the near future.
-
Getting into shape
Last week I was teaching a VB.NET class at Interface, and a student in the class took my classic illustration of abstraction and polymorphism to the next level. I always like using ‘shape’ as an abstract example, where ‘draw’ is an abstract method. I ask the question “If you create a ‘shape’ with a ‘draw’ method… what will the shape look like?” Of course, shape is too abstract to know the answer.
-
Using XPath on HTML
Just read another post by Dare with the XML team at Microsoft. My big question: Does this require the underlying HTML to actually be XHTML?
-
Of things data and XML...
Recently, Scott Cate and I began architecting enhancements to kbAlertz and other sites. I can see so much potential for XML technologies in every layer of the application. I am looking forward to the new XML features in SQL Server 2005, such as the XML data type mentioned in Dare’s recent blog.