Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » .NET   (RSS)

Web Browser/DHTML: Access the XMLDocument property through .NET

When Internet Explorer requests an XML page from a web server, it will apply an XSL stylesheet. This can be an XSL stylesheet that is provided in the XML file, e.g.: <?xml-styleheet href="filename.xsl" type="text/xsl" ?> If no stylesheet is provided,
Posted by markda | 0 Comments
Filed under: ,

Directory.GetFiles and search patterns

System.IO.Directory.GetFiles(string,string) enables you to provide a search pattern as the second argument. I have a list of file extensions that I need to search for and discovered two issues with this method. 1. The second argument only accepts a single
Posted by markda | 1 Comments
Filed under:

C++ vs C#

Eric Gunnerson recently posted some reasons why C# is an improvement over C++ and some updates . This post is a good read - be sure to consider the comments. Some of my thoughts... Sure, with C#, I do spend less time considering memory usage (i.e. preventing
Posted by markda | 1 Comments
Filed under:

N/Direct web site - .NET interoperability resource

The N/Direct web site is run by Mattias Sjögren , a Microsoft MVP. In his own words: "N/Direct is a site for developers seeking information or answers about interoperability between .NET managed code and native unmanaged code." The web site has an impressive
Posted by markda | 0 Comments
Filed under:

Visual C# 2003 "Implement Interface" feature

Just discovered a great tip for Visual C# 2003. If you implement an interface (or event/delegate) on your class and don't want to type all the methods, just type the interface name in your class derivation list and Intellisense will display a tooltip
Posted by markda | 4 Comments
Filed under:

Help out the Interop community

If you take a walk over to http://www.pinvoke.net , you can find an active WiKi community that is documenting the PInvoke statements used to call Win32 and other unmanaged APIs from managed code. While you're there, why not add signatures and other information
Posted by markda | 0 Comments
Filed under:

New Tricks (Thinking in C#)

Attending a great “Designing .NET Class Libraries” class run by Brad Abrams today. I was surprised to see a coding pattern that I would commonly use in C++ and be told that was NOT the best way to do this in C#. int len = array.Length(); for
Posted by markda | 6 Comments
Filed under:
 
Page view tracker