dmitri

Stories submitted by dmitri

Screencast: Developing the Data Access Layer with ReSharper(tv.jetbrains.net)

submitted by dmitridmitri(408) 7 months, 6 days ago

In this screencast, I demonstrate how one can use ReSharper to create and test a data access layer of a product ordering system. read more...

add a comment |category: |Views: 5

tags: another

Screencast: Using ReSharper for WP7 Development(tv.jetbrains.net)

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

This video demonstrates a number of useful features that ReSharper brings to the table when working with Windows Phone 7 applications. In general, these features are also applicable in Silverlight and WPF applications. read more...

add a comment |category: |Views: 7

tags: another

Building a conversation engine with WebSharper(devtalk.net)

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

Anyone who has ever played a role-playing game (yes, I admit: I did play CRPGs once) is familiar with scripted dialogues. You enter a dialogue with someone, they say something, you get a list of choices, and the conversation goes on until it ends, with your actions determining what happens next. Now, what if you could implement the same kind of interaction pattern using JavaScript? read more...

add a comment |category: |Views: 23

tags: another

A Simple Web Server in F#(devtalk.net)

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

Every once in a while we all suffer from the Not Invented Here syndrome. So do I. This time, despite of being able to use either one of available web servers or previously written ASP.NET MVC-like web serving framework, I decided to write my own. read more...

add a comment |category: |Views: 24

tags: another

JSON Processing in F#(devtalk.net)

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

The F# programming language is really fun to work with. It lets you improve your code almost infinitely, not only in terms of performance but also readability. Having finished reading through McConnell’s Code Complete I’ve decided to add some declarativeness to JSON processing code I developed for my little pet project Linq2vk. And since JSON is ubiquitous these days, I hope the technique described below might be of use to others as well. read more...

add a comment |category: |Views: 23

tags: another

Continuous Testing(devtalk.net)

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

Most people are used to the idea of continuous integration environments running tests. However, I often find myself wanting to have the tests run all the time. Such a practice is called Continuous Testing, and in the .Net space we currently don’t have a solution that allows this out-of-the-box. read more...

add a comment |category: |Views: 5

tags: another

Dynamic Prototyping(devtalk.net)

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

In this article I want to talk about something called dynamic prototyping. The idea for this sort of software development approach came into my head as I got frustrated with the never-ending cycle of run-recompile-run that all of us developers are plagued with. So in this post I’m going to explain the dynamic prototyping concept, discuss its implementation, and demonstrate its use. read more...

add a comment |category: |Views: 0

tags: another

Async, Await and C# vNext(devtalk.net)

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

It would be somewhat naïve not to discuss the new stuff we’ve been told about at the PDC, so I figure it’s a good time to discuss the Async CTP, specifically, but also it’s another opportunity to speculate on the subject of C# vNext. read more...

add a comment |category: |Views: 52

tags: another

Extension Method Patterns at DevTalk.net(devtalk.net)

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

In almost every application I work with somebody – either me or another developer – uses extension methods to add what they believe to be ‘missing’ functionality to classes. Having seen a huge number of examples, I’ve began to realize that there are, in fact, implementation patterns related to extension method usage. In other words, there are typical problems that extension methods are used to solve. This article is an overview of these problems. read more...

add a comment |category: |Views: 5

tags: another

Event Brokers in .Net(devtalk.net)

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

As soon as software systems become reasonably complex, it gets very hard to organize things. We’re lucky to have sorted out the problem of component creation (with Inversion of Control and Dependency Injection), but when it comes to reacting to events, the framework give us very few organizational hints. As a consequence, people naturally create various infrastructural solutions for organized event handling. This is what we’re going to discuss in this article. read more...

add a comment |category: |Views: 11

tags: another

Making DSLs in F# at DevTalk.net(devtalk.net)

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

If you’re like me, you are already fed up with people throwing the term ‘DSL’ around without showing a good example of how it’s done and where they are used – not to mention giving a decent, human-readable description of DSLs that doesn’t allude to extraneous concepts (I’m talking about things like Oslo or MPS, mainly). read more...

add a comment |category: |Views: 4

tags: another

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

ActiveMesa R2P Lite Released!(nesteruk.org)

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

ActiveMesa R2P Lite is a plug-in for JetBrains ReSharper 5.1 that makes redundant the use of the Add Reference dialog for purposes of adding references – whether global or local – to your project. The video below shows how it works: read more...

add a comment |category: |Views: 8

tags: another

Asynchronous invocation - synergy of paradigms(nesteruk.org)

submitted by dmitridmitri(408) 2 years, 3 months ago

Instrumenting a piece of code that has to have traits related to both topologically-sorted asynchronous task execution and APM-driven asynchronous execution with PowerThreading's AsyncEnumerator. read more...

add a comment |category: |Views: 5

tags: another

ReSharper Extensibility Guide(nesteruk.org)

submitted by dmitridmitri(408) 2 years, 5 months ago

This document exists in order to help anyone who wants to extend ReSharper by writing their own plug-ins. Since there’s very little documentation regarding ReSharper extensibility, I though I’d create a page that I can update with my own findings. read more...

add a comment |category: |Views: 25

tags: another

Chaining null checks using extension methods(nesteruk.org)

submitted by dmitridmitri(408) 2 years, 6 months ago

While digging through C# syntax trees, I came across an old problem in C# development that I call the ‘if null’ problem. This problem is exemplified in the following piece of code: read more...

add a comment |category: |Views: 21

tags: another