The week in .NET – Nuke, Warden.NET, .NET in Bangalore, and links!

Bertrand Le Roy

Previous posts:

Tool of the week: Nuke

Nuke is a cross-platform build automation system with C# DSL, much like Cake. It features auto-completion, refactoring, and navigation in all IDEs. Nuke avoids complexity, and integrates as a normal project.

[Parameter] string MyGetApiKey;

Target Publish => _ => _
        .Requires(() => MyGetApiKey)
        .OnlyWhen(() => IsServerBuild)
        .DependsOn(Pack)
        .Executes(() => GlobFiles(OutputDirectory / "packages", "*.nupkg")
                .ForEach(x => NuGetPush(s => s
                        .SetTargetPath(x)
                        .SetVerbosity(NuGetVerbosity.Detailed)
                        .SetApiKey(MyGetApiKey)
                        .SetSource("https://www.myget.org/F/nukebuild/api/v2/package"))));

Package of the week: Warden.NET

The System.Diagnostics.Process class while useful does not have a concept for parent applications; while Windows itself does track parents, it does not track grandparents and processes can quickly become orphaned. Which is where Warden comes in. Warden.NET is a simple to use library for managing processes and their states.

WardenManager.Initialize();
var wardenTest = await WardenProcess.Start("notepad.exe", string.Empty, ProcessTypes.Win32);
if (wardenTest != null)
{
    wardenTest.OnStateChange += delegate (object sender, StateEventArgs args)
    {
        Console.WriteLine($"---\nName: {wardenTest.Name}\nId: {wardenTest.Id}\nstate changed to {args.State}\n---");
    };
}

User group meeting of the week: .NET day in Bangalore

The .NET Bangalore user group has a full day event on Saturday, August 5 with a great agenda: ES6 for .NET developers, .NET Core WebAPI, ASP.NET Core, and AI with .NET.

.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.

0 comments

Discussion is closed.

Feedback usabilla icon