Clemens Vasters: Enterprise Development & Alien Abductions
Thoughts about Microsoft .NET, Enterprise Services, XML and other dull and boring things.
Updated: 7/30/2002; 1:55:40 PM.

 














Subscribe to "Clemens Vasters: Enterprise Development & Alien Abductions" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 
 

Thursday, July 25, 2002

James Snell agrees with me here, herehere and here.

Historic sidenote: In mid 2000 James and myself did a posting on the DevelopMentor SOAP mailing list together as a discussion proposal that tried to map sort-of transactional semantics onto HTTP using SOAP headers. It actually shows that even if you bend over backwards like that, you still can't map ACID transactions onto HTTP, because even with brutally abusing HTTP (which we needed to do) there is still plenty of risk for failure in the commit phase. The really funny thing about this piece is that I still keep getting questions on this once in a while and that "SOAP-CTX" was sometimes even mentioned on other people's presentations and in articles as if it were a dead serious standards proposal. It was just a puzzle that James and I liked to think about at that time, I guess. The archives contain all of our uncensored silliness.


11:03:20 PM      comment []

ASP.NET state management with style (and attributes)

If you like what this code does for you, you can keep it. The comments should be good enough, so I just post this as-is instead of a lengthy blurb. Here's a teaser: 

         public class MyPage : StateManagingPage
         {
             [PersistentPageState] public int pageVisitsEver;
             [SessionPageState] public int pageVisitsThisSession;
             [TransientPageState] public int roundtripsThisPage;
         
             /* omissions... */
        
             private void Page_Load(object sender, System.EventArgs e)
             {
                  pageVisitsEver++;
                  pageVisitsThisSession++;
                  roundtripsThisPage++;            
             }    
          
         }


Enjoy!


10:03:29 PM      comment []


© Copyright 2002 Clemens Vasters.



Click here to visit the Radio UserLand website.

 


Send email to Clemens
July 2002
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
May   Aug

newtelligence
MSDN Regional Director