Fabrice's weblog
Tools and Source
-
Bitfield enums and the Flags attribute
You can work with enum as bitfields if you use powers of 2 for the values.
For example, if you have an enum like this one: -
Aspect-Oriented Refactoring Series
Two interesting articles entitled "Aspect-Oriented Refactoring Series" (Part 1, Part 2) found through James Avery's .NET Nightly 72: Yeah, it's on TheServerSide, and yeah it is geared toward Java, but still a good read.
-
X#
There is no such language called X# at Microsoft. There was an exterimental language developed that was data-centric, but it is gone and no longer developed and our team VS Data is responsible for helping get the good things from that research project into VB, C#, and the .NET Framework classes. You or someone should feel free to post my comments here on that Wiki page so those who read it in the future know that there is no such project at Microsoft and that the focus is on enhancing the VB and C# langauges for data as well as the .NET Framework classes.
Ken Levy
VS Data Product Manager
Microsoft -
Aggregation and Asynchronous Invocation Application blocks slides and demo application
This month, I gave this presentation with Microsoft about the Applications Blocks. The session I took part in was about the Aggregation Application Block and the Asynchronous Invocation Application Block. The seminar was in French, so are the slides, but the source code for the demo is in English and commented in English. The voice recordings will be online soon, but they are in French - what would you expect? The presentation was given in Paris! :-)
-
Will Ward Cunningham FIT with Microsoft
Everybody noticed that Ward Cunningham has been bought (oops, not being very politically correct here) by Microsoft. Did you notice also that, although Microsoft is integrating a lot of active tools and concepts in its own toolbox (MDA, UML, Ant with MsBuild, XUL with XAML, weblogs, refactoring, object-relational mapping, etc.), nothing has been announced regarding testing and Test-Driven Development. Or did I miss anything?
-
Arab Potatoes
Joke courtesy of Tim Bray: Joke courtesy of Carrol Cox: An old Arab man who has been living for 40 years in Idaho wanted to cultivate potatoes in his garden, but digging up the earth was getting to be too hard at his age. His only son, Ali, was studying in France, so he decided to send him an e-mail explaining the situation: “Dear Ali: I feel very disappointed because this year I'll be unable to plant my potatoes in my garden. I am too old to plow the ground. I wish you were here, then my problems would be solved, because you would remove the soil for me. I love you, Dad” “Dad: For God's sake, DO NOT remove the ground of that garden. It's there that I have hidden ‘you-know-what’. I love you, Ali” At 4 a.m. the next day the local police, plus FBI and CIA agents, along with Pentagon delegates, came in and turn the garden upside down looking for dangerous material to build bombs, anthrax or whatever. They found nothing and they left. The same day the old man received another e-mail from his son: “Dear Dad: I am sure you can plant your potatoes now. It was the best I could do in the current circumstances. I love you, Ali”
-
Authentication flow in ASP.NET - Get the big picture
All the authentication flow: look at this picture from Srinath Vasireddy.
-
Prototyping a web application (follow-up)
My question about how to prototype a web application received interesting feedback.
-
Cryptic C#
Does this code compile?
-
Avoiding 'deep linking'
Interesting use of HTTP modules: