Amazon.com Widgets

January 2004 - Posts

The trick with params
I am doing some WinFX API reviews tonight and I ran across this pattern in a number of places: /*1*/ public virtual void AddNamedParameter(string parameterName); /*2*/ public virtual void AddNamedParameter(string parameterName, object parameterValue); Read More...
New mailing lists on the ECMA CLI and C# standardization
Want to keep up with the standardization work on C# and the CLI? Miguel was kind enough to set up two list services... Subscribed. Read More...
Posted 30 January 04 07:29 by BradA | 0 Comments   
Filed under
Design Guidelines Update: Exception Message Guidelines
It has become clear to me recently that we could be doing a better job with exception messages. I took these guidelines from a set that the UE team on the .NET Framework uses. Love to hear your comments, issues, and suggestions. 7.3.2 Exception Error Read More...
Reflection and Generics
I spent some time last week working on a tool we use internally to print out the C# “header file” view of assemblies. We use it as part of the WinFX API reviews to give an overview of that the API looks like. I am still in the middle of updating, Read More...
Posted 27 January 04 10:34 by BradA | 11 Comments   
Filed under ,
Microsoft and Blogs on NPR
Our local NPR station ( KUOW ) has a program on now called “ The Works ”. They are talking about a couple of my favorite subjections... Blogs and openness at Microsoft.... You can stream from the KUOW site now. Love to hear your thoughts.. Read More...
Posted 27 January 04 08:13 by BradA | 2 Comments   
Filed under
Win32 to .NET Framework API Map
Some folks from my team worked closely with the author of this mapping between the .NET Framework on Win32 APIs. Personally I can't wait start working on the update for WinFX! Please do let us know if there is missing or incorrect data here. Microsoft Read More...
Posted 26 January 04 04:49 by BradA | 5 Comments   
Filed under
Fresno, CA here I come
Looks like I will be doing a little college recurring at California State University in Fresno on Feb 23 and 24 th . Any tips on Fresno or the university? I am happy to come talk about WinFX, Managed code, etc at a user group meeting around those times Read More...
Posted 22 January 04 05:11 by BradA | 8 Comments   
Filed under
ACL support in the BCL
Brian Dewey gives a nice post on why you should care about ACLs... As you may know we plan to add ACL support to the BCL in Whidbey.. check out Kit's PDC presentation for more info. Here is some examples from that presenation... does it look like we are Read More...
Posted 21 January 04 12:05 by BradA | 10 Comments   
Filed under
Thoughts on Managed Code and Managed Data
Not too long ago my team had to write up this little tidbit for some internal usage and I thought I'd share it here mainly so that goggle will help me find it later. Maybe you will find it useful as well although I am sure much of this information has Read More...
Posted 20 January 04 05:02 by BradA | 1 Comments   
Filed under
A Measure of Success..
I took a little pride in managed code and the .NET Framework generally today when I popular consultant told me he turned down a big project in the bay area because the client wanted only un managed code… How 20 th century of them ;-). Heard any Read More...
Posted 19 January 04 11:19 by BradA | 7 Comments   
Filed under
More of the most used APIs defined in the BCL?
Great comments from my last post... Here is my interpretations, comments\disagreements welcome ;-) 1,System.Type.GetTypeFromHandle(System.RuntimeTypeHandle handle),15399 As was mentioned in my comments, this is from the C# keyword “typeof” Read More...
Posted 19 January 04 09:20 by BradA | 2 Comments   
Filed under ,
Preview of the Next version of FxCop
Check it out .. Read More...
JohnMont on Namespaces
John got some good discussion going on namespaces -- not only on his blog but also inside Microsoft... Read More...
WinFX Trivia Quiz Answer: What are the most used APIs in the BCL?
Great guesses on my recent quiz ... Here are the answers... Now a question for you -- any theories on why this APIs are so popular? 1,System.Type.GetTypeFromHandle(System.RuntimeTypeHandle handle),15399 2,System.Byte[,,].Set(Int32 ,Int32 ,Int32 ,Byte Read More...
Posted 19 January 04 06:53 by BradA | 14 Comments   
Filed under ,
Google-Juice and PInvoke Perf tips
I just chatted with the development manager on the CLR team. He is starting to see the value of getting information out to the community on blogs. He was working on making a little demo application go faster and wanted to quickly review the PInvoke perf Read More...
Posted 15 January 04 09:41 by BradA | 9 Comments   
Filed under
Google-Juice and PInvoke Perf tips
I just chatted with the development manager on the CLR team. He is starting to see the value of getting information out to the community on blogs. He was working on making a little demo application go faster and wanted to quickly review the PInvoke perf Read More...
Posted 15 January 04 08:54 by BradA | 5 Comments   
Filed under
Nikhilk on Developer Personas
One of the big-brains on the ASP.NET team is blogging about developer personas and how they apply to the real world work he is doing on V2.0 of ASP.NET. Comments on his blog are also very interesting. Steven Clarke has been blogging about similar topics Read More...
String Formatting FAQ
Largly modivated by your comments on a recent post , Kit George recently posted a FAQ on string formatting on the BCL Website . A couple of interesting items below... or suggest your own . How do I write out a curly bracket in string formats? In order Read More...
Posted 14 January 04 10:22 by BradA | 7 Comments   
Filed under
WinFX Trivia Quiz: What are the most used APIs in the BCL?
A guy on my team has been playing around with an API usage frequency tool… the idea is to gather data on the most used APIs in the framework. What he does is scan the IL for all calls to methods and sum the number of calls for each API defined in Read More...
Posted 14 January 04 10:06 by BradA | 15 Comments   
Filed under ,
How do you find the WinFX Documentation
I spent some time talking with some folks from the LH sdk team today about the quality of documentation for WinFX. What do you think? How do you find the quality of the docs in the LH SDK? What areas are good, what areas need help? If you had $100 where Read More...
Posted 14 January 04 10:06 by BradA | 11 Comments   
Filed under
The CLS and the Design Guidelines
David’s recent blog made it clear to me that we are not being clear on the distinction between the CLS and the Design guidelines. Although they were developed at the same time, they are developed for very different purposes. In david’s comments Read More...
DotNet Remoting and Web Service: Which one to choose
One from an internal alias today... It is an age old question and there has been much written about it. But luckily we have Joe Long’s PDC presentation ( http://microsoft.sitestream.com/PDC2003/WSV/WSV203.htm ) to help.... enjoy. Read More...
Posted 12 January 04 08:11 by BradA | 4 Comments   
Filed under
Design Guideline Update: Uri vs. string
ChrisAn blogged about this a few weeks ago and I am happy to announce that Krzysztof Cwalina has a guideline ready for you to comment on! System.URI Usage Use System.Uri to represent URI/URL data. This applies to parameter types, property types, and return Read More...
Design Guidelines Update: Enums vs Boolean Arguments
This was a pretty heavily debated guideline internally, I think we reached a good conclusion... Your feedback welcome as always! The full guidelines can be found here , we will be roll this (and other updates) into it for the whidbey release. Enums vs Read More...
New home for all my old posts...
Looks like all my old posts from blogs.gotdotnet.com made it over to my new home.. Thanks Scott and the MSDN team for making it very smooth. Hopefully google will find them here before too long as well. Read More...
Posted 11 January 04 08:07 by BradA | 0 Comments   
Filed under
Reflection on unmanaged coding guidelines
Recently I got asked to review a set of internal coding guidelines – unfortunately they were for un managed code… I admit it has been a while sense I have written much unmanaged code and I was amazed at how many guidelines are just taken care Read More...
Pithy Perf Patterns
Maoni Stephens, Perf PM on the CLR team sent me some key “patterns”... You will see I have not expanded on any of them, I am sure we can talk Rico into blogging on any of these at length if we ask nicely.... avoid finalizers; use the Dispose Read More...
Posted 09 January 04 09:35 by BradA | 18 Comments   
Filed under
What is managed code?
Recently I have been working on pulling together some background information and I thought I'd share it here. I certainly don't claim any of this is news, but at least google will help me find it next time I need it ;-) What is managed code? Managed code Read More...
Posted 09 January 04 02:26 by BradA | 12 Comments   
Filed under
FxCop gets a blog...
The FxCop team has opened a blog... Check them out at : http://weblogs.asp.net/fxcop/ . To Kick it off, Michael Fanning (head-dev on FxCop) explains why some shipped Microsoft managed assemblies have fxcop violations... Enjoy. Read More...
Have you been burned by versioning enums (repost)
I did decide to do one repost, just to be sure everyone got a chance to give feedback... Kit George is working on a guideline around versioning wrt Enums and he needs your feedback. It’s a know issue that adding values to enums is bad (from a breaking Read More...
I have Moved!
As some of you have no doubt noticed, the blogs.gotdotnet.com has been frozen... I was hoping to get my old posts ported over before the freeze, but so be it... The old posts should be here before too long. In the mean time, you can still read them at Read More...
Have you been burned by versioning enums
Kit George is working on a guideline around versioning wrt Enums and he needs your feedback. It’s a know issue that adding values to enums is bad (from a breaking change perspective), WHEN someone is exhaustively switching over that enum. For example: Read More...
Longhorn demo video online...
Carter Maslan has what some could call a dream job… Wouldn’t you love to build amazing demos with current LH bits and shoot videos showing how cool LH is? Check out his latest work , I hear there are more to come every month or so… I have seen several Read More...
Posted 05 January 04 10:37 by BradA | 5 Comments   
Filed under
Creating the ECMA docs for the Library
In a past life I worked with some great folks on standardizing the Base Class Library for the ECMA CLI Standard . I was reminded of the experience today as some folks on my team prepare to update the standard with some new stuff (for example generic collections). Read More...
Posted 05 January 04 10:03 by BradA | 0 Comments   
Filed under
Setting Environment Variables
Another tidbit from Kit George, PM on the BCL team: In Whidbey we added the ability to set environment variables. To see an example check out the Managed Explorer sample available at: http://www.gotdotnet.com/team/clr/bcl/demos/demos.aspx You’ll see there Read More...
Posted 03 January 04 06:51 by BradA | 1 Comments   
Filed under

Search

Go

This Blog

Syndication

Page view tracker