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.
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.
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.
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#.
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.
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
- By James McCaffrey
- 10/18/2019
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.
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.
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.
Microsoft today shipped Visual Studio 2019 v16.4 Preview 2, boosted with new features that come from formerly separate extensions.
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).
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.
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.
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.
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.
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.
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.
".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.
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 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.