.NET news » Search results

Search results for query "System" (117):

XAML: Optimizing C# for XAML Platforms

By carefully examining the code you use in your XAML applications, you can ensure that you make choices that enhance your application’s performance. Understanding the complexity of the dependency property system, the way LINQ uses collections, and the operation of the XAML layout system will help you enable faster retrievals, use loops more efficiently and optimize custom controls.
2012-01-31 17:00:00   Source: XAML: Optimizing C# for XAML Platforms   Tags: C#

Health Monitoring in ASP.NET 2.0: Notifications via Email

The Health Monitoring system in ASP.NET 2.0 is designed to monitor the health of a running ASP.NET application in a production environment. It works by recording event information to a specified log source. The .NET 2.0 Framework includes a variety of built-in events that can be used by the Health Monitoring system, including events for monitoring application re-starts and stops, unhandled exceptions, and failed authentication attempts, among others. The .NET Framework also include support for logging these events to the Windows event log, to a Microsoft SQL Server database, via WMI, in an email, and to the ASP.NET page tracing system.

In this article we will continue our exploration of the built-in events and log sources. In particular, we will look at the WebFailureAuditEvent event, which is raised when there is a security audit failure. We will also look at the SimpleMailWebEventProvider event provider, which, as its name implies, sends event information via email.

2007-03-20 19:00:00   Source: Health Monitoring in ASP.NET 2.0: Notifications via Email   Tags: ASP.NET

Declarative Data Parallelism Using Parallel LINQ

Applications can be single threaded or multithreaded. A single-threaded application is one in which the processor executes threads in a sequence, i.e., a thread would be scheduled by the operating system only if the execution of the currently running thread is complete. This approach doesn’t provide much system throughput (a measure of the amount of work done in unit time).

2010-12-27 18:00:00   Source: Declarative Data Parallelism Using Parallel LINQ   Tags: Performance

Examining ASP.NET 2.0's Membership, Roles, and Profile - Part 6

The Membership API in the .NET Framework provides the concept of a user account and associates with it core properties: username, passsword, email, security question and answer, whether or not the account has been approved, whether or not the user is locked out of the system, and so on. However, depending on the application's needs, chances are your application needs to store additional, user-specific fields. For example, an online messageboard site might want to also allow users to specify a signature, their homepage URL, and their IM address.

ASP.NET 2.0 Profile system can be used to store user-specific information. The Profile system allows the page developer to define the properties she wants to associate with each user. Once defined, the developer can programmatically read from and assign values to these properties. The Profile system accesses or writes the property values to a backing store as needed. Like Membership and Roles, the Profile system is based on the provider model, and the particular Profile provider is responsible for serializing and deserializing the property values to some data store. The .NET Framework ships with a SqlProfileProvider class by default, which uses a SQL Server database table (aspnet_Profile) as its backing store.

In this article we will examine the Profile system - how to define the user-specific properties and interact with them programmatically from an ASP.NET page - as well as look at using the SqlProfileProvider that ships with .NET 2.0.

2006-10-10 19:00:00   Source: Examining ASP.NET 2.0's Membership, Roles, and Profile -...   Tags: ASP.NET

Combine Microsoft Project and Visual Studio Team System for a One-two Punch of Productivity

Visual Studio Team System (VSTS) provides centralized storage of work item tracking features while MS Project provides rich planning and tracking features. By using them together, you can improve team productivity, minimize data conflicts, and reduce administrative overhead.

An MVVM friendly approach to adding system menu entries in a WPF application

The majority of MFC apps have always had an About... menu entry in the main window's system menu, and this was primarily because the App Wizard generated code for that by default. I wanted to do something similar in a WPF application I've been working on, and I wanted to do it in an MVVM friendly manner. In this article I'll explain a neat way of doing it so that you can easily add menu items and attach command handlers to them while retaining the basic MVVM paradigm.

Canvas Control Library and New Forms Based System for building Web Pages and Websites

Canvas Control Library provides highly customizable controls using the HTML5 Canvas element. Also includes a New Forms Based system which is a new way to build your web pages and websites.

A Synchronized Volume Control for your Application

In a forthcoming article I will be describing a DirectSound based Wave Player-Recorder, with some unusual features.

The GUI will include a simple volume control for playback. Since I wanted that control to be synchronized with the system Volume Control utility, I needed to use WinMM.DLL functions and I thought this interim article outlining how those functions are used, and showing in particular how such a control can be synchronized with the system Volume Control, might be of general interest.

File Download in ASP.Net and Tracking the status of success/failure of Download

This article demonstrates how to provide download of a file in ASP.net along with tracking its success and failure. It will be useful especially in e-commerce system that offers downloadable product option. In e-commerce system it is very important to keep track of status of download.
2010-04-27 08:32:00   Source: File Download in ASP.Net and Tracking the status of...   Tags: ASP.NET

Benchmark start-up and system performance for .Net, Mono, Java and C++ native code

What is the overhead start-up and system performance for .Net, Mono, Java versus C++ native code
2010-07-12 10:19:00   Source: Benchmark start-up and system...   Tags: Performance