| Karla Carter's profileKarla's Coding and Stuff...BlogLists | Help |
|
|
March 15 IdeaBlade-Lite for .NET 1.1 (because not everyone can move to .NET 2.0/VS2005...)"IdeaBlade continues to offer "IdeaBlade-Lite" for .NET 1.1 development. IdeaBlade-Lite is the predecessor of DevForce Express, and targets developer who have not moved to .NET 2.0 and Visual Studio 2005."
[IdeaBlade's DevForce itself is described as "a developer productivity solution for building applications for the Microsoft .NET Framework. DevForce is a 'must have' for developing and deploying .NET applications. With its integrated suite of infrastructure components, an application server, design tools, and full service support, you can create compelling .NET enterprise applications, on time, and on budget."]
December 27 The Well-Tempered ExceptionA classic article by Eric Gunnerson on building your own exception classes: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp08162001.asp November 22 If You Can't Afford Visual Studio .NET"#develop (short for SharpDevelop) is a free IDE for C# and VB.NET projects on Microsoft's .NET platform. It is open-source (GPL), and you can download both sourcecode and executables from this site." September 18 It's Pink...August 31 Article: .NET Gotcha: Object Lifetime - Avoid pitfalls when coding in the .NET FrameworkHere is the printer-friendly format of the article found at http://my.advisor.com/doc/16573
WEB DEVELOPMENT .NET Gotcha: Object Lifetime Avoid pitfalls when coding in the .NET Framework.
By G. Allan Alderman and Bryan E. Slatner The Microsoft .NET Framework is a rich and powerful runtime environment for creating and deploying Web-based applications. But, it's rife with gotchas and pitfalls for the inexperienced programmer -- and some of these can result in subtle and irritating bugs. This article dicusses one common issue when working with .NET, especially onerous to transitioning C++ and Visual Basic 6 COM programmers: the inability to determine the exact lifetime of a .NET object. In C++ and VB6, you know the exact moment an object is created and the exact moment of its destruction. This isn't true of .NET objects. The .NET garbage collector is responsible for disposing of objects and releasing the memory allocated to them. It does this, approximately, "when it feels like it." In short, you have little control over the destruction of objects. Note the placement of the call to Dispose(). It's in the Finally block of the Try statement. That means it will always be called, whether the code in the Try succeeds or fails. This is crucial because it guarantees resource release, and it demonstrates the optimum placement of the call to Dispose(). This issue of unpredictable object lifetimes can cause havoc in ASP.NET applications. When an ASPX page is viewed, the ASP.NET worker process creates an instance of a Page class, or a descendant of Page. If you use -- and you should -- code-behind for all your Web form work, there's no way to intercept the "completion" of the form, because there's no way to tell when the garbage collector will dispose of the form. Although it may be tempting to declare a SqlConnection as a member of your Web form for use by all the form's methods and events, this is bad practice because you don't have any opportunity to Close() the connection at the end of the page display. Instead, it's best to write each event handler and overridden method of a Web form as if it were the only event handler in the entire object, like this:
August 29 Free Code From Microsoft!patterns & practices Enterprise Library - June 2005 - "The patterns & practices Enterprise Library is a library of Application Blocks designed to assist developers with common enterprise development challenges. Application Blocks are a type of guidance, provided as source code, that can be used as-is, extended or modified by developers for use on enterprise development projects. The June 2005 release of Enterprise Library is a minor update of the original version released in January 2005. Enterprise Library features new and updated versions of application blocks that were previously available as stand-alone blocks. All blocks included in Enterprise Library have been updated with a particular focus on consistency, extensibility, ease of use and integration."
101 Visual Basic and C# Code Samples - "a master set of Visual Basic and Visual C# code samples demonstrating various aspects of the language in the following areas: syntax, data access, Windows Forms, Web development and Web services, XML, security, the .NET Framework, file system and file I/O, interop and migration issues, COM+, ADO.NET, and advanced topics including graphics with GDI+, remoting, serialization, MSMQ, and Windows services." (these install by default into your "My Documents\MSDN" folder) |
|
|