The week in .NET – MIST, F# in NYC, and links

Previous posts:

Package of the week: MIST

The INotifyPropertyChanged interface is essential to many applications such as Windows Forms or WPF data binding. Implementing it can however be fastidious, and involves quite a lot of boilerplate code. MIST simplifies this using IL weaving and a custom Visual Studio build task. With MIST, you can use simple auto-properties and decorate them with attributes, and get an implementation of INotifyPropertyChanged.

[Notifier]
public class ViewModel {
    //Raises the default notification ("WillNotify")
    [Notify]
    public string WillNotify { get; set; }

    [Notify]
    public string WillAlsoNotify { get; set; }

    //Notification will not be implemented
    public string WontNotify { get; set; }

    //Raises notification for the "DefinitelyNotAlias" property 
    [Notify("DefinitelyNotAlias")]
    public string AliasNotify { get; set; }

    //Raises multiple notification events
    [Notify("WillNotify","ComplexNotify")]
    public string ComplexNotify { get; set; }

    //Notification target, any method visible to the notifying property.
    //Can be implemented in a base class.
    [NotifyTarget]
    protected void PropertyChanged(string propertyName) {
        //up to you.
    }
}

MIST is of course not the only library in that problem space. Also check out Fody/PropertyChanged for another very popular library.

User group meeting of the week: hacking away at 99 problems in F# in NYC

The 99 Problems Series is a programming challenge that challenges a developer to solve problems using lists, logic, trees, and graphs. Fellow F#er Cesar Mendoza has taken the time to code and solve most of these problems for us. They are available here.

Bring your laptops and sense of camaraderie, because you’re going to spend some of the time working through some of the problems as individuals, and some of the problems as a group.

Hacking away at 99 problems is hosted by the New York City F# User Group on Wednesday, July 26 at 6:30PM in New York, NY.

.NET

ASP.NET

C#

F#

There is more content available this week in F# Weekly. If you want to see more F# awesomeness, please check it out!

Xamarin

Azure

UWP

And this is it for this week!

Contribute to the week in .NET

As always, this weekly post couldn’t exist without community contributions, and I’d like to thank all those who sent links and tips. The F# section is provided by Phillip Carter, the gaming section by Stacey Haffner, the Xamarin section by Dan Rigby, and the Azure and UWP section by Michael Crump.

You can participate too. Did you write a great blog post, or just read one? Do you want everyone to know about an amazing new contribution or a useful library? Did you make or play a great game built on .NET?
We’d love to hear from you, and feature your contributions on future posts. Please add your posts, it takes only a second.

We pick the articles based on the following criteria: the posts must be about .NET, they must have been published this week, and they must be original contents. Publication in Week in .NET is not an endorsement from Microsoft or the authors of this post.

This week’s post (and future posts) also contains news I first read on The ASP.NET Community Standup, on Weekly Xamarin, on F# weekly, and on The Morning Brew.