|
|
|
|
|
Total Hits: 24 | Today: 0
|
Author: Juval Lowy
|
Rating:
|
|

Fans of the C# language will find much to like in Visual C#® 2005. Visual Studio® 2005 brings a wealth of exciting new features to Visual C# 2005, such as generics, iterators, partial classes, and anonymous methods. While generics is the most talked-about and anticipated feature, especially among C++ developers who are familiar with templates, the other new features are important additions to your Microsoft® .NET development arsenal as well. These features and language additions will improve you...
|
|
|
|
Total Hits: 12 | Today: 0
|
Author: Anand Kumar
|
Rating:
|
|

Visual Studio 2005 express edition has lots of enhancements to increase developer productivity; the "Code Snippet" is one of those enhancements. I am going to talk about how code snippets can help you to write code faster based on predefined templates. I am also going to demonstrate how to write custom code snippets....
|
|
|
|
Total Hits: 31 | Today: 0
|
Author: Aleksey Bykov
|
Rating:
|
|

This is a Visual Studio 2005 macro project which is intended to automate typical coding routines....
|
|
|
|
Total Hits: 23 | Today: 0
|
Author: James Kovacs
|
Rating:
|
|

The first reaction many developers have to the idea of memory leaks in managed code is that it's not possible. After all, the garbage collector (GC) takes care of all memory management, right? The garbage collector only handles managed memory, though. There are a number of places where unmanaged memory is used in Microsoft® .NET Framework-based applications, either by the common language runtime (CLR) itself, or explicitly by the programmer when interoperating with unmanaged code. There are also...
|
|
|
|
Total Hits: 18 | Today: 0
|
Author: Peter Ritchie
|
Rating:
|
|

As a consultant, I work in many different environments; using different tools and applications from site to site. One of those tools is a source code control application (classically: Revision Control).
Multiple Microsoft Source Code Control Interface (MSCCI) compliant providers can be installed on a computer; but, Visual Studio (and other applications) does not provide a user interface for provider selection when you do have more than one Source Code Control (SCC) Provider installed....
|
|
|
|
Total Hits: 24 | Today: 0
|
Author: Mark Seemann
|
Rating:
|
|

Have you ever considered implementing unit tests for a project but dismissed the idea because the module you wanted to test either had too many dependencies or it was so difficult to isolate the unit itself that the tests started to look like integration tests? Or perhaps setting up and configuring all the external dependencies was impractical or downright impossible to achieve within your time constraints or budgets?
Mock objects can help you overcome these types of obstacles and, as an ...
|
|
|
|
Total Hits: 20 | Today: 0
|
Author: Rakusu.
|
Rating:
|
|

Have you ever thought about converting your VS color settings into something like CSS and port it into other visual studio IDE by only clicking a button? Here's How...
|
|
|
|
Total Hits: 13 | Today: 0
|
Author: Charles Petzold
|
Rating:
|
|

The presentation subsystem in the next version of Windows, code-named "Longhorn," offers powerful new capabilities to developers. This subsystem, code-named "Avalon," allows developers to take advantage of its capabilities through a new markup language code-named "XAML." In addition, modern object-oriented programming languages such as C# and Visual Basic .NET can be used to tie everything together. Because most applications written to Avalon will probably be a mix of XAML and programming code, ...
|
|
|
|
Total Hits: 31 | Today: 0
|
Author: Paul DiLascia
|
Rating:
|
|

Many of you are no doubt in the process of upgrading to Visual Studio® 2005, so I thought now would be a good time to relate some of my own experiences with the new compiler. What took me so long? Hey, I'm a retro kind of guy! Better late than never!
The first thing you'll notice about Visual Studio 2005 is that it has a version manager that looks at your project and decides which version of itself to launch. You can install Visual Studio 2005 alongside Visual Studio .NET 2003; the two wi...
|
|
|
|
Total Hits: 6 | Today: 0
|
Author: Tony Chow
|
Rating:
|
|

One of the most widely acclaimed features of the C# programming language is XML-based code annotation. Starting in Visual Studio® 2005, XML documentation support will also become available in Visual Basic® and C++. Yet in everyday practice, making full use of the many comment tags can be a tedious chore, and as a result, most managed code in the field remains woefully under-documented. In this article, I will demonstrate how Visual Studio macros can be used to automate the creation of XML docume...
|
|
|
|
Total Hits: 10 | Today: 0
|
Author: Lorenzo Minore
|
Rating:
|
|

IntelliSense code snippets are one of the coolest new features in Visual Studio® 2005. Code snippets are highly customizable code fragments intended to accomplish simple to intermediate tasks quickly; they can be inserted into your code with just a few keystrokes. In this column I'll describe how to use the code snippets installed with Visual Studio 2005, how to edit the existing set or create your own, how to share your snippets with other users, and where to look for more samples....
|
|
|
|
Total Hits: 12 | Today: 0
|
Author: Paul DiLascia
|
Rating:
|
|

Many of you are no doubt in the process of upgrading to Visual Studio® 2005, so I thought now would be a good time to relate some of my own experiences with the new compiler. What took me so long? Hey, I'm a retro kind of guy! Better late than never! The first thing you'll notice about Visual Studio 2005 is that it has a version manager that looks at your project and decides which version of itself to launch. You can install Visual Studio 2005 alongside Visual Studio .NET 2003; the two will coha...
|
|
|
|
Total Hits: 22 | Today: 0
|
Author: Paul DiLascia
|
Rating:
|
|

Q What's the best and fastest way to allocate a large number of small class objects (for example, 10,000 small records)? MFC serialization, of course, streams the objects in and out and does everything necessary. However, lots of time is taken with memory allocation and deallocation. Is there some way to improve this?...
|
|
|
|
Total Hits: 53 | Today: 0
|
Author: Christophe Nasarre
|
Rating:
|
|

Interested in debugging techniques? You've come to the right place. In this article, you'll discover how to write a utility called AssemblyBrowser, which is similar to the Unix ps tool. AssemblyBrowser allows you to browse managed processes, AppDomains, assemblies, modules, and even the classes loaded by the runtime. You'll see how to get a process' ID, name, priority, number of threads, kernel handle, and memory consumption, as well as its user-mode, kernel-mode, and total elapsed running time....
|
|
|
|
Total Hits: 24 | Today: 0
|
Author: Lorenzo Minore
|
Rating:
|
|

IntelliSense code snippets are one of the coolest new features in Visual Studio® 2005. Code snippets are highly customizable code fragments intended to accomplish simple to intermediate tasks quickly; they can be inserted into your code with just a few keystrokes.
In this column I'll describe how to use the code snippets installed with Visual Studio 2005, how to edit the existing set or create your own, how to share your snippets with other users, and where to look for more samples....
|
|
|
|
Total Hits: 24 | Today: 1
|
Author: Maruis Marais
|
Rating:
|
|

Visual Studio 2005 ships with a huge number of new features, and one of the nice and useful features is Code Snippets. The Code Snippet feature allows you to add a piece of generic code that you can customize to make it work with your specific needs. In this article, I will be introducing Unit Testing Code Snippets, showing you how to invoke a code snippet, and how to quickly navigate and edit the code snippet tokens to give you the ability to quickly create test methods and fixtures. You will f...
|
|
|
|
Total Hits: 41 | Today: 0
|
Author: Steven Smith
|
Rating:
|
|

Code Snippets provide simple code generation for repetitive tasks within the Visual Studio 2005 IDE. For example, rather than typing a complete property declaration or case statement, just type a brief shortcut, TAB, and fill in a couple of values. The construct is built for you. In this article, Steve shows how to take advantage of the built in Visual Studio 2005 Code Snippets and how to write your own....
|
|
|
|
Total Hits: 30 | Today: 0
|
Author: Shahed.Khan.
|
Rating:
|
|

SmartCodeGenerator is an ASP.NET 2.0 website or an ASP.NET 1.1 web application and is a full-fledged template-based code generator that allows you to generate code for any text language. Templates are written in Visual Studio as ASP.NET User Controls.
The current feature list of SmartCodeGenerator includes:
* All development done in VS2005 OR VS2003 Extensible Template Generation Engine * Open source Database Schema discovery API for Microsoft SQL, Oracle and MySQL ...
|
|
|
|
Total Hits: 22 | Today: 0
|
Author: Chris Stefano.
|
Rating:
|
|

After reading an article on CodeProject entitled VS.NET CodeDOM-Based Custom Tool for String Resource Management by Jasmin Muharemovic, and finding the StringResourceTool custom tool for string resources, I discovered how easy it is to create a custom tool for Visual Studio .NET....
|
|
|
|
Total Hits: 19 | Today: 1
|
Author: Amol M Vaidya.
|
Rating:
|
|

Many a times programmers want to execute a small code snippet to see the output of some simple calculations. They have to waste time creating a new project, writing the sample code and executnig it on some form....
|
|
|
|
|
|