.NET Tutorials & Articles
-
Force-Directed Graph Layout in WebSharper
by Anton TayanovskyyIn this tutorial, Anton Tayanovskyy demonstrates how to build an interactive force-directed graph visualization running in the browser.
-
Handling Page Orientation in Windows Phone 7
by Dan MaharryWindows Phones, as with other small form factor devices, are able to deal with both landscape and portrait modes. In this article, based on Chapter 10 of Windows Phone 7 in Action the authors explain how a Silverlight page declares its supported orientations.
-
Writing Concurrent Applications Using F# Agents
by Tomas PetricekIn part 2 of this article on F# agents, Tomas Petricek looks at agent-based architecture for concurrent systems from a high-level perspective. It shows how to encapsulate agents into reusable components and several common inter-agent communication patterns used to build a concurrent system.
-
An Introduction To F# Agents
by Tomas PetricekIn this article, Tomas Petricek looks at how F# Agents lie at the intersection of parallel, asynchronous and concurrent programming styles and how they can be used to build concurrent applications
-
Taking the Single Responsibility Principle Seriously
by Ralf WestphalIn this article Ralf Westphal invesigates the Single Responsibility Principle, what it means in real-world scenarios and how that may translate into code
-
Apt Windows: Let’s Get Chocolatey!
by Rob ReynoldsIn the first of two parts, Rob Reynolds introduces chocolately, an application package manager similar to apt-get built on Powershell and nuGet
-
The HTML5 History API and ASP.NET MVC
by Dan MaharryThe HTML 5 History API is one of the newer kids on the HTML 5 block. This article based on chapter 4 of HTML5 for .NET Developers shows you one way of getting history integrated with your .NET server-side web applications.
-
An Introduction To Practical AOP Using PostSharp
by Brady GasterIn this article, Brady Gaster introduces the concept of Aspect Oriented Programming and how it can reduce code smells in your work. He uses PostSharp to refactor out logging, timing, transaction and GUI update code into separate and automatically executing Aspects
-
An Introduction To FSharpx
by Dan MohlDan Mohl introduces FSharpx, a community-driven, open source set of extensions for the F# language
-
Web Testing with MbUnit and WatiN Part 3: Testing Asynchronous AJAX Calls
by Yann TrevinConcluding his look at combining MbUnit and Watin to produce clean web integration tests, Yann Trevin looks at testing asynchronous calls
-
Pattern Matching in F# Part 2 : Active Patterns
by Jessica KerrIn part two of this series, Jessica Kerr looks at creating active patterns. These are functions to transform, recognize, and categorize custom types for use with the F# pattern matcher.
-
Pattern Matching in F# Part 1 : Out of the Box
by Jessica KerrIn the first of a two part series, Jessica Kerr examines and demonstrates the powerful built-in pattern matching functionality in F# and reveals there's a lot more to it than a C# switch statement or a regular expression
-
Using NuGet Packages
by Dan MaharryNuGet is a Visual Studio extension that makes it easy to pull in libraries, components, and most importantly their configuration into your visual studio project. In this article, based on chapter 5 of ASP.NET MVC 3 in Action, the authors discuss NuGet and show you how to use it to add functionality to a project.
-
Web Testing with MbUnit and WatiN Part 2: Controlling Localhost and IIS Express
by Yann TrevinOne important aspect of web testing which is not so often discussed in blogs or articles is how to run tests against a web project running in debug mode on the local host. Microsoft provides two options to let you debug web projects locally: the Visual Studio development server and IIS Express. In this second part of our series on writing web integration tests, we’re going to demonstrate how to use the WebTestServer<T> class to start either server from within a running test suite.
-
Web Testing with MbUnit and WatiN Part 1: Keeping Your Tests Legible
by Yann TrevinGallio, MbUnit and WatiN are a good choice of tools for writing web integration tests. Not only are they powerful tools but they allow us to write much cleaner and more concise tests than you might think. In this article we'll see exactly how clean and concise you can get.
-
Deploying An Azure Application
by John MannixFollowing on from our look at the four main pieces of Windows Azure in “Introduction to Windows Azure”, John Mannix runs us through the development of an Azure application in C# and its deployment into the cloud.
-
To The Cloud: Moving Red Gate Tools to SQL Azure
by Roger HartRoger Hart looks back at Red Gate's inclusion of SQL Azure into its database applications, the issues they encountered and the solutions they created
-
Building an HTML5 application with WebSharper Sitelets, Part 2
by Adam GraniczIn the second half of this tutorial you will learn how to extend this simple web application with authentication. Basically, you will implement Login/Logout functionality and protect the Clock page with authentication to require users to log in before they can see the local time.
-
Building an HTML5 application with WebSharper Sitelets, Part 1
by Adam GraniczIn this article, we're going to look at using WebSharper, a web development framework for .NET, to build a small web application from scratch that features an HTML5-based clock.
-
Functional Cells : A Spreadsheet in F#
by Philip TrelfordIf you’ve ever written formulas in a spreadsheet then you’re already familiar with some of the principles of functional programming. The key building blocks of a spreadsheet are cells containing functions and values. To demonstrate functional programming at large, this article will be looking at the implementation of a functional spreadsheet written in F