Coding Best Practices
Welcome to Performance & Best Practices section of C# Corner. In this section, you will find various Performance & Best Practices related source code samples, articles, tutorials, and tips.

Links

  • 10 Golden Rules For Becoming A Better Programmer

    Here are my top 10 rules to follow which will enable you to become a better programmer.
  • ASP.NET WEB API/WEB FORM/WEB PAGES

    Sample sites for samples related to ASP.Net Web API, OWIN, and Katana.
  • Azure Mobile Services Samples

    Samples to help developers to use Azure Mobile Services.
  • Azure Notification Hubs Sample

    Sample to help developers to implement Push Notification, through Azure Notification Hubs, in mobile applications.
  • Find and Fix Vulnerabilities Before Your Application Ships

    Many times, a security vulnerability is not caused by a single error, however, but rather by a sequence of errors that occur during the course of the development cycle: a coding error is introduced, it goes undetected during the testing phases, and available defense mechanisms do not stop a successful attack.
  • Sharp Developer .NET

    Sharpen your .NET skills and improve your C# and VB.NET code with regularly updated articles and programming tips
  • How to Use Windows Vista on Mobile PCs

    Are you using the mobile features that your customers want? Windows Vista is uniquely positioned to give you the tools you need to meet the new opportunities and challenges that mobile form factors bring to the developer space.
  • Improve Your WebServer's Performance

    This article outlines the features in the upcoming version 6.0 and discusses how they promote better scalability, reliability, and performance. Features such as Remote administration, caching, and metabase improvements, as well as custom isolation and security enhancements, make IIS 6.0 the Web server of the future.
  • Designing a .NET Application

    Get a simplified comparison of some of the physical architectures and learn the basic guidelines for appropriate usage scenarios, implementation options, advantages, and disadvantages.
  • Performance Comparison: Transaction Control

    Focuses on performance aspects of transaction control that affect performance, scalability, and maintainability by comparing transactions models, including database transactions, Microsoft ADO.NET manual transactions, and ADO.NET automatic transactions in common applications scenarios with a Microsoft SQL Server 2000 database.
  • Performance Comparison: Data Access Techniques

    Compares performance of data access techniques in common application scenarios. Applies to Microsoft .NET Framework Beta 2 and Microsoft SQL Server 2000.
  • Designing Your Web Service For Maximum Interoperability

    The demo itself was an extension of the IBuySpy sample Web site. IBuySpy shows how to build a Web application using ASP.NET and takes care of gathering an individual's orders. This demonstration went behind the scenes to the warehouse and showed a simplified vision of how the order might be picked. This example existed only to showcase SOAP interoperability. Any other details were bonuses.
  • Application Design Guideline: From N-Tier to .NET

    Discusses application design for Microsoft .NET and the changes required: examines architectural lessons learned from building N-tier applications using Microsoft Windows DNA, how these same lessons apply in building applications with the Microsoft .NET Framework, and architectural advice for applications that use XML Web services.
  • .NET Data Access Architecture Guide

    This document provides guidelines for implementing an ADO.NET-based data access layer in a multi-tier .NET-based application. It focuses on a range of common data access tasks and scenarios, and presents guidance to help you choose the most appropriate approaches and techniques.
  • Performance Comparison: Transaction Control Technique

    Focuses on performance aspects of transaction control that affect performance, scalability, and maintainability by comparing transactions models, including database transactions, Microsoft ADO.NET manual transactions, and ADO.NET automatic transactions in common applications scenarios with a Microsoft SQL Server 2000 database.
  • Design Guidelines for Class Library Developers

    The goal of the .NET Framework design guidelines is to encourage consistency and predictability in public APIs while enabling Web and cross-language integration.