2008 - September/October
Discover the New .NET Languages!
-
Languages Re-Unleashed
Sept/Oct 08 Editorial by Rod Paddock
-
MVP Corner: We Are the Masters of the Twitterverse
How did we ever survive without social networks? I asked myself that today and couldn’t come up with an answer I liked. If I need to find contact information for that DBA I worked with three jobs ago, it’s off to LinkedIn or Plaxo. When I’m wondering about that guy from high school who was going to be a world famous rock star, Facebook is only a couple of clicks away. Out of town for a conference? No worries, I just check Twitter to see where my friends are.
-
SharePoint Applied: 10 Things You Wish they Told You-Part 2
In my previous article, I talked about 10 things you wish you knew before you started your SharePoint project.The first five things were focused more towards the architecture and management of the project. In this article, I will follow up with five things targeted specifically for the SharePoint developer.
-
Polyglot Programming: Building Solutions by Composing Languages
Polyglot programming refers to leveraging existing platforms by solving problems via solutions that compose special purpose languages.This concept leverages the multi-language nature of the CLR to create simpler solutions to vexing problems. This article delves into the motivation, benefits, and challenges of writing applications in this style.
-
F# 101
F#, the latest member of the Visual Studio family of languages, offers some enticing advantages over C# and Visual Basic, stemming from its functional-object fusion nature.Originally a research language from Microsoft Research, F# has long been a “secret weapon” in the arsenal of .NET programmers for doing statistical- and mathematical-heavy coding. More recently, however, a growing number of developers have begun to see the inherent advantages implicit in writing functional code, particularly in the areas of concurrency. The buzz has begun to approach interesting levels, particularly on the heels of an announcement last year from the head of the Microsoft Developer Division, Somasegar, that F# would be “productized” and fully supported by Microsoft as a whole, suddenly removing the stigma and licensing restrictions that surround research projects.
-
Ruby Comes to the .NET Platform
Microsoft’s IronRuby project brings a powerful and fun dynamic language to the Windows platform. In this article, I’ll examine the history of Ruby and the IronRuby project at Microsoft. I’ll talk about why a .NET programmer may want to learn and use Ruby, and cover the core syntax of the language to get you started learning it
-
Introducing IronPython
IronPython is easy to learn yet surprisingly powerful language for .NET development. In this article, I’ll introduce you to IronPython and demonstrate it differs from C# and Visual Basic while still allowing you to leverage your existing .NET knowledge.
-
From Delegate to Lambda
The key to understanding lambda expressions is understanding delegates. Delegates play a tremendously important role in developing applications for the .NET Framework, especially when using C# or Visual Basic. Events, a special application of delegates, are used all over the framework. And the application and possibilities of delegates has only grown over time. C# 2.0 introduced the concept of anonymous methods and C# 3.0 and VB 9 take anonymous methods to the next level with lambda expressions. This article reviews the evolution of delegates and examines possibilities and syntax of delegates and lambdas in .NET 3.5.
-
Data Access Options in Visual Studio 2008
With Visual Studio 2008 and .NET 3.5, developer’s data access options have increased substantially. In addition to using ADO.NET to create DataReaders or DataSets, Microsoft has added LINQ to SQL and Entity Framework as well as ADO.NET Data Services, which leverages those two. In addition to these new options, there are new syntaxes to learn. LINQ, which is built into Visual Basic and C#, has one implementation for LINQ to SQL and another for LINQ to Entities. In Entity Framework, you have the option to use LINQ to Entities as well as two other ways of querying with Entity SQL, as you can see in Figure 1.
-
WCF the Manual Way… the Right Way
Visual Studio 2008 as well as the .NET 3.0 extensions for Visual Studio 2005 add several new templates that allow you to quickly create .NET 3.0 items such as WPF forms, Workflows, and WCF services. We’ve used templates such as these since the beginning of time to create traditional application elements such as Windows Forms, Web Forms, and User Controls, so you would think that these are equally great; or would you? Unfortunately, creating WCF projects or project items come with more baggage than you can imagine. They also don’t exactly promote the best practices I feel should be considered when designing WCF services. So if you don’t use the built-in templates to create your services, what do you use? Well keep reading and I’ll show you how to create everything you need manually with ease while maintaining good design and coding practices.
-
Heard on .NET Rocks! Ted Faison on Event-driven Design
In .NET Rocks! episode 355, Richard and I talked to Ted Faison about event-based and event-driven programming. There’s more to it than you think. Ted Faison has more than 30 years of experience in the software industry and has been involved with object-oriented-programming and component-based development since the inception of those technologies. He is currently working on .Net projects for the Motorcycle Industry Council and Amtrak. Ted is the author of the books Event-Based Programming: Taking Events to the Limit, Component-Based Development with Visual C#, and a few others.
-
Ask the Doc Detective
Finding what you need in the Microsoft® Visual Studio® 2008 documentation, which has over 200,000 topics, can be a daunting task. The Doc Detective is here to help, utilizing his investigative skills to probe the depths of the documentation.Can’t find what you’re looking for? Just ask-if it’s in there, I’ll find it for you; if it isn’t, I’ll let you know that as well (and tell you where else you might go to find it). Have a question for the Doc? Send your questions for future columns to me at docdetec@microsoft.com.
-
From the CODE Magazine Mailbag
Ken Getz .Finalize() column for September/October 2008