Category: Technology

Code.analysis Thumbnail

Code quality: Using CodeAnalysis.FxCopAnalyzers and Stylecop in .NET Core 2 applications

Published on March 1, 2018 by Anthony Giretti

Why Code quality is important? Because correctness, maintainability, and even elegance are all involved in creating great code. Code Quality is a fascinating subject, which comprises a mixture of knowledge, experience, guidelines, principles, patterns and conventions. And if that wasn’t enough, they all should be carefully adapted to each particular team and use case. The subject gets even more confusing when you start considering tooling. However, choosing the right tools for each team and use case will make achieving quality code simpler. This article contains an introduction to the Code Quality subject in the .Net Core ecosystem.

Xunit Thumbnail

Code reliability: Unit testing with XUnit and FluentAssertions in .NET Core 2 apps

Published on March 1, 2018 by Anthony Giretti is a free, open source, community-focused unit testing tool for the .NET Framework. Written by the original inventor of NUnit v2, is the latest technology for unit testing C#, F#, VB.NET and other .NET languages. works with ReSharper, CodeRush, TestDriven.NET and Xamarin. It is part of the .NET Foundation, and operates under their code of conduct. It is licensed under Apache 2 (an OSI approved license).

Cors Thumbnail

CORS or how to be blocked during an HTTP request

Published on January 12, 2018 by Arnaud Martin

Have you ever encountered this kind of error when making an AJAX request to a JSON or XML file located on another domain?  

The reason could probably be related to CORS (Cross Origin Requests). In summary, the W3C has recommended this mechanism to secure HTTP requests between different domains. The recent browsers then all adopted …