Tuesday, June 13, 2006
Windows Presentation Foundation
WPF/E is a subset of WPF, and stands for "Windows Presentation Foundation Everywhere". It is basically a mobile version of WPF, based on XAML and Javascript. 3D features are not included, but XPS, vector-based drawing, and hardware acceleration, are.
Thursday, April 27, 2006
Casting impact and performance in C#
C# provides two ways for casting object references
object myClass = new MyClass();
((MyClass)myClass).MyMethod();
This is an example of downcasting (casting from the top to the bottom of the class hierarchy).
In the first line of code, the compiler emits a "Castclass" opcode, which converts the reference to the type specified between the parenthesis if possible (if not, an InvalidCastException exception is thrown).
The second case is :
object myClass = new MyClass();
(myClass as MyClass).MyMethod();
here we use the as operator , which works much faster, because it only checks the reference type but doesn't perform any sort of cast (nor throws any exception).
In performance terms, it is better to use the second option, because it speeds up much more the code execution, avoiding type casts and exception throwing.
Tuesday, April 25, 2006
Naming Guidelines
Find here : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconnamingguidelines.asp
naming guidelines for the .NET Framework types.
Tuesday, April 04, 2006
Microsoft SQL Server 2005 Express Edition
Tuesday, March 07, 2006
Code Snippets (C#)
for more details : http://msdn2.microsoft.com/en-us/library/f7d3wz0k.aspx
Thursday, February 02, 2006
Visual Studio 2005 Express Editions are free downloads
* Visual Web Developer 2005 Express Edition
* Visual Basic 2005 Express Edition
* Visual C# 2005 Express Edition
* Visual C++ 2005 Express Edition
* Visual J# 2005 Express Edition
Each of these is a simplified and streamlined version of Visual Studio 2005 focused on development in a single language (except Visual Web Developer, which includes Visual Basic and C#). A full run-down of the feature differences between these Express Editions and the full Visual Studio 2005 can be found in the product feature comparison matrix.
In short, all the essential features for building ASP.NET 2.0 Websites are here. The Express Editions include a simplified user interface and limited features (e.g., you can only interface with databases on your local computer), but for developers building simple sites or just getting started with .NET for Windows desktop or Web development, there’s more than enough meat in these products. Visual Web Developer Express Edition, in particular, is a must-download for anyone currently working with ASP.NET Web Matrix, though developers should note that these Express Editions are not backwards compatible with version 1.x of the .NET Framework—they can only be used to develop for .NET 2.0.
Although Microsoft had previously announced each of these Express Editions at a price point of US$49, it has instead launched them as free downloads for one year. In a year’s time, Microsoft may elect to begin charging for the software, but anyone who has downloaded it during the free download period will have it for keeps—this is not expire-ware.
Also available is SQL Server 2005 Express Edition, the successor to the aging MSDE database. Perfectly suited for use as a local database for Web development, SQL Server 2005 Express Edition will remain free for as long as the product is available.
Download and more info
http://msdn.microsoft.com/vstudio/express/
Monday, January 30, 2006
patterns & practices: Enterprise Library
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 to use on enterprise development projects.
Enterprise Library features new and updated versions of application blocks that were previously available as stand-alone application blocks. All Enterprise Library application blocks have been updated with a particular focus on consistency, extensibility, ease of use, and integration.
Enterprise Library is available for download from MSDN for .NET Framework 2.0 (January 2006 release) and .NET Framework 1.1 (June 2005 release). Pre-release versions, patches and bonus deliverables can be found in the Downloads section of this site.
For more info go to : http://www.gotdotnet.com/codegallery/codegallery.aspx?id=295a464a-6072-4e25-94e2-91be63527327