Concepts and interaction between IIS and ASP.NET components can be confusing at times. Relationships amongst IIS application, virtual directory, application pool, application domain are confusing at best. Having researched a bit, I attempted to model the various concepts and their inter-relationships using the following UML class diagram. Concepts in Pink applies strictly to ASP.NET domain. Concepts in Blue are applicable to IIS domain. A point to note is that a VirtualDirectory (VD) can contain other VDs. If a composed/ sub VD is not configured as an Application, the VD is treated as a sub-directory of the composing/ parent Application. As such, all the resources may be shared (e.g. application, session information). If the composed/ sub VD is configured as a separate Application, the resources are not shared (even if the same ApplicationPool is in use!). The reason is that the resources are isolated based on the ApplicationDomain . To deal with request/ session/ DB timeout, the...
Ever had a need to process pages from a website that does not support any form of structural system integration like Web Service, RSS, REST, etc. The only information available is ill-formed HTML; not even XHTML!?I have always been using HTML Agility for the .NET platform to perform such HTML screen-scraping. Recently, found a number of Java equivalent toolkit to do the same: TagSoup JSoup HTML Parser HTML Cleaner NekoHTML Found this site that collects various toolkits for this purpose here .
MindMap Hack I've been using Astah (download here ) more recently for the MindMap feature and felt to share this wonderful "hack" with you. I jotted some points in NotePad and wish to quickly transfer them into Astah as a MindMap. The easiest way to retain the hierarchy is to use [TAB]. Therefore I could easily transform this Hierarchical List of Points Into Same List of Points in MindMap Here is how it's done: Select all text in NotePad (or equivalent) and Copy (Ctrl-C) Go to Astah and create a New MindMap Diagram Click on Mindmap0 or whatever existing topic and Paste (Ctrl-V) Like magic, the MindMap is created and the hierarchy is retained. UML Deployment Diagram You wish to draw professional-looking diagrams using AWS/ Azure icons. Is that possible & easy to do in Astah? AWS Deployment Believe it or not, the above is drawn in Astah! Here is how it's done: Go to Tools -> Project Settings -> Set Icon for Stereotype (See Custom Icons for Stereotypes Di...
Comments