UK Hosting Directory

Just another WordPress weblog

Information Filled Under ‘.NET’

Controls: Plan Your Migration to the Visual Studio 2005 Navigation Controls

Navigation is central to a well functioning Web application and it can be implemented numerous ways using today’s technologies. This article highlights some of the key details of the new navigation controls that are part of the upcoming ASP.NET 2.0, and talks about how to design and implement one of these navigation controls today. This article contains a simple Web site that demonstrates the use of these navigation controls, pointing out some of the key items such as a breadcrumb control and things to watch for along the way

Read more:
Controls: Plan Your Migration to the Visual Studio 2005 Navigation Controls

C# 2.0: Create Elegant Code with Anonymous Methods, Iterators, and Partial Classes

C# 2.0 introduces a wealth of exiting new features, such as generics, iterators, partial classes and anonymous methods. While generics are the most talked-about feature especially for former classic C++ developers, the rest of the new features are important additions to your .NET development arsenal, enhancing power and improving overall productivity. This article is dedicated to all the new C# 2.0 capabilities besides generics to give you a good overall picture of the upcoming features

Link:
C# 2.0: Create Elegant Code with Anonymous Methods, Iterators, and Partial Classes

Test-Driven C#: Improve the Design and Flexibility of Your Project with Extreme Programming Techniques

Test-driven development (TDD) should be on every developer’s radar screen because a comprehensive set of tests makes for maintainable code and frees you from having to create a perfect design up-front. This article explains how to perform TDD and takes you step-by-step through a number examples to get you started. Will Stott and James Newkirk MSDN Magazine April 2004

The rest is here:
Test-Driven C#: Improve the Design and Flexibility of Your Project with Extreme Programming Techniques

Office 2003: Secure and Deploy Business Solutions with Microsoft Visual Studio Tools for Office

Microsoft Visual Studio Tools for the Microsoft Office System is a new technology that brings the advanced features of Visual Studio .NET and the .NET Framework to applications built for Microsoft Office Word 2003 and Microsoft Office Excel 2003. Deploying solutions built with this technology requires that you understand how runtime security is enforced in managed applications and how to configure users’ systems to run your solutions without introducing security holes.To promote that understanding, this article will demonstrate how to establish trust, explain policy considerations and permissions, and explain what trusted code is all about. Secure assembly deployment is also covered in detail

Read the rest here:
Office 2003: Secure and Deploy Business Solutions with Microsoft Visual Studio Tools for Office

C# In-Depth: Harness the Features of C# to Power Your Scientific Computing Projects

The C# language has been used quite successfully in many kinds of projects, including Web, database, GUI, and more. One of the last frontiers for the application of C# code may well be scientific computing. But can C# measure up to the likes of FORTRAN and C++ for scientific and mathematical projects?In this article, the author answers that question by looking at the .NET common language runtime to determine how the JIT compiler, Microsoft intermediate language, and the garbage collector affect performance

Read this article:
C# In-Depth: Harness the Features of C# to Power Your Scientific Computing Projects

Timers: Comparing the Timer Classes in the .NET Framework Class Library

Timers often play an important role in both client applications and server-based components (including Windows services). Writing effective timer-driven managed code requires a clear understanding of program flow and the subtleties of the .NET threading model. The .NET Framework Class Library provides three different timer classes: System.Windows.Forms.Timer, System.Timers.Timer, and System.Threading.Timer.

View original post here:
Timers: Comparing the Timer Classes in the .NET Framework Class Library

Code Name Longhorn: A First Look at Writing and Deploying Apps in the Next Generation of Windows

The next version of the Microsoft Windows operating system, code-named “Longhorn,” marks a significant change not only in terms of how the operating system works, but also in the way in which applications are built. The Longhorn version of Windows includes a new storage system, natural search technology, and an increased emphasis on security and trustworthy computing.

Read the original:
Code Name Longhorn: A First Look at Writing and Deploying Apps in the Next Generation of Windows

Office 2003: Host an Interactive Visio Drawing Surface in .NET Custom Clients

Microsoft Office Visio 2003 introduces a new drawing component that allows you to embed an interactive drawing surface into your application’s user interface. You can drive the Visio drawing component from events in your host application or with data from a Web Service and an ADO.NET data adapter. The Visio drawing component supports the rich Visio application programming model, giving you control over how graphics are used and displayed on the drawing surface

See the article here:
Office 2003: Host an Interactive Visio Drawing Surface in .NET Custom Clients

Review It: Expert Tips for Finding Security Defects in Your Code

Reviewing code for security defects is a key ingredient in the software creation process, ranking alongside planning, design, and testing. Here the author reflects over his years of code security reviews to identify patterns and best practices that all developers can follow when tracking down potential security loopholes. The process begins by examining the environment the code runs in, considering the roles of the users who will run it, and studying the history of any security issues the code may have had

Continue reading here:
Review It: Expert Tips for Finding Security Defects in Your Code

Obfuscate It: Thwart Reverse Engineering of Your Visual Basic .NET or C# Code

One of the advantages of the .NET architecture is that assemblies built with it contain lots of useful information that can be recovered using ILDASM, the intermediate language disassembler. A side effect, though, is that someone with access to your binaries can recover a good approximation of the original source code. Here the authors present program obfuscation as a way to deter reverse engineering

See the original post here:
Obfuscate It: Thwart Reverse Engineering of Your Visual Basic .NET or C# Code

Tablet PC: Achieve the Illusion of Handwriting on Paper When Using the Managed INK API

Creating the illusion of a pen writing on paper is no easy software task. Fortunately, the .NET Framework hosts Tablet PC extensions, which lets you create ink-aware applications for the Tablet PC. This API allows applications to draw strokes on the screen and perform a variety of tasks including document markup, storage, and transmission.This article shows you how to handle a couple of inking events as used in the InkClipboard sample.

Read more:
Tablet PC: Achieve the Illusion of Handwriting on Paper When Using the Managed INK API

Office 2003: Bring the Power of Visual Studio .NET to Business Solutions Built with Microsoft Office

Microsoft Visual Studio Tools for the Microsoft Office System is a new technology that brings the advanced features of Visual Studio .NET and the .NET Framework to apps built on Microsoft Word 2003 and Excel 2003. Now you can use Visual Basic .NET and C# to write document-centric, managed code solutions that run in-process with Word 2003 or Excel 2003, taking advantage of the rich object models they expose.

View post:
Office 2003: Bring the Power of Visual Studio .NET to Business Solutions Built with Microsoft Office

Coroutines: Implementing Coroutines for .NET by Wrapping the Unmanaged Fiber API

Coroutines are a powerful feature of many programming languages including CLU, Scheme, Python, Ruby, and ICON. Coroutines can save processor overhead and reduce redundancy because they allow you to stop execution of a procedure midstream, return a value, and resume exactly where the procedure left off.This article shows how coroutines can be implemented for the .NET Framework by using the Fiber API and Managed Extensions for C++, and how they can be easily used with other .NET-compliant languages. This article also shows a sophisticated use of the runtime host for running multiple managed threads on a single OS thread

Read the rest here:
Coroutines: Implementing Coroutines for .NET by Wrapping the Unmanaged Fiber API

XSLT: Simplify Development and Maintenance of Microsoft .NET Projects with Code Generation Techniques

Code generation techniques using technologies such as XSLT are playing an increasingly important part in software projects as they support the development of a rapidly maintainable code base. This article discusses some of the benefits and possible applications of code generation.To demonstrate these techniques the author develops a Web Forms application that supports the maintenance of records in a SQL Server database, using the database’s own metadata to drive the generation process.

More:
XSLT: Simplify Development and Maintenance of Microsoft .NET Projects with Code Generation Techniques

DCOM Interop: Generate Custom Managed C++ Wrappers for Easier COM Interoperation Using DCOMSuds

Now that you’re writing managed code, you’ll certainly want to use your existing COM components, but you can’t simply call them directly. Instead, you have to wrap the COM component in a runtime-callable wrapper that acts as a proxy between the component and your managed code. While the CLR provides wrapper classes for this purpose, there will be times when you’ll want custom objects to wrap your COM components

View original post here:
DCOM Interop: Generate Custom Managed C++ Wrappers for Easier COM Interoperation Using DCOMSuds

Web Services: Extend the ASP.NET WebMethod Framework with Business Rules Validation

In an earlier article the authors showed how to build a custom WebMethods extension that provides XML Schema validation, a function that is lacking in ASP.NET. In the process they established a foundation for enforcing business rules during the deserialization of XML data. The technique, which is described in this article, uses declarative XPath assertions to test business rule compliance.In building this business rules validation engine, the authors integrate the validation descriptions into the WSDL file that is automatically generated by the WebMethod infrastructure.

Go here to read the rest:
Web Services: Extend the ASP.NET WebMethod Framework with Business Rules Validation

GDI+: A Primer on Building a Color Picker User Control with GDI+ in Visual Basic .NET or C#

Although most developers and APIs use the RGB scheme when working with colors, it’s not the only available way to represent or select colors. For instance, the standard Windows color-selection dialog box allows you to work with the HSL color scheme in an indirect way. In this article, the author describes several color selection schemes, and uses GDI+ (via the System.Drawing namespace) to create a component that makes it possible for your own applications to provide a simpler, friendlier color chooser

Read more:
GDI+: A Primer on Building a Color Picker User Control with GDI+ in Visual Basic .NET or C#

Vector Graphics: Build Flexible, Lightweight XML-Based Images for ASP.NET Using Scalable Vector Graphics

Scalable Vector Graphics (SVG), a W3C graphics standard built around XML, is one of several vector graphics technologies that allows fast, lightweight drawings such as charts and graphs to be rendered on the fly in an appropriate viewer. There are many advantages to such vector graphics, including conservation of bandwidth and storage media, and flexibility. This article explains these benefits and shows you how to easily add powerful, dynamic, interactive visual elements to your Web applications.

See more here:
Vector Graphics: Build Flexible, Lightweight XML-Based Images for ASP.NET Using Scalable Vector Graphics

Smart Cleanup: Achieve More Reliable Resource Management with Our Custom C++ Classes

Managing resources in C++ is not easy. When you’re unsuccessful, your app can leak all kinds of resources including file system handles, database connections, and, of course, memory. Even in garbage-collected languages like Managed C++, resource management is difficult because garbage collection only deals with memory management, not the other resources that cause performance problems.In this article, the author describes the SmartAny template library he created, which uses a policy-based approach to dynamic resource management.

See more here:
Smart Cleanup: Achieve More Reliable Resource Management with Our Custom C++ Classes

Debugging Tool: Build a Logging and Event Viewing Library to Help Debug Your .NET Framework-based App

Building a basic, reusable application framework can make development quicker and easier. This allows you to focus more on the problems at hand and less on the repetitive tasks involved in building any application. In this article, the author presents a framework that provides facilities to access the registry and an extensible framework for logging messages to a console window or the Event Viewer.

View original post here:
Debugging Tool: Build a Logging and Event Viewing Library to Help Debug Your .NET Framework-based App