.NET Framework


How to Do Naive Bayes with Numeric Data Using C#

Dr. James McCaffrey of Microsoft Research uses a full code sample and screenshots to demonstrate how to create a naive Bayes classification system when the predictor values are numeric, using the C# language without any special code libraries.

Vortex

Open Source 'Infrastructure-as-Code' SDK Adds .NET Core Support for Working with Azure

Pulumi, known for its "Infrastructure-as-Code" cloud development tooling, has added support for .NET Core, letting .NET-centric developers use C#, F# and VB.NET to create, deploy, and manage Azure infrastructure.

.NET Framework Not Forgotten: Repair Tool Updated

Even though Microsoft's development focus has shifted to the open-source, cross-platform .NET Core initiative -- with the aging, traditional, Windows-only .NET Framework relegated primarily to fixes and maintenance such as quality and reliability improvements -- the latter is still getting some other attention, as exemplified in a repair tool update.

How to Work with C# Vectors and Matrices for Machine Learning

Here's a hands-on tutorial from bona-fide data scientist Dr. James McCaffrey of Microsoft Research to get you up to speed with machine learning development using C#, complete with code listings and graphics.

Sign

Working with Claims to Authorize Users in ASP.NET Core and Blazor

When you need to integrate authorizing the user to perform some activity (or just want to retrieve information about the current user), you need to work with the ClaimsPrincipal’s Claims objects. Here’s everything you might want to do.

Visual Studio Online Finally Enters Public Preview

In the works for six years, Visual Studio Online has entered into a public preview, giving .NET-centric developers a new cloud-powered development option to go along with Visual Studio IDE and Visual Studio Code.

Microsoft Boosts AI-Assisted Developer Productivity

While the question of artificial intelligence someday replacing computer programmers is still being debated, Microsoft is steadily using AI advances to boost their productivity, this week announcing whole line completions and refactoring.

What's New for Blazor and ASP.NET Core in .NET Core 3.1 Preview 2

While the ASP.NET Core team primarily focused on bug fixes in the new .NET Core 3.1 Preview 2, there was a smattering of new functionality introduced in the webdev component.

.NET Core 3.1 Preview 2 Polishes Blazor/Desktop Functionality, Supports C++/CLI ('Managed C++')

As .NET Core 3.1 will be a "small and short release focused on key improvements in Blazor and Windows desktop," the main new functionality introduced in today's Preview 2 is the suport of C++/CLI, also known as "managed C++."

What's New in Visual Studio 2019 16.4 Preview 3

Microsoft announced a bevy of new preview releases today at its Ignite conference, including Visual Studio 2019 version 16.4 Preview 3, which features faster code navigation, IntelliSense and IntelliCode improvements and more.

Floating White Boxes Graphic

Accessing and Extending Authorization Claims in ASP.NET Core and Blazor

When you need to integrate authorization with procedural code, you're going to need your application's ClaimsPrincipal object so that you can check the user's authorization claims. Here's both how to get to the ClaimsPrincipal and how to extend it with custom claims.

New for Visual Studio for Mac: ASP.NET Core Tutorials, Better Unity Development

With Visual Studio for Mac 8.3 recently released, Microsoft has announced new learning resources for building ASP.NET Core apps and an improved development experience for game-making Unity coders.

Open Source Orleans ('Distributed .NET') Hits Version 3.0

Orleans, an open-source, cross-platform framework for building distributed applications with .NET that was created by Microsoft Research nine years ago, has been updated to version 3.0, with a new scheduler, code generator, co-hosting support and more.

Declarative Claims-Based Authentication in ASP.NET Core 3.0

While security in ASP.NET Core is wholly claims based, you can still use the Authorize attribute to control access to your application. You just need to set up the right policies to work with the claims associated with the current user.

Black White Wave IMage

How to Authorize Users in Blazor Declaratively

When it comes to controlling which users can access which functionality in a Blazor application you not only have access to all of the user’s authentication you can authorize the user’s actions without writing any code.

ASP.NET Core Security, Part 2

Eric Vogel follows up on his previous post on getting started with ASP.NET Core security. Now that .NET Core 3.0 is out, he shows how to upgrade the code from Part 1 to ASP.NET Core 3.0, put pages behind login, create user roles, and use existing roles to restrict access to pages.

New CollectionView Highlights Xamarin.Forms 4.3 Stable Release

Microsoft announced the stable release of Xamarin.Forms 4.3, the latest update to its flagship cross-platform mobile development framework, providing a UI toolkit for building native Android, iOS, and Universal Windows Platform (UWP) apps using C#.

Top .NET Vulnerabilities: SQL Injection, Path Traversal and Cross-Site Scripting, Says Security Firm

Contrast Security published an analysis of real-world application attack and vulnerability data from September 2019, finding that in the .NET world, the top three vulnerabilities were SQL Injection, Path Traversal and Cross-Site Scripting, followed by XML External Entity Injection (XXE) and Xpath Injection.

Green Spiral Graphic

How to Do Logistic Regression Using ML.NET

Microsoft Research's Dr. James McCaffrey show how to perform binary classification with logistic regression using the Microsoft ML.NET code library. The goal of binary classification is to predict a value that can be one of just two discrete possibilities, for example, predicting if a person is male or female

What's New for ASP.NET Core in .NET Core 3.1 Preview 1

With .NET Core 3.1 Preview 1 announced this week, Microsoft highlighted what's new in the ASP.NET Core component, which isn't much, as the ASP.NET effort primarily focused on bug fixes.

Subscribe on YouTube