Sign in
Mike Stall's .NET Debugging Blog
Notes on Managed Debugging, ICorDebug, and random .NET stuff
Blog - Link List
Other Blogs
Tim's .NET blog
Energy Policy
CLR blogs
Rick Byers (CLR)
List of all CLR blogs
David Broman (Profiling)
Thomas Lai's blog
Other links
All about MDbg
What's new in v2.0?
Who am I?
ICorDebug/MDbg Forums
Contact me?
ASP.Net
ScottGu's blog
Henrik's blog
Brad Wilon's blog
Carlos Figueira's blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Compilers & Languages
Design
dlr
Edit-And-Continue (EnC)
Family
feedback
FuncEval
ICorDebug
Interop (mixed-mode)
linkfest
MDbg
Non-work
Pages
Quiz
Random
random .net
reading
Sample Code
Silverlight
This should be in MSDN
Troubleshooting
versioning
WebAPI
Whidbey (V2.0)
Windows Live
Archive
Archives
August 2012
(2)
May 2012
(3)
April 2012
(5)
March 2012
(2)
November 2011
(1)
September 2011
(1)
December 2010
(1)
September 2009
(2)
July 2009
(1)
May 2009
(1)
February 2009
(1)
November 2008
(1)
June 2008
(1)
May 2008
(2)
April 2008
(3)
March 2008
(5)
February 2008
(2)
January 2008
(10)
December 2007
(7)
November 2007
(5)
October 2007
(16)
September 2007
(8)
August 2007
(12)
July 2007
(9)
June 2007
(5)
May 2007
(7)
April 2007
(4)
March 2007
(6)
February 2007
(5)
January 2007
(11)
December 2006
(9)
November 2006
(13)
October 2006
(9)
September 2006
(10)
August 2006
(6)
July 2006
(13)
June 2006
(10)
May 2006
(3)
April 2006
(4)
March 2006
(31)
February 2006
(16)
January 2006
(18)
December 2005
(11)
November 2005
(23)
October 2005
(12)
September 2005
(22)
August 2005
(31)
July 2005
(10)
June 2005
(7)
May 2005
(4)
April 2005
(5)
March 2005
(9)
February 2005
(16)
January 2005
(6)
December 2004
(3)
November 2004
(4)
October 2004
(14)
September 2004
(2)
MSDN Blogs
>
Mike Stall's .NET Debugging Blog
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Mike Stall's .NET Debugging Blog
Reflection vs. Metadata
Posted
9 months ago
by
Mike Stall - MSFT
2
Comments
Here are some old notes I had about Reflection vs. the raw IMetadata Import interfaces. They’re from a while ago (before CLR 4.0 was shipped!), but still relevant. Better to share late than never! Quick reminder on the two APIs I’m comparing here: Reflection...
Mike Stall's .NET Debugging Blog
Converting between Azure Tables and CSV
Posted
9 months ago
by
Mike Stall - MSFT
0
Comments
I published a nuget package ( CsvTools.Azure ) to easily read/write CSVs to azure blobs and tables. It builds on the CSV reader , also on Nuget (see CsvTools ) and GitHub ( https://github.com/MikeStall/DataTable ). Azure Tables are very powerful...
Mike Stall's .NET Debugging Blog
Strong binding for CSV reader
Posted
over 1 year ago
by
Mike Stall - MSFT
2
Comments
I updated my open source CSV reader to provide parsing rows back into strongly typed objects. You can get it from Nuget as CsvTools 1.0.6. For example, suppose we have a CSV file “test.csv” like so: name, species, favorite fruit, score Kermit,...
Mike Stall's .NET Debugging Blog
Per-controller configuration in WebAPI
Posted
over 1 year ago
by
Mike Stall - MSFT
0
Comments
We’ve just added support for WebAPI to provide per-controller-type configuration. WebAPI has a HttpConfiguration object that provides configuration such as: route table Dependency resolver for specifying services list of Formatters, ModelBinders, and...
Mike Stall's .NET Debugging Blog
WebAPI Parameter binding under the hood
Posted
over 1 year ago
by
Mike Stall - MSFT
0
Comments
I wrote about WebAPI’s parameter binding at a high level before. Here’s what’s happening under the hood. The most fundamental object for binding parameters from a request in WebAPI is a HttpParameterBinding . This binds a single parameter. The binding...
Mike Stall's .NET Debugging Blog
Excel on Azure
Posted
over 1 year ago
by
Mike Stall - MSFT
6
Comments
I amended my open-source CsvTools with an Excel reader. Once I read the excel worksheet into a datatable, I can use all the data table operators from the core CsvTools, including enumeration, Linq over the rows, analysis, mutation, and saving back out...
Mike Stall's .NET Debugging Blog
How to create a custom value provider in WebAPI
Posted
over 1 year ago
by
Mike Stall - MSFT
0
Comments
Here’s how you can easily customize WebAPI parameter binding to include values from source other than the url. The short answer is that you add a custom ValueProvider and use Model Binding, just like in MVC. ValueProviders are used to provide values...
Mike Stall's .NET Debugging Blog
How to bind to custom objects in action signatures in MVC/WebAPI
Posted
over 1 year ago
by
Mike Stall - MSFT
3
Comments
MVC provides several ways for binding your own arbitrary parameter types. I’ll describe some common MVC ways and then show how this applies to WebAPI too. You can view this as a MVC-to-WebAPI migration guide. (Related reading: How WebAPI binds...
Mike Stall's .NET Debugging Blog
MVC Style parameter binding for WebAPI
Posted
over 1 year ago
by
Mike Stall - MSFT
5
Comments
I described earlier how WebAPI binds parameters . The entire parameter binding behavior is determined by the IActionValueBinder interface and can be swapped out. The default implementation is DefaultActionValueBinder. Here’s another IActionValueBinder...
Mike Stall's .NET Debugging Blog
How WebAPI does Parameter Binding
Posted
over 1 year ago
by
Mike Stall - MSFT
9
Comments
Here’s an overview of how WebAPI binds parameters to an action method. I’ll describe how parameters can be read, the set of rules that determine which technique is used, and then provide some examples. [ update ] Parameter binding is ultimately...
Mike Stall's .NET Debugging Blog
ASP.Net WebAPI
Posted
over 1 year ago
by
Mike Stall - MSFT
0
Comments
I recently joined the ASP.Net team and have been working on WebAPI , which is a new .NET MVC-like framework for building HTTP web services. (This is certainly a change of pace from my previous life in the world of compilers and debuggers, but I’m having...
Mike Stall's .NET Debugging Blog
OpenSource CSV Reader on Nuget
Posted
over 1 year ago
by
Mike Stall - MSFT
5
Comments
I did some volunteer work a few years ago that required processing lots of CSV files. So I solved the problems by writing a C# CSV reader, which I wanted to share here. The basic features here are: be easy to use read and write CSV files (and support...
Mike Stall's .NET Debugging Blog
Pyvot for Excel
Posted
over 2 years ago
by
Mike Stall - MSFT
0
Comments
I’m thrilled to see the availability of Pyvot , a python package for manipulating tabular data in excel. This is part of the Python Tools for Visual Studio (PTVS) ecosystem. Check out the codeplex site at http://pytools.codeplex.com/wikipage?title=Pyvot...
Mike Stall's .NET Debugging Blog
Python Tools for VS
Posted
over 2 years ago
by
Mike Stall - MSFT
0
Comments
I’ve been having a great time using Python Tools for VS . It’s a free download that provides CPython language support in Visual Studio 2010. The intellisense is pretty good (especially for a dynamic language!) and the debugger is useful to have...
Mike Stall's .NET Debugging Blog
Windows Phone 7
Posted
over 3 years ago
by
Mike Stall - MSFT
4
Comments
I recently got the newly released Windows Phone 7 (the Samsung Focus ). So far, I love it! This is my first smart-phone. It’s nice to join the 21st century. I’m also poking around with how to write apps for it. It was easy to download C# Express...
Mike Stall's .NET Debugging Blog
Speaking at Lake County .NET User’s Group
Posted
over 4 years ago
by
Mike Stall - MSFT
1
Comments
I’ll be speaking at the Lake County .NET User’s Group (LCNUG) near Chicago, Illinois on September 24th. I’ll be talking about new features in C# 4.0, including named and optional parameters, dynamic support, scripting, office interop and No-PIA...
Mike Stall's .NET Debugging Blog
Writing a CLR Debugger in Python
Posted
over 4 years ago
by
Mike Stall - MSFT
0
Comments
Harry Pierson has written an excellent set of blog entries about writing a managed debugger in IronPython . He builds on the ICorDebug managed wrappers that we ship in Mdbg and explains many of the concepts for how to write a debugger, such as managing...
Mike Stall's .NET Debugging Blog
ICustomQueryInterface and CLR V4
Posted
over 4 years ago
by
Mike Stall - MSFT
0
Comments
CLR V4 fixes an issue with COM-interop that’s been bothering me for a while. The problem is that unless you’re using a PIA, you can often have either your caller or callee be managed code, but not both . You can import the same COM-classic interface...
Mike Stall's .NET Debugging Blog
Virtual code execution via IL interpretation
Posted
over 4 years ago
by
Mike Stall - MSFT
8
Comments
As Soma announced, we just shipped VS2010 Beta1 . This includes dump debugging support for managed code and a very cool bonus feature tucked in there that I’ll blog about today. Dump-debugging (aka post-mortem debugging) is very useful and a long-requested...
Mike Stall's .NET Debugging Blog
MVP Summit 2009
Posted
over 4 years ago
by
Mike Stall - MSFT
0
Comments
For those going to the 2009 MVP Summit , I’ll be one of the speakers at the breakout sessions on March 2nd on Microsoft’s Main campus.
Mike Stall's .NET Debugging Blog
Managed Dump debugging support for Visual Studio and ICorDebug
Posted
over 5 years ago
by
Mike Stall - MSFT
4
Comments
This is the longest I've gone without blogging, but our PDC announcements have stuff way too cool to stay quiet about. If you saw PDC , you've head that the CLR Debugging API, ICorDebug, will support dump-debugging . This enables any ICorDebug-based debugger...
Mike Stall's .NET Debugging Blog
Updated MSDN forums
Posted
over 5 years ago
by
Mike Stall - MSFT
2
Comments
The MSDN forums are updated and have a new look and feel. It's at a new link too: http://forums.msdn.microsoft.com/en-US/netfxtoolsdev/threads/ (the old link still forwards).
Mike Stall's .NET Debugging Blog
Stuff in Reflection that's not in Metadata
Posted
over 5 years ago
by
Mike Stall - MSFT
0
Comments
Previously, I mentioned some things in Metadata that aren't exposed in Reflection . Here's an opposite case. While metadata represents static bits on disk, Reflection operates in a live process with access to the CLR's loader. So reflection can represent...
Mike Stall's .NET Debugging Blog
Nice MSDN URLs
Posted
over 5 years ago
by
Mike Stall - MSFT
1
Comments
I noticed that MSDN finally has nice URLs for the BCL. (Or perhaps that should be "I finally noticed that ...", depending on how long this has been) So instead of: http://msdn.microsoft.com/en-us/library/1009fa28.aspx You can do: http://msdn.microsoft...
Mike Stall's .NET Debugging Blog
The price of complexity
Posted
over 5 years ago
by
Mike Stall - MSFT
4
Comments
My house was haunted. One of the lights would randomly go on or off and random times without anybody fiddling the switch. The previous owner of our house had installed fancy dimmer light switches. On a whim, we replaced one of the fancy switches with...
Page 1 of 19 (454 items)
1
2
3
4
5
»