.NET news » Search results

Search results for query "System" (117):

Using MSMQ , Backgroundworker Threads in C#

This article covers MSMQ functionality exposed through the System.Messaging namespace.
2012-03-30 00:38:00   Source: Using MSMQ , Backgroundworker Threads in C#   Tags: C#

Building ASP.NET Validator using Data Annotations

The article describes an implementation of ASP.NET validator that uses the new System.ComponentModel.DataAnnotations assembly that came in .NET 3.5 SP1.
2010-07-28 01:02:00   Source: Building ASP.NET Validator using Data Annotations   Tags: ASP.NET

Customer Support in Silverlight

Take a screen capture of your running Silverlight app and submit it to your web server. Inclusive a lot of system information
2010-06-07 17:07:00   Source: Customer Support in Silverlight   Tags: Silverlight

System.Transactions and ADO.NET 2.0

If you use DataAdapters and love their automatic connection-opening and closing capabilities—and ever use transactions, you should first understand what's really going on underneath the covers.
2006-06-10 21:56:55   Source: System.Transactions and ADO.NET 2.0   Tags: Database

Global Shortcuts in WinForms and WPF

This article shows how to register and manage System-Global hotkeys in WinForm and WPF applications and performing some keyboard manipulation from your app.
2012-10-01 09:56:00   Source: Global Shortcuts in WinForms and WPF   Tags: WPF

Common Table Expressions (CTE) in SQL Server 2005

When crafting a query in SQL, there are often times when we may need to operate over a set of data that doesn't inherently exist within the system. For example, the database for an eCommerce web application would have the standard tables - Products, Customers, Orders, OrderDetails, and so on - but we may need to run reports on a particular subset of the data or against aggregate data across these tables. Or the reporting queries we need might need to group or filter by results returned by scalar subqueries. Typically, views are used to break down complex queries into digestible chunks or to provide scalar subquery results that can be grouped and filtered. Views, however, are sometimes overkill, as they are permanent objects at the system-level. If we only need to reference this complex query in a single stored procedure or UDF, another option is to use a derived table. Unfortunately, derived tables muddle the readability of the query and must be repeated for each use in a statement..
2006-07-18 19:00:00   Source: Common Table Expressions (CTE) in SQL Server 2005   Tags: Database

Displaying Files and Folders in a GridView

The .NET Framework provides a variety of classes in the System.IO namespace that simplify working with the file system. Using these classes it's possible to delete files and folders, to create new files, to edit existing files, and more. These classes, combined with ASP.NET's suite of Web controls and databinding syntax, make it quite easy to present information about the files on the web server's file system to visitors to your website. With a bit of markup and code, it's possible to add a simple file browser to a web page that allows users to view the files and folders from a particular directory on the web server. Such file browsers are useful if you let users upload content to the website and need to let them view their uploaded content. If you have a folder that contains user-accessible content like images, PDF files and Word documents, a file browser offers a quick and easy way for users to see what content is available and to view content of interest.

Back in 2003 I wrote an article titled Displaying the Files in a Directory using a DataGrid that showed how to list the files of a particular folder in a DataGrid Web control. This dated article still attracts a decent amount of traffic and questions from readers, so much so that I thought it worthwhile to update the content to use the latest technology, namely ASP.NET 4 and the GridView Web control. I also added some new features. For example, the file browser now lists both files and folders, allowing users to view the files in subfolders. Also, I moved the markup and code into a User Control, which simplifies adding the file browser to an ASP.NET page. This article walks through this new, updated version; the complete, working code is available for download at the end of this article.

2010-08-31 19:00:00   Source: Displaying Files and Folders in a GridView   Tags: Examples

A Generic Searchable Range Collection

When developing networked applications that rely on a remote computer being available, it is important to be able to check that the other system is operable. Using the .NET framework's Ping class, an ICMP echo request can be sent for this purpose.
2008-03-15 17:32:38   Source: A Generic Searchable Range Collection   Tags: C#

Redis VB.NET Part I: Introduction to Using Redis (NoSQL) with .NET

Create a usable redis component to enable usage of the redis storage system
2011-04-29 09:08:00   Source: Redis VB.NET Part I: Introduction to Using Redis (NoSQL)...   Tags: VB.NET

Net Spy: Your Network Spy With Logging System Using C#

This is a windows based tool to continuous monitor your shared folder in network and generated a log for different folder.