.NET news » Search results

Search results for query "System" (117):

Drawing Formatted Text in a Windows Forms Application using WPF FormattedText Class

How to draw muliline formatted text on a System.Drawing.Graphics object.
2012-08-22 12:02:00   Source: Drawing Formatted Text in a Windows Forms Application...   Tags: WPF

Using WMI From Managed Code

Windows Management Instrumentation (WMI) is Microsoft's implementation of Web-Based Enterprise Management (WBEM) and the Common Information Model (CIM). Although WMI is COM-based, Andriy Klyuchevskyy shows you how you can access it from C# and VB.NET through System.Management, thanks to COM Inter-Op.
2006-02-27 13:15:00   Source: Using WMI From Managed Code   Tags: Other Examples

Create Your Own Mailing List Server with .NET 2.0

Learn how to build your own mailing list server, making use of the new classes located in the System.Net.Mail namespace in .NET 2.0, as well as some techniques to retrieve emails from Outlook.
2007-11-07 00:38:38   Source: Create Your Own Mailing List Server with .NET 2.0   Tags: Internet Examples

Accessing Embedded Resources through a URL using WebResource.axd

Many of the built-in ASP.NET server controls require additional, external resources in order to function properly. For example, when using any of the ASP.NET validation controls, the controls rely on a bevy of JavaScript functions to perform their client-side validation. While each validation control could emit such script directly into the page's content, a more efficient approach would be to package these JavaScript functions into an external JavaScript file and then include that file in the page using <script src="PathToExternalJavaScriptFile" type="text/javascript" >. This would reduce the total page size and would allow the browser to cache the external JavaScript file (rather than having to send the JavaScript code down to the browser on each and every page visit/postback).

Prior to ASP.NET 2.0, such external resources that needed to be accessible to the visitor's browser had to be implemented as actual files on the file system. If you've worked with ASP.NET 1.x's validation controls, your pages have included a reference to a JavaScript file /aspnet_client/system_web/version/WebUIValidation.js and there is an actual file with that name residing in the web application's root. Such external resources hamper deployment - if you deploy your application from the testing server to production, it's imperative that the production server have the same external resources (WebUIValidation.js, in this case), in the same locations in the file system.

To remedy this, ASP.NET 2.0 allows for external resources to be embedded within the control's assembly and then be accessed through a specified URL. With the external images, JavaScript files, CSS files embedded in the control's assembly, deployment is a breeze, as all of the resources are now contained within the assembly (the .dll file). There are no external resources whose file names and location on the file system must map up. Once embedded into the assembly, these resources can be accessed from an ASP.NET 2.0 web page through a special URL (WebResource.axd)..

2006-08-08 19:00:00   Source: Accessing Embedded Resources through a URL using...   Tags: ASP.NET

Generic Dictionaries: Hidden Treasure of System.Collections.Generic

Generic dictionaries simplify common tasks, such as coordinating selection between a TreeView and a ListView—but their capabilities extend far beyond that, once you realize you can use DynamicInvoke() to execute delegates stored in the dictionary.

Going NoSQL with MongoDB

MongoDB is one of the principal tools of the NoSQL movement, which offers alternatives to the traditional relational database system. Learn its strengths and weaknesses as Ted Neward examines the document-based database in detail in the first of a series of columns.
2010-05-02 19:00:00   Source: Going NoSQL with MongoDB   Tags: Database

.NET Performance: Performance Diagnostics of .NET Applications Using ETW

Event Tracing for Windows (ETW) is a powerful logging technology that's leveraged in the .NET Framework 4 CLR to make profiling your managed application simpler than ever. ETW collects system-wide data and profiles all resources (CPU, disk, network and memory) making it very useful for obtaining a holistic view.
2010-12-02 18:00:00   Source: .NET Performance: Performance Diagnostics of .NET...   Tags: Performance

Using the Dynamic Keyword in C# 4.0

C# 4 provide a new dynamic keyword that enables dynamic typing in what has traditionally been a strongly typed language. We explain how the dynamic keyword works and what it offers that casting, var, and System.Object cant’ match.
2010-05-02 19:00:00   Source: Using the Dynamic Keyword in C# 4.0   Tags: C#

A Small-team Analysis of Visual Studio Team System

Although intended primarily for large teams, sometimes VSTS can simplify life on smaller teams as well. Find out whether your smaller teams might benefit.

A Simple Introduction to .NET Remoting

.NET remoting allows the development of distriubuted applications. It allows applications to use objects contained in other processes. We wil quickly look at the basics on how to set up a simple .NET remoting system.
2005-06-15 10:19:00   Source: A Simple Introduction to .NET Remoting   Tags: Internet Remoting