CodeProject

TwitterFacebook
Get flash to fully experience Pearltrees

The 30 Minute Regex Tutorial

Learning .NET Regular Expressions with Expresso Did you ever wonder what Regular Expressions are all about and want to gain a basic understanding quickly? My goal is to get you up and running with a basic understanding of regular expressions within 30 minutes. The reality is that regular expressions aren't as complex as they look. The best way to learn is to start writing and experimenting. After your first half hour, you should know a few of the basic constructs and be able to design and use regular expressions in your programs or web pages. http://www.codeproject.com/Articles/9099/The-30-Minute-Regex-Tutorial

Fast Binary File Reading with C#

http://www.codeproject.com/Articles/10750/Fast-Binary-File-Reading-with-C Introduction I’ve been working on a time-series analysis project where the data are stored as structures in massive binary files. Importing the files into a database would cause a performance hit with no value added, so dealing with the files in their original binary format is the best option. My initial assumption was that throughput would be limited by disk speed, but I found that my first implementation resulted in 100% CPU utilization on my research box. It was obviously time to optimize.
http://www.codeproject.com/Articles/5489/KeePass-Password-Safe

KeePass Password Safe

KeePass v1.24 - Download executable - 1.38 MB KeePass v1.24 - Download source code - 1.46 MB KeePass homepage (latest unstable release) Latest translation files Index Introduction
You know HTML Knowing HTML is the ideal for the editor. Select the HTML button to switch between HTML and WYSIWYG (What You See Is What You Get) modes. Please note, class designations (ie. table class="ArticleTable") have specific capitalization. http://www.codeproject.com/Articles/64119/Code-Project-Article-FAQ

Code Project Article FAQ

Introduction This is the second article about design patterns. In the first article I have discussed about creational design patters and now I will describe another set of patterns called Structural design patterns. In software engineering, structural design patterns are design patterns that ease the design by identifying a simple way to realize relationships between entities. http://www.codeproject.com/Articles/438922/Design-Patterns-2-of-3-Structural-Design-Patterns

Design Patterns 2 of 3 - Structural Design Patterns

Advanced TreeView for .NET

Introduction Working on several different projects, I was needed to display and edit hierarchical data. Of course, the first thing you will do is to use the standard .NET TreeView control. It works pretty well if you only need basic features. But learning this control to do something more complex is not an easy job. I could not find an alternative TreeView control which is free and fully meets my needs, so finally I decided to write my own. http://www.codeproject.com/Articles/14741/Advanced-TreeView-for-NET
http://www.codeproject.com/Articles/117673/WPF-Charting-using-MVVM-Pattern Introduction There are tons of articles on the MVVM (Model-View-ViewModel) design pattern , and rightfully so. It's an easy pattern to understand (after you've studied it for a while) and it very nicely separates concerns. Where better to separate concerns than with a Chart and its data?

WPF Charting using MVVM Pattern

http://www.codeproject.com/Articles/196502/WPF-Toolkit-Charting-Controls-Line-Bar-Area-Pie-Co

WPF Toolkit Charting Controls (Line, Bar, Area, Pie, Column Series) Demo

Introduction I’m currently working on a few Data Visualization projects and am using WPF most of the time. Charting controls are very useful for the one related to statistics and data handling. WPF toolkit is free and open source, however is used by few because of its limited charting support. In my opinion, it is quite useful and straightforward to use. Here, I’m just demonstrating the basic charting controls and setting data for display.
Introduction MVVM seems, to me, to be the best way to develop applications that are both flexible - allowing changes to the GUI without complex rewrites, and allowing testing of the client logic without needing to resort to complex macros. In this series of articles, I will present a small application in WPF, using an enhanced MVV pattern that I'm calling MVVM#. So, what's different about my implementation?

MVVM# Episode 1

http://www.codeproject.com/Articles/173618/MVVM-sharp-Episode-1
Review “Shining a bright light into many of the dark corners of C# 3.0, this book not only covers the ‘how,’ but also the ‘why,’ arming the reader with many field-tested methods for wringing the most from the new language features, such as LINQ, generics, and multithreading. If you are serious about developing with the C# language, you need this book.” —Bill Craun, Principal Consultant, Ambassador Solutions, Inc. “ More Effective C# is an opportunity to work beside Bill Wagner. Bill leverages his knowledge of C# and distills his expertise down to some very real advice about programming and designing applications that every serious Visual C# user should know. http://www.amazon.co.uk/More-Effective-Specific-Software-Development/dp/0321485890

More Effective C#: 50 Specific Ways to Improve Your C# Effective Software Development: Amazon.co.uk: Bill Wagner

Creating a Custom .NET Profiler

Contents Introduction Have you ever wondered how profiling tools hook into .NET applications? This article shows how you can create your own custom .NET profiler for any managed application.
Introduction When implementing some software for another project, I came across several requirements involving calculations with time periods. These calculations were an important part of the solution and had high demands in respect to the correctness and accuracy of the results. The required functionality covered the following areas: Support for individual time periods Working with calendar periods within calendar years Working with calendar periods deviating from the calendar year (fiscal or school periods) The time calculations should be made available to both server components (Web Services and tasks) as well as for a rich client (Silverlight).

Time Period Library for .NET

Serial Port Programming – Part 3: Final touches and sending data

As always, the full program (after the modification discussed here) is available in the MSDN Sample Library . There’re a few final touches left and we’ll complete our serial class. Depending on the cabling and the device your serial port is attached to you may require to let it know that your serial port is available for data. We do this by altering our Open method as shown below. Notice lines 18 and 20. DtrEnable is short for Data Terminal Ready and RTS is short for Ready To Send.