Glavs Blog
The dotDude of .Net
-
ASP.NET Performance
I have been absolutely swamped lately with work, and in particular determining and rectifying performance issues with a major ASP.NEt application we are developing. Measuring, tuning, rectifying and reporting are all part of my current tasks. We are using only out of the box tools to do so, in particular, the CLR Profiler for memory profiling and Microsofts Application Centre Test for generating load. During this task, I have learned a couple of things. What is one of the most useful features of the .Net framework, but also one potentially one of the most dangerous?
-
Web Service / WSE Resources
Just saw a post from Brian Groth regarding a new tool from MS researh called TulaFale, dealing with securing of web services. While I haven't yet tried the tool (but I do intend to), the page listed above for downloading the TulaFale tool also contains an absolute wealth of links to resources dealing with web services and security related aspects. I recommend visiting the page if for nothing else other than the resources listed on the page.
-
Masterpage Feedback
You may have already learned of this, but the ASP.NET team would like your feedback on what Materpage templates you would like to see. Brian Goldfarb is trying to spec this out ASAP so if you have an opinion and want it heard please post to his blog at http://blogs.msdn.com/bgold/archive/2005/01/07/348656.aspx
As much feedback as possible is required to more accurately guage what people want, so please take the time to post your thoughts. -
New Site, "WS-Test", bits and pieces...
I have finally put up a personal site devoted to technical content, all of which is pretty much ASP.NET and Web Service related. It contains links to technical articles that I have written, tools and code samples that I have released into the community (for such things as DPAPI, Web Service compression among others... full source code incl, please visit my Downloads section for full details) and an area that is titled "WS-Test". No, its not yet another standard in the WS-* family, its simply an area that provides simple web services for accessing, verification of operation and educational purposes when coming to terms with web services, SOA (Service Oriented Architecture) and WSE2 (Web Service Enhancements).
-
My New O2 XDA IIs
As a nice start to the new year, I have got myself a shiny new O2 XDA IIs PDA device. Its a real change from my previous device, a Sony-Ericsson P800 which was (and still is) a pretty cool and functional device. It has since been superseded by the Sony-Ericsson P910i which was my other choice in upgrades, apart from the O2. I originally purchased a P800 device because of its excellent form factor combined with functionality. Lots of connectivity all in a convenient phone sized device. However, I found that I used the PDA functionality a lot, and had a number of eBooks which I would read, and found the small size somewhat hard to deal with. The O2's larger screen (and much clearer IMO, even than the P910i) is much easier to read, especially for the eBooks and my most favourite viewer/eBook reader Repligo.
-
XMLDocuments and Default Namespaces
In my latest project, we have been working a lot with some complex XML documents, which never used to have a default namespace. eg.
-
New things
Totally non .Net related but more important to me, is the fact that my daughter had her 2nd baby just 2 days ago, which makes me a grand daddy for the 2nd time! His name is William Paul Francis and weighed in at approx 4Kg. A nice size indeed (much to my daughters anguish at the time...). Me and my wife are very proud grandparents again, and my daughter and her partner are very happy indeed. I shall post some pictures soon.
-
ASP.NET Mixed Mode Authentication
Ever wanted to have an ASP.NET application that utilises the seamless login process of windows integrated authentication (for intranet users for example), but also be able to easily handle anonynous/forms based authentication, and all using the one standard principal object behind the scenes for full role based authorisation support?
-
Windows Principal and the MAGIC_NUMBER
A number of our apps use a mixed model of authentication. We have a Windows integrated authorisation site which extracts role information from intranet users, stores it in a cooke, and redirects to a forms aiuth site. Users not on the intranet can access via the forms auth site directly. Part of this process involves enabling impersonation on the windows auth site and extracting role information from the windows princpal. This is done using the code below :-
-
UML Modelling in VS.Net
As part of the MSDN connection program offered by Microsoft here in Australia, I believe that all dedicated level developers received a copy of Borlands "Together" for Visual Studio.Net. An addin that lets you do UML modelling synchronised to source code. It comes complete with a patterns repository and other features. I wasn't too interested in synchronising source code but loved the idea of integrated UML modelling in VS.Net. I like UML and use it constantly to describe class designs and system designs for a lot of our detailed design documents we need to produce, as well as to simply describe a class design for developers in my team to work towards. (Note: If you dont use UML for your design work, I recommend you start, even if its just to describe class heirarchy and design for yourself)