Insights into the .NET Architecture:A Conversation with Eric Gunnerson
Eric Gunnerson, the C# Compiler Program Manager at Microsoft, talks with Bruce Eckel and Bill Venners about several architectural design
decisions in .NET, including multiple inheritance of interface, the emphasis on messaging over mobile code, internal access in assemblies,
and the side-by-side execution answer to DLL Hell.
Eric Gunnerson, after having previously worked at a large Seattle aerospace company, a medium-sized PC database company, and a small
VMS utility software company, joined Microsoft in the fall of 1994. After several years working on Microsoft's C++ compiler
quality assurance team, including three years as the test lead on the Visual C++ compiler, Gunnerson took on a new assignment:
testing the compiler of Microsoft's new language, C#. To more effectively perform his quality assurance role, Gunnerson joined
the C# design team, where he spent several years working with Anders Hejslberg, Peter Golde, Scott Wiltamuth, Peter Solich,
and Todd Proebsting on the design of C#. In 2002, after the initial release of Visual Studio.NET, Gunnerson switched from quality
assurance to program management. He is currently the C# Compiler Program Manager. He is author of A Programmer's Introduction to
C# (APress,
2001), and writes a column for MSDN, Working with C#.
Read The Whole Article
C# Tip: Forcing Garbage Collection in .NET
There might be times in your application when you want to force the .NET Garbage Collector (GC) to spin through all unused objects
and de-allocate them. The method for accomplishing this task is the GC.Collect method. When you call GC.Collect, the GC will run
each object's finalizer on a separate thread. Therefore, another method to keep in mind is GC.WaitForPendingFinalizers. This synchronous
method that will not return until the GC.Collect has finished its work.
Read The Whole Article
Crafting ASP.NET User Controls in C#Builder
Building user controls in ASP.NET offers a huge boost in productivity for web developers. ASP.NET user controls are reusable objects that
you can create with the C#Builder visual designer and add to multiple pages on your web site. You can drag-and-drop other controls into
a user control or build your own content as needed.
Initializing User Controls To get started with building a user control, you'll need to create a new ASP.NET application. (My InformIT
article "Building ASP.NET Applications with C#Builder for Microsoft .NET" has more guidance on how to set up an ASP.NET application
and other useful features of the C#Builder web development environment.) When the ASP.NET application project is ready, you'll be able to
add a user control.
Read The Whole Article
Pointers in C# and writing Unsafe code
Together, unsafe code and pointers enable C# to be used to create applications that you might normally associate with C++: high-performance,
systems code. Moreover, the inclusion of unsafe code and pointers gives C# capabilities that are lacking in Java.
Managed Code
In general, when you write a C# program, you are creating what is called managed code. Managed Code is executed under the control
of the Common Language Runtime.
Read The Whole Article
Read this Newsletter at: http://www.cprogrammingtrends.com/2004/0505.html |
|