C# Corner

Resources  
  • Testing .Net Components Using NUnitMar 08, 2001. Write unit tests before starting development". Writing test allows me to see immediate results of every code change.
  • Visual Studio .NET: Start upMar 20, 2001. The next version of Visual Studio 6.0 is Visual Studio .NET (VS.NET). In the previous versions of Visual Studio Microsoft has different menu options to pick development environment such as VC++, Visual FoxPro, Visual Basic or Visual Interdev. This version of Visual Studio has integrated everything in one IDE. The reason for that might be all development languages share common library and tools.
  • Connecting to a Text file using ADO.NET Apr 20, 2001. A simple step by step tutorial shows you how to connect to a text file using ADO.NET and C#..
  • XML Strengths and Weaknesses with DOM, ASP, and XSLApr 30, 2001. In this article we're going to take a look at some of the terminology that comes with using XML and its related technologies, as well as how to create and transform XML documents with XSL using Microsoft's MSXML parser. To test the code samples shown in this article you should be running Windows NT/2000/XP with IIS installed. You should also have SQL server 2000 installed on the same machine.
  • Snooping on C#.NET Regular ExpressionsJun 26, 2001. I present here two micro test utils, which will let you play with regular expressions. Regular expression( System.Text.RegularExpressions.Regex ) is a powerful class very useful for parsing, splitting or replacing texts.
  • What's in Mobile Internet Tool?Jul 05, 2001. The New Name For .NET Mobile Web Is Mobile Internet Toolkit.
  • NUnit for people who can't cook - Part IDec 13, 2001. This article should l help C# user to get the most out of NUnit. Therefore, we are going to cover not only the usage of NUnit , but also the small tricks on how to set it up most efficiently.
  • NUnit for people who can't workJan 02, 2002. In this lesson I will show how to numerically solve algebraic and ordinary differential equations, and perform numerical integration with Simpson method.
  • VS.NET Tools Intermediate Language Disassembler (ILDAM)Feb 06, 2002. "The ILDSAM tool parses any .NET Framework EXE/DLL Module and shows the information in a human-readeble format"
  • Marble Solitaire Solution Display in GDI+Feb 13, 2002. The application finds and displays solutions to a game of solitaire. The application was written using Visual Studio.NET Version 7.0.9254. The test suite was written using NUnit, which is a .NET port of JUnit.
  • .NET COM Interoperability - Part 2: Using .NET Component from COMApr 02, 2002. When a COM client calls a DotNet object, the DotNet framework will create a COM callable wrapper (CCW). COM clients use the CCW as a proxy for the managed object.
  • Inherited Class Skeleton GeneratorApr 08, 2002. Inherited Class Skeleton Generator (ICSG) is a handy tool, which can be used to make your programming under .NET productive.
  • Gene Expression Programming (GEP) in C# and .NETApr 11, 2002. Gene Expression programming (GEP) is a subset of Genetic Algorithms, except it uses genomes whose strings of numbers represent symbols. The string of symbols can further represent equations, grammars, or logical mappings.
  • Drawing Transparent Images and Shapes using Alpha BlendingApr 22, 2002. Alpha blending is a process of mixing colors and generating a transparent affect. To test this, you draw some graphics shapes on a surface and draw image on top of those shapes and you should be able to see the shapes.
  • A Database Component: Inserting Serializable ObjectsApr 23, 2002. The attached zip file contains two projects - a database component (DLL) project and a Windows forms project called Test. Both projects are written and compiled using Visual Studio .NET version 1.0.
  • Unit Conversion Tool for Pocket PC with Compact FrameworkMay 22, 2002. I have created a Unit conversion tool to calculate conversion from 16 different types.
  • CS CODEDOM ParserJun 12, 2002. CS CODEDOM Parser is utility which parses the C# source code and creates the CODEDOM tree of the code(general classes that represent code, part of .NET Framework - namespace System.CodeDom).
  • Windows Spell Checker using SpellCheck.NET ParserJun 26, 2002. In this article, I put SpellCheck.net parser to the test with Windows Form Spell Checker application.
  • Using Crystal Report ViewerJul 31, 2002. The following small application is designed to allow testing created reports with XML feeds used as data sources. .
  • PDF ConverterAug 26, 2002. This is a PDF converter tool which can reads text documents and converts them to PDF documents.
  • Compiler Tools in C#Sep 10, 2002. The attached zip file contains the source code and documentation of Compiler tools in C#.
  • DigitizeAny - A .NET Windows Digitization ToolDec 17, 2002. DigitizeAny uses Win32 API calls to obtain the coordinates of the cursor and then translates to the graph coordinates once set. Since a mouse click would essentially bring to focus the window where it is pointed to, this tool uses the key event to capture the coordinates of the cursor.
  • Hash Password GeneratorFeb 10, 2003. This visual tool generates the hashed password using either SHA1 or MD5 hashing algorithm depending on the choice you make. It will display the hashed password in the read only text box, it can also copy the hashed password to clipboard on your choice for easy paste operation.
  • Simple Registration Framework-XML signaturesFeb 13, 2003. This project provides simple tools, which add a "shareware like" registration support to .NET application.
  • Using C# and COM Interoperability to Extract from a UML tool into a Microsoft Word DocumentFeb 18, 2003. This article allows you to read the classes contained inside of WithClass 2000 into a Word Document using COM Interoperability for Word and COM Interoperability for WithClass and presents your classes in a kind of report.
  • Querying COM+ through Web ServicesMar 12, 2003. The most COM+ common administrative tasks (creating a COM+ application, installing/deleting a component, setting a component attribute) can be accomplished manually with the Component Services administrative tool from Management Console.
  • Regular Expression ValidatorMar 14, 2003. This tool is useful when you are creating Regular Expression. This tool will help you in checking syntax of the regular expression typed in.
  • Basics of Extending Your Working Environment in Visual StudioApr 10, 2003. All of us have used Macros in Microsoft Office and Add-ins in Visual Studio 6 and I am very sure all of us have been impressed as well by their power to control their own working environment.
  • Using C# .NET in Excel 2003May 08, 2003. This article shows how you can take advantage of Visual Studio 2003 tools to write .NET applications that work with Office 2003.
  • Using Regions to Improve Code ReadabilityAug 26, 2003. Visual Studio .NET gives us some very handy tools to improve readability in our code.
  • ODBC usage in .NETSep 24, 2003. This article will provide a template of how to represent a smallint, integer, decimal, varchar and other ODBC data types that are used in the SQL Server environment in COBOL.
  • Solar Power Charting ToolDec 30, 2003. In this article, we will see how to use C# and GDI+ in measuring the solar power and represent it in form of chart.
  • QuickModeler 2.0 : A Reverse Engineering Tool for Visual Studio .NETJan 08, 2004. QuickModeler is an Add-In for Visual Studio .NET which provides reverse engineering and easy UML modeling functionality to the development environment. It comprises features like autolayout, inheritance and association modeling, cross language modeling, grid, clipboard, etc.
  • Testing .NET applicationsFeb 16, 2004. This white paper shares vision and challenges in testing .NET applications. Never before, has any technology or framework tried bringing many disparate systems and languages under one roof for the benefit of enterprise applications.
  • Microsoft Application Center 2000 - An IntroductionMar 17, 2004. Application Center 2000 is Microsoft's deployment and management tool for high-availability Web applications built on the Microsoft Windows 2000 operating system. Application Center 2000 makes managing groups of servers as simple as managing a single computer.
  • Portal Development in ASP.NET 2.0Jun 04, 2004. The new security controls make authentication a breeze and web parts provides the user the means to customize content. Personalization and Membership features give developers a ready made framework for personalizing the site to suit individual user needs.
  • Refactoring in Visual Studio 2005Jun 11, 2004. Refactoring allows developers to use the built-in feature of Visual Studio to rename and convert and change the signatures and definitions of a class members. In this article, I will show you how refactoring feature provided by Visual Studio 2005 can be a handy tool when you are reorganizing or optimizing your existing projects.
  • Evolving Register Network using Genetic Algorithms in C# Jun 23, 2004. Genetic Algorithms are powerful AI tools because they can evolve through trial and error and converge into a solution. In this article we will use genetic algorithms to come up with an analog solution.
  • Evolving Numeric Series using Genetic Algorithms in C#Jul 27, 2004. If you ever browsed around the book store, you'll notice these puzzle books or IQ test books and some of the books contain questions asking you to complete a series of numbers.
  • Crystal Reports - Geterogeneus databases: SQL Server, Oracle, Unidata, BtrieveAug 24, 2004. Crystal Reports is the most flexible tool on the market and it has market recognition. Multiple software vendors offer Crystal Reports as the main reporting tool: Microsoft, Best Software, Oracle to name a few. In this article, you learn some tips on using Crystal Reports versus other options.
  • Adding Discovery Features to BizTalk Server 2004: Part ISep 13, 2004. This article explores the concepts of the BizTalk-UDDI mapping process and the similarity with the WSDL-UDDI mapping process. By the other way the second article is focused in the implementation and use of the BizTalk Server 2004 UDDI Publishing Wizard tool.
  • Extreme ProgrammingSep 16, 2004. Extreme Programming is new development technique getting adopted in the software development and the key strength of this methodology is simplicity, team work, quality and testing.
  • Microsoft Application Center TestOct 13, 2004. Application Center Test (ACT) stress tests Web servers and analyze performance and scalability problems of Web applications. ACT simulates a large group of users by opening multiple connections to the server and rapidly sending HTTP requests. It also supports several other authentication schemes and the SSL protocol, making it ideal for testing personalized and secure sites.
  • Microsoft CRM Customization: MS Exchange Transport SMTP Event SinkOct 18, 2004. Microsoft CRM has variety of customizations options and tools. The official and the most popular is Microsoft CRM SDK: collection of C#.Net and partially VB.Net classes, methods and code samples.
  • Getting Web Statistics for Instant Downloads in ASP.NETNov 05, 2004. One of the most important website activity parameters is the resource access statistic. Such information is necessary for many purposes - optimizing of the website content, marketing campaigns improvements and also for some diagnostic tests.
  • Public Key Token Generation AlgorithmJan 31, 2005. The PublicKeyTokenGenerator class and a small utility that generates Public Key Token from the Public Key using that class.
  • Query Tool to Excel using C# and .NETFeb 03, 2005. This article show how to use .NET's interoperability feature to pull the data directly into the spreadsheet.
  • Creating simple Add-in for Visual Studio.NETMar 16, 2005. An add-in is a tool that you create programmatically by using objects, methods, properties, collections in .NET's extensibility model. This compiled application enables you to automate the difficult and tedious tasks within the visual studio integrated development environment (IDE).
  • Enterprise Library 1.0Apr 02, 2005. Enterprise Library is a set of tested, reusable application blocks that address common problems developers face when developing enterprise-based applications.
  • Measure Web Service Performance using NetMonMay 03, 2005. This article gives an idea how to identify the performance of web method calls by using NETMon tool.
  • AI: Population based Incremental Learning in C# and .NETMay 22, 2005. In this article I would like to discuss another offshoot of the genetic algorithm called Population Based Incremental Learning (PBIL).
  • Revised Gauge Custom Control in C#Jun 10, 2005. This is an enhanced version of the custom guage. Enclosed are the source code for the control, and the test program.
  • Learning Visual Studio 2005 IDE - Quick Access to Active Tool Windows and FilesJul 31, 2005. One of the coolest feature in Visual Studio 2005 I like is quick access to all active Windows and Files and switing control between them.
  • Migrating from Java to C# Oct 03, 2005. Microsoft has created a tool called Java Language Conversion Assistant (JLCA), which automatically converts Java code into C# for developers who want to move existing applications to the .NET Framework.
  • Better Exception Handling in Visual Studio 2005Nov 16, 2005. With many new cool features, components, controls, and tools, Visual Studio 2005 definitively is a winner. In this article, I discuss the new exception handling dialog in Visual Studio 2005.
  • Automated Backup with NAntNov 26, 2005. An article describing how to use the NAnt build tool to create a custom, automatted backup process.
  • Visual Guard for .NETJan 19, 2006. Novalys announces Visual Guard, which is aimed at setting up user’s profile and permissions for .net application (who is allowed to do what?). The tool easily integrates to any .net application and makes rights/permissions management easier thanks to its administrating console.
  • Testing project using NUnitJan 20, 2006. This article is for the begineers who wish to learn the basics of NUnit.
  • FxCop Integration into VS.NETFeb 16, 2006. In this article, I give brief introduction on FXCop tool, followed by steps to integrate the tool in VS.NET IDE. I have also indentified benifits and limitations of integration.
  • Agile Development Checklist Feb 20, 2006. The purpose of this article is to define a set of ideal practices for an agile software development project. The idea for this article came to me after discussing CMMI-type processes and realizing that there is no agile equivalent.
  • Automated Code Coverage and Unit TestsMar 08, 2006. A short tutorial that explains how to use a code coverage tool and how it can be integrated with unit tests to allow us to determine how well the unit tests exercise our application/classes. Code examples are written using C#.
  • DataReader And DataSetMar 20, 2006. ADO.NET is part of Microsoft.NET which comprises a set of tools and object model for accessing a data source. The objects definition appears under the System.Data namespace. It allows applications to store, manipulate and retrieve data. In this article I’m going to talk about the two different objects for accessing data sources in two common contexts of your application: the connected and disconnected environment.
  • A Practical Approach to .NET Testing using Visual Studio 2005 Test Team SuiteMar 22, 2006. This article will cover practical approach to White box Testing Techniques using Microsoft Visual Studio 2005 Test Team Suite. It covers concepts with a simple, easy to follow example.
  • Data mining and SQL Server 2005Apr 11, 2006. Data mining is a key member in the Business Intelligence (BI) product family in SQL Server 2005 . Data mining is about analyzing data and finding hidden patterns using automatic or semiautomatic means, which can be explored for valuable information. It is about learning the characteristics of data set, which are not possible to discover by simple seeing.
  • Unit Tests in Visual Studio 2005Jun 01, 2006. Visual Studio 2005 comes with an integrated Test System, which allows developers to create Unit Test Project using IDE and write code to create unit tests and run them. This article explains how to get started with unit tests in Visual Studio 2005.
  • Role Based Security Using Authorization Manager in Windows Server 2003Jul 10, 2006. Authorization Manager in Windows 2003 is the more flexible, scalable and easier administration tool for role based security. Using Authorization Manager we can define roles and the tasks that roles can perform.
  • User Authentication & Role Management in ASP.NET 2.0 using Sql Server 2005: Part IJul 21, 2006. This article gives you a complete description of the user authentication and how to manage roles for different users using asp.net 2.0 and sql server-2005.
  • User Authentication & Role Management in ASP.NET 2.0 using Sql Server 2005: Part IIAug 15, 2006. This article gives you a detailed idea of how to implement the role management in ASP.NET 2.0 using SQL Server 2005.
  • Aural Alert Generator (Voice and Tones)Aug 25, 2006. This article describes an application used to generate and test aural alerts; I wrote the application originally to allow me to define and test aural alerts for use in a couple of cockpit simulators, however, you could use the application to generate aural alerts for any purpose. The application also may be used to define voice messages which may be optionally saved as wave files for subsequent use in other applications.
  • C# .NET 2.0 Test Driven DevelopmentOct 09, 2006. This article will demonstrate test driven development by stepping through the test driven development cycle using a small sample project.
  • SQL Server Backup file in standard Zip formatOct 12, 2006. This is SQL Server Backup and restore tool, the system will store the backup files in standard Zip format ,the user-friendly screen let you backup and restore SQL Server database to local harddisk or remote network driver easily and quickly.The program can restore database easily.
  • Book Store Application using ASP.NET 2.0Oct 13, 2006. This project is done using ASP.NET 2.0 and SQL Server 2005. This application covers all the basic aspects a developer needs.
  • VSTO2005- Usage and deploying a Smart Client ApplicationOct 17, 2006. VSTO2005 has been a great relief to .NET office developers as a result of its enhanced features. It’s been a long time desire for office programmers to have something which would provide them an interface to program the office components just like any other interactive forms.
  • Snap it! - How to Take a Screen Shot Using .NETJan 23, 2007. This article explains how to create a snapshot tool in .NET and Windows Forms.
  • Docking Controls - Standard and CustomMar 16, 2007. This article addresses the user of the standard 2005 toolstrip container control used in conjunction with toolstrips and discusses an approach to building a custom dockable tool palette.
  • How Do I Bring a Microsoft Word Table into a DataGridView?Jun 12, 2007. This Article will answer the question: "How do I import a table in MS Word into a DataGridView using Visual Studio's built in Tools for Office.
  • Managed Static Code Analysis in VSTS: Part ISep 24, 2007. This article attempts to explain the concept of static code analysis and tools that can be used to realize it with a focus on managed code analysis.
  • Web based colour tool for .NETOct 02, 2007. The .NET Framework provides us with over 100 colours to use within the System.Drawing namespace. In order that we know exactly what all these colours look like here is a simple web based tool that uses Reflection to loop through all the colours with the System.Drawing.Color struct and print them to the page.
  • Running the command prompt from visual studio tools menuJan 17, 2008. This article tells you how to run visual studio command prompt from inside the visual studio.
  • Where Did All the Designers Go! Jan 24, 2008. Software is one of the fastest paced industries in the business world. As quickly as software languages come and go, skill sets require constant learning. In trying to keep up with implementation aspects of software, did we somehow forget about the priority of creating a good design? This article describes how we came about with a void of software design skills in the programming world.
  • Find and Close the window using WIN APIFeb 01, 2008. This article explains how to find and close the window using Win API.
  • XML Pathfinder - Sample C# Utility to Study XML Paths and XPath QueriesFeb 05, 2008. This article discusses the construction of a simple utility that may be used to locate and evaluate paths within an XML document, and to test queries against those paths.
  • Chapter I: Getting your toolsFeb 14, 2008. This article tells you how to access databases with C# 2008.
  • Writing Better Code -- Keepin' it CohesiveFeb 15, 2008. One of the aspects of code quality we can look at is cohesion. If code is highly cohesive it is also much more testable, reusable, readable and maintainable (all the good things in life). Likewise, if code has a low level of cohesion it is often very hard to understand at a glance and difficult to test and maintain. In this article we'll take a look at a concrete example of code that does not follow the Single Responsibility Principle and as a result has low cohesion and walk through the refactoring it takes to modify the code to be more highly cohesive.
  • Building ASP.NET bot protection (CAPTCHA-like)Feb 29, 2008. This article shows how to build captcha-like protection from spam and other bots in ASP.NET.
  • Writing Better Code; Keeping it MaintainableMar 01, 2008. This article provides guidance for writing better, more maintainable code.
  • Add and handle application settings in the configuration file: Part IIApr 16, 2008. This article tells you how to add connection string using the configuration file itself.
  • Configuration Sections- Create customized section using IConfigurationSectionHandler Interface: Part IIIApr 16, 2008. In this part III article we will try to achieve, step by step, the same goal as in the Part II article, but using another tool, namely, the IConfigurationSectionHandler interface.
  • Writing Testable ObjectsApr 18, 2008. This article is an introduction to a simple pattern for building more testable classes.
  • What really it differs an Interface from a class: Part IIIApr 29, 2008. As a response to the third question asked in the first article Part I-What really it differs an Interface from a class? I can say that also interfaces play others important roles. They can serve as a powerful tool to explore objects
  • Handle resource file - Add resources into a windows application using VS 2005: Part IIMay 13, 2008. In this article, I will show how to add resources to a windows application using tools provided by the Visual studio 2005 integrated development environment.
  • Handle resource files - Use resgen.exe to generate resources files: Part VJun 02, 2008. The resgen.exe is a wonderful tool provided by the .Net framework to generate resx, resources files. In this article I wil show the trick of how to use it in .Net.
  • Handle resource files - Generate a class with strongly typed properties from a resources file using resgen.exe: Part VIJun 10, 2008. Other functionality provided by the resgen.exe witch I appreciate a lot. This tool gives you the possibility to generate an entire class with strong typed properties.
  • Software Testing TechniquesJul 16, 2008. This article tells us that Testing should systematically uncover different classes of errors in a minimum amount of time and with a minimum amount of effort. Because of the fallibility of its human designers and its own abstract, complex nature, software development must be accompanied by quality assurance activities.
  • Introduction to Unit Testing Framework of VS 2008Aug 13, 2008. This article gives an introduction to in-built Unit Testing Framework of Visual Studio 2008.
  • Introduction to Unit Testing Framework of VS 2008: Part IIAug 14, 2008. This article gives an introduction to creation and configuration of Ordered Tests of VS 2008 Testing Framework.
  • Introduction to Unit Testing Framework of VS 2008 - Part IIIAug 19, 2008. This article gives an introduction to creation of Test List and configuration of Test Project of VS 2008 Testing Framework.
  • Introduction to Unit Testing Framework of VS 2008: Part IVAug 20, 2008. This article gives an introduction to Code Coverage in VS Team System 2008.
  • Developing external tools add-in with ProcessStartInfo and Process classes for PragmaSQL EditorAug 28, 2008. This article describes making of an external tools add-in for PragmaSQL Editor by using ProcessStartInfo and Process classes from System.Diagnostics namespace.
  • Test for User Group Membership in ASP.NET C#Oct 13, 2008. This article describes a simple approach to determining whether or not a logged in user is a member of a group within the context of an asp.net web based application.

About Watin-testing-tool

NA

SPONSORED BY

Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.
Download Free eBooks