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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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. .
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • Testing project using NUnitJan 20, 2006. This article is for the begineers who wish to learn the basics of NUnit.
  • 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#.
  • 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.
  • 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.
  • 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.
  • Generate XML based Resource Files on the fly in ASP.NET 1.x applicationsSep 11, 2007. If internationalization was not part of your application’s initial development cycle, but required to extend it globally at a later point of time, then creating resource files from all the UI elements is a very tedious & manual process in ASP.NET 1.x. The framework presented in this article saves a developer from manually updating the resources and keeps the resx files in sync with the webforms and user-controls by automatically generating the resx files.
  • 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.
  • 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.
  • 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.
  • Writing Testable ObjectsApr 18, 2008. This article is an introduction to a simple pattern for building more testable classes.
  • 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.
  • 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.
  • Test for Desktop User Group Membership with C#Nov 10, 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 a desktop application. The approach shown relies upon the use of the user’s current Windows identity.
  • Unit Testing with VS 2008 Team editionFeb 15, 2009. Unit tests allows the developers and testers to check the logical errors in the methods of classes in C# and VB.NET Projects.Unit test can be created once and can be run every time that source code changes.Unit test cases make sure that no bugs are introduced when you write the new code.
  • Test-driven development approach in Microsoft.NET using NUnitFeb 19, 2009. This is the first article of series of articles related to Test-driven development (TDD) approach in Microsoft.NET. My intention is to illustrate this approach with several real-world examples, and this article is an introduction to the approach and the testing framework NUnit.
  • Continuous Integration with CruiseControl.netMar 07, 2009. Discusses the advantages of continuous integration going into some detail on automating unit tests and documentation. Includes example build files and configuration
  • Test-driven development approach for a class library in Microsoft.NETApr 09, 2009. This is the second article of series of articles related to Test-driven development (TDD) approach in Microsoft.NET. My intention is to illustrate this approach with several real-world examples. In this article, I will show how programmers can use the test-driven development approach to implement and test a class library.
  • Test-driven development approach for WCF Web servicesApr 11, 2009. In this article, I will show how programmers can use the test-driven development approach to implement and test Web service solutions.
  • Web Paging Navigation ControlMay 18, 2009. WebPagingControl navigation control contain page numbers ,next,back,first,last to navigate in datalist the project cotains web page to test the control working with ajax
  • How to turn a mobile device into a mighty survey assistantJul 29, 2009. Marketing research and perfect customers’ knowledge are key factors for successful business. One of the best ways how to get to know your customers and their preferences is running surveys. Usually, the surveys are run by mobile workers using paper based forms. It might sound archaic, yet there are companies that use this manual approach. However, this outdated process can be easily replaced using mobile devices allowing data processing automation.
  • How to start your Workflow manually in Sharepoint?Sep 27, 2009. This article and code snippet shows how you start a Workflow manually from your code.
  • 5 simple steps to execute unit testing using NUNIT Nov 22, 2009. Unit testing is validation and verification methodology where the developers test the individual units of source code. In this tutorial we will try to understand how we can do unit testing using NUNIT framework. This tutorial we will try to understand the 5 important steps to do unit testing using NUNIT.
  • 12 Important FAQ on VSTS TestingDec 06, 2009. This article has 12 important FAQ which covers unit testing, automated testing, data driven test, LOAD / performance test, code coverage, database testing and ordered testing.
  • The Contains Method and Hit Test in GDI+Jan 13, 2010. In this article I will explain about the Contains Method and Hit Test in GDI+.
  • Crystal Reports: 5 Tests for Top PerformanceFeb 10, 2010. In this article how to use Crystal Reports: 5 Tests for Top Performance.
  • Test-driven development approach for database applicationsMay 10, 2010. In this article, I will show how programmers can use the test-driven development approach to test enterprise solutions and its underlying data layer which should also support transactions in order to manage persistent data and leave the database systems in correct states.
  • Visual Studio 2010 Tools - To improve code qualityJun 21, 2010. In this article, I am going to present a step by step demo on how to improve code quality by using Visual Studio Tools.
  • Visual Studio 2010 - Data Driven Unit TestJun 23, 2010. Here I am going to demo data driven unit testing using a CSV file. Ultimately we are going to put test data into a CSV file and use that file data as an input for unit testing.
  • A Potentially Helpful C# Threading ManualJul 27, 2010. The article will focus on threading constructs and as such, is meant for both the beginner and those who practice multithreading regularly.
  • The '8 Commandments' for Choosing a Unit Testing SolutionJul 29, 2010. In this article you will learn how to use 8 Commandments for Choosing a Unit Testing Solution.
  • Creating a Custom Date Textbox User Control: Part 2Aug 16, 2010. In this part we're going to test our user control using the defined properties.
  • Checklist for Automating Software TestingAug 31, 2010. In this article you will learn how to use Checklist for automating software testing.
  • Introduction to Structure MapSep 01, 2010. This article provides a basic idea about structure map for Test Driven Development.
  • Walkthrough on reating WCF 4.0 Service and Hosting in IIS 7.5Sep 08, 2010. This article will give step by step walkthrough on how to create a basic WCF 4.0 Service, how to host WCF Service in IIS 7.5 and hot to test service in a client.
  • Unit testing with VSTSSep 20, 2010. Unit testing is validation and verification methodology where the developers test the individual units of source code. Some key points to remember are - A unit is the smallest part in the application which can be tested. So it can be a method, function or class.
  • How to configure default catalog and channel name of commerce server into sharepoint channel configuration list programmatically Sep 20, 2010. This will configure sharepoint channel configuration list programmatically to avoid manual configuration of commerce server's default catalog and channel name as part of integration of sharepoint site and commerce server.
  • Working and testing your project in Expression BlendSep 21, 2010. In this article I will explain about working and testing your project in Expression Blend
  • Software testing MethodologiesSep 21, 2010. Some commonly used software testing methodologies - Waterfall model, V model, Spiral model, Prototype model etc
  • Basics of Software TestingSep 21, 2010. Introduces the basics of Software Testing
  • Testing Techniques Sep 23, 2010. Software Testing Techniques is divide into 3 parts
  • Software Testing Life Cycle (STLC)Oct 11, 2010. In this Article we define the various stages of testing.
  • Testing DocumentsOct 18, 2010. In this article you will learn about Testing Documents.
  • Black box & White box testingOct 19, 2010. This article provides an insight to Black box & White box testing types.
  • Defect Tracking and ReportingOct 29, 2010. Find the defect either Manual or Automation tool.
  • Windows Azure - WCF in the Worker RoleOct 31, 2010. In this article I am going to demonstrate the creation of a WCF service in the Worker Role with deployment to the cloud and testing with a client.
  • Mocking in .NET with MoqNov 09, 2010. In this article, I will show how to use Moq as the mocking framework in testing environments to isolate dependencies between objects in .NET solutions.
  • Chapter 3: From 2003 to 2010: Debugging an ApplicationNov 24, 2010. After reading this chapter on debugging, you will be able to Use the new debugger features of Microsoft Visual Studio 2010. Create unit tests and execute them in Visual Studio 2010.Compare what was available to you or see what was different for you as a developer in Visual Studio 2003
  • Model View Presenter Pattern Implementation in ASP.NETDec 08, 2010. In this tutorial, I will show you how to implement MVP in a web app as well as a windows app. Another important aspect of MVP patterns is to do unit tests of your whole interface as well as business layer.
  • Creating, Recording & Running Web Project using Visual Studio 2008 Team System Test EditionDec 20, 2010. This Article explains how to create a web test using VSTS 2008 test edition.
  • Introduction to Microsoft Visual Studio Team System 2008 Test EditionDec 21, 2010. This article discusses Microsoft Visual Studio Team System 2008 (Test Edition), an integrated development environment provided with Visual Studio and it's comparison and what’s new from Microsoft Visual Studio 2005.
  • Add Validation Rule in Visual Studio 2008 Team system test EditionDec 27, 2010. In this Article we are going to describe how to add validation rules to a Web test.
  • Important Points to Remember during Web TestingDec 29, 2010. This article discuss some important points that must be remembered during web testing.
  • Load Testing of Web Applications using Visual Studio Team System 2008Jan 03, 2011. This article discusses how a user can load test their web applications using the load testing features of Visual Studio Team System 2008.
  • Chapter 7: From 2005 to 2010: Debugging an ApplicationJan 19, 2011. After reading this chapter, you will be able to use the new debugger features of Microsoft Visual Studio 2010, create unit tests and execute them in Visual Studio 2010, compare what was available to you as a developer in Visual Studio 2005.
  • Testing WCF service using Test Client (wcftestclient.exe)Feb 14, 2011. A step by step process for using the wcfclient.exe tool.
  • Building a web based C# compiler using ASP.NET and TDDFeb 16, 2011. This tutorial is an introduction to Test Driven Development (TDD) in Visual Studio 2010 (VS2010) with C# 4 and ASP.NET 4. This will focus on as using the tool and coding as much as possible and not a great deal of words so enjoy the ride.
  • How to use NUnit and TDDFeb 28, 2011. Here you will learn about NUnit and TDD.
  • QC DATA PULLER using C#Mar 09, 2011. Generate a HTML web page as a report with a pie chart and tabular format of test execution from QC using C#.
  • TDD - Red Green Refactor ExampleApr 08, 2011. In this tutorial I would like to explain TDD (Test Driven Development) with the common Red Green Refactor example.
  • Testing Mobile Pages in Device EmulatorsApr 26, 2011. In this article we will see how to test mobile web pages in Device Emulators that are provided by default with Visual Studio.
  • System Development Life Cycle: Part 2Apr 28, 2011. Now let’s discuss System Development Life Cycle with its different Phases in detail,
  • TFS 2010 Scrum - Relation between PBIs, Tasks, Bugs and ImpedimentsMay 04, 2011. In Scrum, the product backlog is the list of requirements for the system. In this article we are going to see how the Product Backlog Items (PBIs), test case, tasks and bugs are linked.
  • Testing Website using SSL on Localhost (IIS)May 19, 2011. In this article you will learn how to test your website using SSL on your system (localhost).
  • SQL Azure - Testing Database Connectivity Using Azure PortalJun 14, 2011. In this article we can see how to test the connectivity level of the database created using the Azure Management portal.
  • Connect to Cloud Team Foundation Server using Visual Studio Test Manager 11 Developer StudioSep 19, 2011. In this article we are going to see the option of connecting to Cloud Team Foundation Server using the Visual Studio Test Manager 11 Developer Preview released with Visual Studio 11. The Visual Studio 11 Developer Preview is presently available as a free download for evaluation purpose and Test Manager is available built into the installation of the VS 11 Package.
  • Understanding Unit and NUint TestingOct 25, 2011. A unit is a piece of code or usually method that invokes another piece of code and checks the correctness of some assumptions afterward? If the assumptions turn out to be wrong, the unit test has failed. A unit test is a method or function.
  • Windows Azure - WCF in Web RoleOct 29, 2011. In this article I am going to demonstrate the following Creation of a WCF service in Web Role Deployment to the cloud and testing with a client.
  • Develop and test an appliction in ASP.NET MVCDec 02, 2011. In this article you will learn to develop an application and test it with the help of TDD in ASP.NET MVC.
  • Page Tracing in ASP.NET 4.0Dec 20, 2011. Visual Studio debugging tools and ASP.NET detailed error pages are very helpful when we have testing a web application. But, sometimes we need a way to identify problems after we have deployed the application, while we don’t have Visual Studio IDE on that Computer.
  • Basic Interview Questions for Manual TestingDec 22, 2011. Here, we will learn about the basic Interview Questions for Manual Testing.
  • ASP.NET MVC OverviewJan 30, 2012. The MVC design pattern separates the application logic from the user interface. This allows us to do development, testing and maintenance independently. When building an internet site for which HTML, performance and scalability are important, ASP.NET MVC is a better choice.
  • Automated TestingFeb 02, 2012. In this article we have introduced automated testing in which a manual intervention is not required.
  • Basic Terms Related to TestingFeb 03, 2012. In this article we are throwing some light on the basic terms related to testing so that one can understand each and every word of it.
  • Programmer's Skill : White Box TestingFeb 07, 2012. In this article we are discussing white box testing and related techniques as well.
  • Data Driven Testing Using Selenium (webdriver) in C#Feb 07, 2012. In this article, I would like to explain about performing data driven testing in Selenium using .Net.

About manual-testing

NA

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.
Download Free eBooks