.NET news » Search results

Search results for query "System" (43):

Advanced Basics: Monitor Your Apps with System.Diagnostics

The System.Diagnostics namespace provides classes for interacting with event logs, performance counters, and system processes, and can really help when you've got bugs. Find out how.

System.Transactions and ADO.NET 2.0

Data is the blood in your system; it sits in its comfortable home of a database, and camps out in the tent of XML, but it deserves to be worked with in a reliable and consistent manner.But why should only data-related operations be reliable? Shouldn't you want to write reliable code for your other operations? The introduction of System.Transactions in .NET 2.0 brings a paradigm shift of how you will write reliable transactional code on the Windows platform. This article dives deep in the depths of how System.Transactions works, and how you can use it to your advantage. You will also see how you can leverage existing System.Transactions integration within ADO.NET, and why you need to really understand what is under the magic carpet.
2006-04-20 19:00:00   Source: System.Transactions and ADO.NET 2.0   Tags: Database

Use of the PayPal payment system in ASP.NET

Those who create commercial sites are faced with the question, "How should it receive payments?" One of the most popular payment systems in the world is PayPal. This system is often chosen because it is reliable, simple to use and allows an account to be easily opened. To open an account, you need only have a credit card and/or an account in an American bank. One of shortcomings of the system is its severe security policy. However, practice evinces that if you follow the rules of the system carefully, then errors are very rare. The purpose of this article is to show how payments processing can be organized to support reliability and security. The article is also aimed at providing you with an example of the development of a simple online shop, in order to demonstrate interaction with the PayPal system. You can use the code in your applications to organize interaction with the PayPal system and to process payments.
2007-06-14 15:16:00   Source: Use of the PayPal payment system in ASP.NET   Tags: ASP.NET Examples

Health Monitoring in ASP.NET 2.0: The Basics

ASP.NET version 1.x did not include any built-in logging and notification system and therefore required a little bit of code or configuration effort from the developer. ASP.NET 2.0, however, provides built-in Health Monitoring facilities that make it a snap to configure a website to record events to the event log, a database, via WMI, in an email, or to the ASP.NET page tracing system. Moreover, the Health Monitoring system was created using the provider design pattern, making it possible to implement our own logging logic.

This is the start of a series that explores the ASP.NET 2.0 Health Monitoring system. In this article we will examine the basics of Health Monitoring and see how to setup Health Monitoring to log events to a SQL Server database..

2007-03-13 19:00:00   Source: Health Monitoring in ASP.NET 2.0: The Basics   Tags: ASP.NET

Dynamic Creation Of Assemblies/Apps

This is a bit of a strange article, and may not be that useful, but I think its a very interesting subject, that some will probably not even be aware of. This article will cover some of the less known namespaces within .NET. Such as System.CodeDom and System.CodeDom.Compiler. What I will be demonstrating in this article, is just how neat these namespaces are and what can be done with them. Specifically I will be demonstrating that we are able to build entirely new source code files at runtime using the System.CodeDom namespace and the use the System.CodeDom.Compiler namespace classes to even compile this newly created source code into a runnable application. This will all be created at runtime.
2008-01-27 09:27:00   Source: Dynamic Creation Of Assemblies/Apps   Tags: Other

Data Points: System.Transactions

The System.Transactions namespace of the Microsoft .NET Framework makes handling transactions much simpler than previous techniques. Read all about it this month.
2006-10-11 19:00:00   Source: Data Points: System.Transactions   Tags: Database

Team System: Team Foundation Server Version Control

In this new column, Brian Randell begins his long look at how to extend and enhance Visual Studio Team System.
2006-11-21 18:00:00   Source: Team System: Team Foundation Server Version Control   Tags: Source Control

Service Station: What's new in System.Xml 2.0?

In this installment of Service Station, Aaron Skonnard takes a long hard look at System.Xml 2.0.
2006-08-07 17:33:20   Source: Service Station: What's new in System.Xml 2.0?   Tags: XML

Explorer ComboBox and ListView in VB.NET

A ComboBox (and ListView) displaying the file system, using the system image list.
2006-08-18 12:11:00   Source: Explorer ComboBox and ListView in VB.NET   Tags: GUI Components

System.Diagnostics.Stopwatch - always remember to use Reset

Wrong
        System.Diagnostics.Stopwatch s = new System.Diagnostics.Stopwatch();

        s.Start();
        for (i = 0; i  count; i++) Test1();
        s.Stop();
        Console.WriteLine("Test1: {0}", s.ElapsedMilliseconds);

        s.Start();
        for (i = 0; i  count; i++) Test2();
        s.Stop();

        Console.WriteLine("Test2: {0}", s.ElapsedMilliseconds);
Right
        System.Diagnostics.Stopwatch s = new System.Diagnostics.Stopwatch();

        s.Start();
        for (i = 0; i  count; i++) Test1();
        s.Stop();
        Console.WriteLine("Test1: {0}", s.ElapsedMilliseconds);

        s.Reset();

        s.Start();
        for (i = 0; i  count; i++) Test2();
        s.Stop();

        Console.WriteLine("Test2: {0}", s.ElapsedMilliseconds);
Not that *cough* I would ever make this mistake or anything, but you know... it could happen to like, a friend, or something. Ya. My friend. :)
« Previous12345Next »