.NET Framework


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.

Block Stack

Visual Studio-Bundled IncrediBuild Build Tool Goes to Cloud

IncrediBuild has announced its build tool -- bundled as an C++ option with the Visual Studio IDE -- has been released in a cloud version that works with the Microsoft Azure and Amazon Web Services (AWS) platforms.

No More .NET Framework APIs Will Be Ported to .NET Core, Microsoft Says

The old, proprietary, Windows-only .NET Framework has given all it can give to the new cross-platform, open-source platform of the future, .NET Core.

Bright Tunnel

Visual Studio 16.4 Preview 2 Boosted by Extension Tech

Microsoft today shipped Visual Studio 2019 v16.4 Preview 2, boosted with new features that come from formerly separate extensions.

Nebula

.NET Core 3.1 Preview 1 Focuses on Blazor, Desktop

The first preview of .NET Core 3.1 focuses on two of the big features highlighting the Sept. 23 release of .NET Core 3.0: Blazor (for C# Web development instead of JavaScript) and desktop development (Windows Forms and Windows Presentation Foundation).

Writing the Code for a gRPC Service and Client in ASP.NET Core 3.0

Once you've got a contract that describes a gRPC service, creating the service itself and a client that can call the service is easy. In fact, Visual Studio will do most of the work for you ... once you've got your projects set up correctly, that is.

Microsoft Doubles Down on Instructional Videos: Xamarin and Python

After Microsoft's Scott Hanselman introduced a bunch of new beginner-level instructional videos for .NET, Xamarin guru James Montemagno wanted to remind mobile developers that similar resources are available for them.

Q&A with Alex Thissen: Developing .NET Solutions in Docker Ecosystem

Expert Alex Thissen shares his thoughts on what excites him most about the .NET/Docker marriage, top tips, "gotchas" to look out for and more.

Vendor Adds Blazor, .NET Core 3.0 Third-Party Tooling

With the recent release of .NET Core 3.0 and the continued interest in the red-hot Blazor project for doing Web development with C#, third-party vendors are cranking out related tooling.

Defining Your First gRPC Service in an ASP.NET Core 3.0 Project

gRPC services promise a lot: better performance, more sophisticated messaging, and a contract-based approach to Web Service development. If those sound good to you, here's how to get started.

Visual Studio for Mac Dev Team Explains Editor Revamp Prompted by Complaints

After many developer complaints such as "Editor becomes so slow it's unusable after a while," the Visual Studio for Mac dev team revamped all of the IDE's editors and this week explained those changes.

Q&A with Jeremy Clark: Using the CLI in .NET Core

".NET Core is the future of .NET. So let's get comfortable with creating, running, and testing applications using the command-line interface," says developer educator Jeremy Clark, who shares his favorite .NET Core features, quirks to watch out for and more.

Two 'Gotchas' (and Fixes) for Blazor in .NET Core 3.0

The release version of Blazor contains two surprising changes (surprising, at least, to Peter) -- changes that broke some of his code. Here are both of those "gotchas" with the workarounds that he implemented.

Microsoft Preview of .NET Core WinForms Designer Is 'Huge Technical Challenge'

Microsoft introduced the first preview of the .NET Core Windows Forms Designer, which didn't make it into the recent .NET Core 3.0 release because of the "huge technical challenge" in porting the Windows-only desktop technology to the new cross-platform framework.

Subscribe on YouTube