C# Tutorials & Articles
-
Why Patterns
by Andy ClymerWe look at the rise of 'patterns' in the developer community, and how they've evolved to help communication between developers and understanding more clearly the intent of a given piece of code.
-
The Zen of Volta
by Richard BlewettRichard takes a looks at a preview of a Microsoft incubation project called Volta, offering a new way of deploying applications written using single-tier architecture to a multi-tiered client/server environment without having to rewrite the code.
-
Opening the package in OpenXML
by Tim AndersonIn the second part in this series on OpenXML, Tim Anderson explains how the new Packaging API helps you work with Office Open XML documents.
-
New C# 3.0 Language Features
by Scott GuthrieLearn about some of the new features in C# 3.0 including automatic properties, collection initializers, extension methods, lambda expressions and anonymous types.
-
Inside ASP.NET AJAX back end services
by Dino EspositoMost of the emphasis with AJAX is on how to perform an asynchronous update at the client. Dino Esposito considers the other end of the connection – how exactly does the server provide the data that the client needs?
-
Dynamic Search Conditions in T-SQL
by Erland SommarskogA very common requirement in an information system is to have a function (or several functions) where the users are able to search the data by selecting freely among many possible criterias. In this text I will look at various techniques to solve this problem.
-
Sophisticated generics
by Mike JamesAre generics useful or are they just syntactic fluff? Mike James shows how they can be used to create complicated dynamic data structures.
-
Common Intermediate Language
by Granville BarnetttGranville gets down with the CLR, and takes a look at CIL/MSIL - the intermediate language that every .NET language gets compiled to, and has full access to the capabilities of the CLR.
-
Have you seen the Silverlight?
by Dave WheelerSo you want fancy, sexy streaming media in the UI? And you want cool animations, fancy glow-in-the-dark buttons and decent, scalable vector graphics? And you want to run your application in a browser on both Windows and Mac OSX? If you’re already reaching for your copy of How to Wow with Flash, stop. There’s a new kid muscling onto the somewhat crowded Rich Interactive Application (RIA) block, and it’s coming from Microsoft.
-
Anonymous methods and closure
by Mike JamesMike James explains how closure applies to anonymous methods, and why it's useful.
-
Improving Application Quality Using Test-Driven Development (TDD)
by Craig MurphyWhat is the one activity or phase that improves the quality of your application? The answer is an easy one: Testing, and plenty of it. Traditionally, testing is a phase somewhere towards the expected end of the project - when the cost of any code or requirement changes is known to be much higher. Craig looks at how TDD can address this by adopting a more agile approach.
-
Top 10 Application Security Vulnerabilities in Web.config Files - Part Two
by Bryan SullivanIn this second part of a two-part series, you will learn about application security issues related to authentication and authorization, as well as five vulnerabilities commonly found in ASP.NET web-based applications. Additionally, find out how to keep configuration files from being unintentionally modified by uninformed programmers or administrators, as well as why it is critical to never rely on default setting values.
-
Top 10 Application Security Vulnerabilities in Web.config Files - Part One
by Bryan SullivanIn part one of this two part article, you will learn about five of the top ten “worst offenders” of misconfigurations of application security that can cause overall problems for ASP.NET Web-based applications. Learn more about how to secure the Web.config files of an ASP.NET application.
-
Edit and Encrypt Web.Config sections using C# 2.0
by Mohammed HabeebAn article to illustrate editing and encrypting of sections of Web.Config file programatically. It is illustrated with an ASP.NET 2.0 application, which can edit and encrypt sections of Web.Config.
-
Making generics add up
by Mike JamesWhat do you do if you want to form the sum of a generic list or collection? It sounds easy, but you can't just do the obvious and add them up. Mike James offers some clever solutions.
-
Working with USB devices in .NET and C#
by Ashley DeakinAt first sight, USB device control can seem like a dark art only practised by initiated gurus, but in this article, Ashley Deakin hopes to show you the light.
-
Developing for Office 2007
by Matt NicholsonThe forthcoming 2007 Microsoft Office System offers many new opportunities for software developers. Matt Nicholson looks at the new user interface and the Open XML file format, finds out what's happened to VSTO, and explores the possibilities opened up by SharePoint Server 2007 and Groove 2007.
-
Testing for Security in the Age of Ajax Programming
by Bryan SullivanAjax programming, which allows a web page to refresh a small portion of its data from a web server, is an exciting technology that has recently been introduced. However, this type of programming can also leave applications open to SQL injection and similar attacks. Learn more about Ajax programming and what it means in terms of security.
-
Read and write Open XML files (MS Office 2007)
by Zeljko SvedicLearn how to read and write Open XML files in the new Microsoft Office 2007, with a particular examination of the Excel file format.
-
Customising your build process with MSBuild
by Simon HorrellIf you need a fine control over the build process in .NET, MSBuild might be what you are looking for. Simon Horrell explains what this well-hidden tool does.