.NET news » Search results

Search results for query "System" (117):

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

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

Git, from a Developer's Perspective

What is Git? Git is a content-addressable file system wrapped in a version control system.That may sound complicated, but code snippets sometimes speak louder than words:

2010-07-01 19:00:00   Source: Git, from a Developer's Perspective   Tags: Source Control

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

Develop your own language translation system

Understanding of Example Based Machine Translation (EBMT) system and how to create your own using exisiting tools

Cutting Edge: Software Disasters: Recovery and Prevention Strategies

Have you ever had to deal with the infamous “big ball of mud” clogging up your project? Learn the best practices to help fix a deteriorated system and patterns to prevent a growing system from growing badly and uncontrolled, degrading over time.

Simple file system over SQLite

Implement an easy-to-use file system backed by a SQLite database.
2012-03-30 06:19:00   Source: Simple file system over SQLite   Tags: Database

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. :)
2006-07-18 14:18:00   Source: System.Diagnostics.Stopwatch -...   Tags: Performance

Determining which TabPage was clicked

This method, although it doesn't use binary search, handles Multiline tab pages too.private static intGetTabIndexAt( System.Windows.Forms.TabControl tabControl, System.Drawing.Point point){ int result = -1; if (tabControl != null) { for (int i = 0;...
2012-01-03 06:39:00   Source: Determining which TabPage was clicked   Tags: Graphics

Cam Alarm 2.0 - Alarm system run from a web camera

Simple alarm system for those on a budget..
2010-06-16 13:25:00   Source: Cam Alarm 2.0 - Alarm system run...   Tags: Examples Multimedia
12312Next ›