UK Hosting Directory

Just another WordPress weblog

Information Filled Under ‘C#’

Bootstrapper: Use the Visual Studio 2005 Bootstrapper to Kick-Start Your Installation

There are plenty of times when you need to get information on running processes, not the least of which is during performance tuning. Using the techniques in this article and special .NET classes 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 and put them to use in a custom app called AssemblyBrowser. Sean Draine MSDN Magazine October 2004

See the original post:
Bootstrapper: Use the Visual Studio 2005 Bootstrapper to Kick-Start Your Installation

.NET Internals: Examine Running Processes Using Both Managed and Unmanaged Code

There are plenty of times when you need to get information on running processes, not the least of which is during performance tuning. Using the techniques in this article and special .NET classes 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 and put them to use in a custom app called AssemblyBrowser. Christophe Nasarre MSDN Magazine October 2004

Continued here:
.NET Internals: Examine Running Processes Using Both Managed and Unmanaged Code

SQL Server 2005: Unearth the New Data Mining Features of Analysis Services 2005

In SQL Server 2005 Analysis Services you’ll find new algorithms, enhancements to existing algorithms, and more than a dozen added visualizations to help you get a handle on your data relationships. Plus, enhancements to the Data Mining Extensions to SQL along with OLAP, DTS, and Reporting Services integration make it possible to create a new breed of intelligent apps with embedded data mining technology

More here:
SQL Server 2005: Unearth the New Data Mining Features of Analysis Services 2005

Express Editions: Get a Lean, Mean Dev Machine with the Express Editions of Visual Basic and SQL Server 2005

The Express Editions of Visual Basic and SQL Server 2005 have lots of the features of the full-sized versions, but with a lot less of the overhead. Professional developer features such as full IntelliSense support, local debugger, Add Web Reference, and the improved Visual Data Tools will all be available in the Express products, so you don’t have to leave your favorite features behind. In this article the author introduces you to these express editions and builds a sample app to get you started.

See the rest here:
Express Editions: Get a Lean, Mean Dev Machine with the Express Editions of Visual Basic and SQL Server 2005

Reporting: Deliver User-Friendly Reports from Your Application with SQL Server Reporting Services

SQL Server 2000 Reporting Services–a server-based reporting platform built on the .NET Framework and integrated with SQL Server 2000–lets you easily add reporting from diverse data sources. Using Visual Studio and Reporting Services you can integrate reports from any data source that has an OLE DB, ODBC, or ADO.NET provider into your Web applications.

See the article here:
Reporting: Deliver User-Friendly Reports from Your Application with SQL Server Reporting Services

Genetic Algorithms: Survival of the Fittest: Natural Selection with Windows Forms

Genetic Programming is an evolutionary algorithm that employs reproduction and natural selection to breed better and better executable computer programs. It can create programs that implement subtle, non-intuitive solutions to complex problems. By taking a well-known example from the Genetic Programming community and implementing it with the .NET Framework, this article demonstrates that CodeDOM and Reflection provide all the facilities that are needed to do Genetic Programming effectively.

Read the rest here:
Genetic Algorithms: Survival of the Fittest: Natural Selection with Windows Forms

Web Parts: Use Windows SharePoint Services as a Platform for Building Collaborative Apps, Part 2

Microsoft Office SharePoint Portal Server 2003, which is part of the Office System, lets you create and manage virtual servers, site collections, sites, workspaces, and users. You can also use the Windows SharePoint Services object model to design and implement user-targeted applications. In the second part of a two part series, the authors take a look at the WSS and SPS object models, Web Part Page anatomy, creating and deploying Web Parts, and Web Part security

Excerpt from:
Web Parts: Use Windows SharePoint Services as a Platform for Building Collaborative Apps, Part 2

Virtual Server 2005: Program Customized Testing Environments Without Trashing Your Machine

Efficient testing can require many different machine and server configurations but the effort needed to manage these test environments can take a toll. Microsoft Virtual Server 2005 simplifies the provisioning and management of testing environments. This article demonstrates how the extensive Virtual Server COM API can be used to create an automated application testing environment to make your testing chores a whole lot easier

Here is the original post:
Virtual Server 2005: Program Customized Testing Environments Without Trashing Your Machine

Visual Studio 2005: Bridge the Gap Between Development and Operations with Whitehorse

Microsoft is introducing a new suite of tools (code-named “Whitehorse”) that will make it easier for you to design and implement systems that conform to a service-oriented architecture. Two of these tools — the SOA Design Suite and the Class Designer — support the graphical design of systems and components with support for code generation and support for bi-directional synchronization which lets you ensure that your diagram always represents your system design. This article introduces these tools and shows you how they’ll improve your design and development efforts.

Go here to see the original:
Visual Studio 2005: Bridge the Gap Between Development and Operations with Whitehorse

Web Services: Capturing and Analyzing Client Transaction Metrics for .NET-Based Web Services

This article presents a general-purpose client quality reporting mechanism that can be used in any .NET-based transaction system that employs HTTP/SOAP. The design uses client response time and quality recording, upload of logs as SOAP headers attached to new transaction requests, and server handoff of these headers to a low priority queue for logging and analysis

Read more from the original source:
Web Services: Capturing and Analyzing Client Transaction Metrics for .NET-Based Web Services

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