KirillOsenkov

Stories kicked by KirillOsenkov

Chained null checks and the Maybe monad(devtalk.net)

submitted by dmitridmitri(408) 1 year, 8 months ago

A great many programmers have met a situation where, while accessing a nested object property (e.g., person.Address.PostCode), they have to do several null checks. This requirement frequently pops up in XML parsing where missing elements and attributes can return null when you attempt to access them (and subsequently trying to access Value throws a NullReferenceException). In this article, I’ll show how a take on the Maybe monad in C#, coupled with use of extension methods, can be used to improve readability. read more...

add a comment |category: |Views: 253

tags: another

Welcome to the new DotNetKicks(blog.dotnetkicks.com)

submitted by javeryjavery(5523) 2 years, 4 months ago

Welcome to the new DotNetKicks - Lots of improvements and even more on the way! read more...

6 comments |category: |Views: 436

tags: another

Tic-Tac-Toe: Open Source Silverlight Game(games.ailon.org)

submitted by ailonailon(1335) 2 years, 6 months ago

A simple good looking Silverlight 3 game complete with source code. read more...

1 comment |category: |Views: 39

tags: another

Com interop in C# 4.0: Indexed Properties (blogs.msdn.com)

submitted by samngsamng(135) 2 years, 6 months ago

One of the things I love about my job is that I get to make people happy. How do I do that? By giving them what they want of course! One of the things I don’t like so much about my job is going back on a decision that we made before, and having to revert some of the behavior. Well, we’ve been talking about COM interop in C# 4.0, and are now in the thick of things. Today we’ll chat about a feature which many people have asked for in the past, but we’ve stayed away from until now – Indexed Properties. read more...

add a comment |category: |Views: 22

tags: another

Getting Started with IronPython(blogs.msdn.com)

submitted by CharlieCalvertCharlieCalvert(7875) 2 years, 7 months ago

I recently spent some time getting IronPython up and running on my system; I will review what I learned in this post. read more...

add a comment |category: |Views: 197

tags: another

Indexed Properties in C# 4.0(blogs.msdn.com)

submitted by KirillOsenkovKirillOsenkov(570) 2 years, 7 months ago

In C# 4.0 you can call parameterized properties that are declared in other languages (VB, COM, C++, etc) using the indexer syntax, for instance instead of excel.get_Range("a") you can now write excel.Range["a"]. You still can’t declare your own indexed properties from C#. The feature is immediately available in Visual Studio 2010 Beta 2 for your indexing pleasure. read more...

add a comment |category: |Views: 23

tags: another

Community Convergence(blogs.msdn.com)

submitted by CharlieCalvertCharlieCalvert(7875) 2 years, 7 months ago

Welcome to the fifty-sixth community convergence. As you probably know by now, Visual Studio 2010 Beta 2 has been released. I’ve worked with the team to create a wide range of technical material designed to support this release, and I will call it each item out here in this post. Be sure to check out the new How Do I and Interview videos and the great posts by Alexandra Rusina. read more...

add a comment |category: |Views: 9

tags: another

Dot Net University is Live(blogs.msdn.com)

submitted by CharlieCalvertCharlieCalvert(7875) 2 years, 8 months ago

Doug Turnure and Mark Dunn just reopened the .NET University site. This resource includes approximately 40 developer-oriented presentation kits that include slides, speaker notes, demos, demo scripts and webcast videos. You can use these materials in your own presentations, or simply access the valuable information that they contain. You can also find free, sequenced online training at http://myrampup.com. Ramp Up is a free, online, community-based learning program, with a number of different tracks that will help you build your portfolio of professional development skills. read more...

add a comment |category: |Views: 53

tags: another

Integrating OpenID in an ASP.NET MVC Application using DotNetOpenAuth(west-wind.com)

submitted by rstrahlrstrahl(7226) 2 years, 8 months ago

OpenId is getting more popular and with it requests to integrate it into Web sites as a user authentication mechanism. In this post I'll discuss the OpenId integration on CodePaste.net in an ASP.NET MVC application discussing both high level OpenId concepts, the process and the code implementation. read more...

1 comment |category: |Views: 301

tags: another

C# Structured Editor Prototype(blogs.msdn.com)

submitted by KirillOsenkovKirillOsenkov(570) 2 years, 8 months ago

As part of my research back in school I was building an experimental structured editor for C#. Now I’ve decided to publish the sources and binaries on CodePlex: http://structurededitor.codeplex.com To give a better idea of how the editor works, I’ve recorded six short videos showing the different features below. read more...

1 comment |category: |Views: 462

tags: another

Booting from a VHD(blogs.msdn.com)

submitted by CharlieCalvertCharlieCalvert(7875) 2 years, 8 months ago

Hosting an OS in a virtual machine can be very useful for developers, but sometimes one pays a price in terms of performance. In Windows 7 developers can get improved performance in virtual machines by native booting a VHD. First create a Virtual PC that hosts Windows 7, then restart your computer, and finally boot directly into the VHD that contains the Windows 7 OS. When you native boot a VHD your virtual machine runs very close to the metal; performance is greatly enhanced and you have much better support for OS features that may not be available inside a standard Virtual PC. read more...

add a comment |category: |Views: 298

tags: another

Community Convergence LV(blogs.msdn.com)

submitted by CharlieCalvertCharlieCalvert(7875) 2 years, 8 months ago

Welcome to the fifty-fifth release of Community Convergence. The big news this week is the release of an updated version of CodeRush Xpress, version 9.2. This upgrade to the popular set of free enhancements to the VS IDE has important performance and memory improvements. You might also be interested to hear that the Popfly Game Engine source code has been released. Finally, Microsoft DevLabs has released an experimental version of the .NET Framework called STM designed to make concurrency simpler. read more...

add a comment |category: |Views: 4

tags: another

Windows 7 Code Pack v 1.0 Released(blogs.msdn.com)

submitted by CharlieCalvertCharlieCalvert(7875) 2 years, 9 months ago

The Windows® API Code Pack for Microsoft® .NET Framework provides support for various features of Windows 7 and previous releases of that operating system. The Code Pack has reached version 1.0 and has been published on Code Gallery: read more...

add a comment |category: |Views: 462

tags: another

Community Convergence LII(blogs.msdn.com)

submitted by CharlieCalvertCharlieCalvert(7875) 2 years, 9 months ago

Welcome to the fifty-second release of Community Convergence. In this issue, I provide a series of links to C# team blog posts, and to other posts that might be of interest to C# developers. read more...

add a comment |category: |Views: 2

tags: another

Having Fun with the New Editor in VS 2010(blogs.msdn.com)

submitted by markheathmarkheath(1485) 2 years, 10 months ago

A brief demo of how easy it is to customize the new WPF-based text editor in VS 2010 read more...

add a comment |category: |Views: 611

tags: another

Community Convergence LI(blogs.msdn.com)

submitted by CharlieCalvertCharlieCalvert(7875) 2 years, 10 months ago

Welcome to the fifty-first edition of Community Convergence. In this post I’m simply going to highlight some of the great blogging activity produced by our team in recent weeks. Eric Lippert has been wonderfully productive. I’m beginning to wonder if we shouldn’t simply dedicate an entire section of the Internet to his work. I’ve also included a few pointers to the work of our friends in the F# world; both Luke and Luca played major roles in the C# world for many years, and it is fun to track what they are doing with F#. read more...

add a comment |category: |Views: 1

tags: another