Showing results for .NET - Developer Support

Mar 29, 2018
Post comments count0
Post likes count0

Accessing a .NET Bot’s State via Dependency Injection

Developer Support
Developer Support

The .NET BotBuilder SDK has deprecated the StateClient class, leaving some to wonder how they should access their bot’s state. Premier Developer Consultant Ben Williams shares an example of using dependency injection in your BotFramework projects.When using the .NET BotBuilder SDK’s dialog system, you can access the bot state using the dialog conte...

.NETBotsC#
Mar 23, 2018
Post comments count0
Post likes count0

Running .NET applications client-side in the browser

Developer Support
Developer Support

In this post, App Dev Managers Robert Schumann and Ben Hlaban, introduce us to Blazor – an experimental web UI framework based on C#, Razor, and HTML that runs in the browser via WebAssembly. This journey started from a blog by Daniel Roth. Other than the YouTube of Steve Sanderson’s prototype demo at NDC Oslo, this wasn’t much information t...

Team.NETWebBrowser
Jan 10, 2018
Post comments count0
Post likes count0

Converting PCL (Portable Class Libraries) to .NET Standard Class Libraries – Part 3

Developer Support
Developer Support

In Part 3 of this 3 part series, App Dev Manager, Herald Gjura describes how to incorporate these libraries into an existing .NET application.In Part 1 and 2 of this blog series I described how to migrate your old PCL libraries into the .NET Standard ones, and how to change you build and release pipeline for a successful NuGet deployment. In this 3...

Team.NETPCL
Jan 9, 2018
Post comments count0
Post likes count0

Async Main() is available, but hidden

Pam Lahoud
Pam Lahoud

Check out this quick tip on unlocking the new features of C# 7.1 from Premier Developer consultant Ben Williams.Ever try to use async/await in your Main method of a .NET app? You couldn’t before, but now you can. I just posted a quick tip about enabling this by turning on C# 7.1 features in Visual Studio (they are not enabled by default). https://b...

.NETC#Ben Williams
Nov 23, 2017
Post comments count0
Post likes count0

Blog of Blogging

Developer Support
Developer Support

In this post, Senior App Dev Manager Marcus Fernandez sets up a blog using Miniblog.Core and Azure in just a few simple steps.Miniblog.Core a project by Mads, on the VS \ .NET team at MS, thank you.  I have been exploring dotnet core since it was released and I really like the idea of a more micro-architecture.  You control more of the co...

TeamAzure.NET
Nov 3, 2017
Post comments count0
Post likes count0

Converting PCL (Portable Class Libraries) to .NET Standard Class Libraries – Part 2

Developer Support
Developer Support

In Part 2 of this 3 part series, App Dev Manager, Herald Gjura covers upgrading the continuous delivery and Build/Release pipeline in VSTS. In order for the new .NET Standard Packages to build and release, we will need modify the build definitions. Here is a step by step guide on all the changes using an existing bui...

Team.NETPCL
Oct 27, 2017
Post comments count0
Post likes count0

Converting PCL (Portable Class Libraries) to .NET Standard Class Libraries

Developer Support
Developer Support

In Part 1 of this 3 part series, App Dev Manager, Herald Gjura discusses converting PCL (Portable Class Libraries) to .NET Standard Class Libraries. Overview I have been working for this client for quite a few years and had advised them to break down some of their key business functionality and features and distribute them as NuGet packages. Wi...

Team.NETcross-platform
Aug 8, 2017
Post comments count0
Post likes count0

Updating Windows Form UI elements from another thread

Developer Support
Developer Support

This post is from App Dev Manager, Omer Amin who covers how to update Windows Form UI elements using worker threads.In a typical Windows Forms .NET application, the UI elements are created and updated by the main thread. This thread is also responsible for processing Windows messages. For this reason, it is recommended to keep message processing sh...

Team.NET
Jun 30, 2017
Post comments count0
Post likes count0

What can I do in .NET Core that I can’t in the full .NET Framework?

Developer Support
Developer Support

This post is provided by Senior App Dev Managers, Keith Beller and John Abele who ask the question, “What can I do in .NET Core that I can’t do in the full .NET Framework?” Microsoft’s mission to empower every individual and organization is manifested in .NET Core, the most transformative .NET framework ever. Rebuilt from the ground up, .NET...

Team.NETVisual Studio
Jun 5, 2017
Post comments count1
Post likes count0

Defining ASP.NET Core Controller action constraint to match the correct action

Developer Support
Developer Support

When developing Web Api controllers many times we have situations where we need to define similar arguments in different methods. For example, a controller that has 2 methods that query users either by last name or date of birth. The name of the method is different but they both will receive a single argument of type string. When the routing engine...

.NET.NET Coreasp.net core