Category: .NET Core

  • Identify version for application and components for Backend(.NET Core) and FrontEnd(Angular)–part 2- backend

    Part1 : Introduction and Concepts Part 2: Obtaining BackEnd Components Version Part 3: Obtaining FrontEnd Component Version and Final Library Live Demo  NPM component Copy paste NET code Identifying the version of the dll’s  used on the backend is fairly simple. All we need is to iterate into the current directory and find the version…

  • Identify version for application and components for Backend(.NET Core) and FrontEnd(Angular)–part 1- introduction

    Part1 : Introduction and Concepts Part 2: Obtaining BackEnd Components Version Part 3: Obtaining FrontEnd Component Version and Final Library Live Demo  NPM component Copy paste NET code In our days recognizing fast the version of the software you deploy it is important ( very important,if you do not have a continuum upgrade strategy –…

  • Ping–an abstraction

    In C#/.NET Core  there is a Ping Class –  there is at https://docs.microsoft.com/en-us/dotnet/api/system.net.networkinformation.ping.send?view=netstandard-2.0 . And you may ask – why we need a Ping class for such a mundane task,as pinging a PC ? Because,like for internet method,there are differences.  Let’s take the smalles example: I want to ping 1 time a PC. On Windows,there…

  • OpenSource library- conclusion

    Part 1 Implement Open-source library guidance Part 2 OpenSource library – Cross-platform targeting Part 3 OpenSource library-Dependencies Part 4 OpenSource library- Source Link Part 5 OpenSource library-versioning Part 6 OpenSource library- Breaking changes Part 7 OpenSource library- conclusion Following the guidance from https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/ it is somehow simple. Most of the rules are already implemented,other are…

  • OpenSource library- Breaking changes

    Part 1 Implement Open-source library guidance Part 2 OpenSource library – Cross-platform targeting Part 3 OpenSource library-Dependencies Part 4 OpenSource library- Source Link Part 5 OpenSource library-versioning Part 6 OpenSource library- Breaking changes Part 7 OpenSource library- conclusion Following guidance from https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/breaking-changes Nr Recomandation AOP Roslyn 1 DO think about how your library will be…

  • OpenSource library-versioning

    Part 1 Implement Open-source library guidance Part 2 OpenSource library – Cross-platform targeting Part 3 OpenSource library-Dependencies Part 4 OpenSource library- Source Link Part 5 OpenSource library-versioning Part 6 OpenSource library- Breaking changes Part 7 OpenSource library- conclusion Following recommendations from https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/versioning Nr Recomandation AOP Roslyn 1 CONSIDER using SemVer 2.0.0 to version your NuGet…

  • OpenSource library- publishing

    Following the rules at https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/publish-nuget-package Nr Recomandation AOP Roslyn 1 DO publish stable packages and pre-release packages you want community feedback on to NuGet.org. Done 2 CONSIDER publishing pre-release packages to a MyGet feed from a continuous integration build. No 3 CONSIDER testing packages in your development environment using a local feed or MyGet. Check…

  • OpenSource library- Source Link

    Part 1 Implement Open-source library guidance Part 2 OpenSource library – Cross-platform targeting Part 3 OpenSource library-Dependencies Part 4 OpenSource library- Source Link Part 5 OpenSource library-versioning Part 6 OpenSource library- Breaking changes Part 7 OpenSource library- conclusion The documentation at https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/sourcelink says to enable source link. Nr Recomandation AOP Roslyn 1 CONSIDER using SourceLink…

  • OpenSource library–Dependencies

    Part 1 Implement Open-source library guidance Part 2 OpenSource library – Cross-platform targeting Part 3 OpenSource library-Dependencies Part 4 OpenSource library- Source Link Part 5 OpenSource library-versioning Part 6 OpenSource library- Breaking changes Part 7 OpenSource library- conclusion Now trying to respect what it says at https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/dependencies . Nr Recomandation AOP Roslyn 1 DO review…

  • OpenSource library–Strong naming

    The strong naming is something that I have not have done usually,so it will be interesting following https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/strong-naming . Nr Recomandation AOP Roslyn 1 CONSIDER strong naming your library’s assemblies. Not –see below 2 CONSIDER adding the strong naming key to your source control system. easy- not 3 CONSIDER incrementing the assembly version on only…