Category: .NET Core

  • OpenSource library – Cross-platform targeting

    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 At https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/cross-platform-targeting there are the recommendations  for Cross platform. Let’s see what needs to be done for…

  • Implement Open-source library guidance

    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 I have written previously a booklet about “Making Open Source Component from idea to deploy With examples…

  • My Async Await tutorials

    Rule of thumb: just await / async from top to down.   To deeply understand async await in .NET Core,please follow the following resources:   1. https://channel9.msdn.com/Events/TechDays/Techdays-2014-the-Netherlands/Async-programming-deep-dive  – to gain inner knowledge about what code is async / await 2. Read https://blog.stephencleary.com/2012/02/async-and-await.html to have started into async await 3. Read MSDN for a better understanding…

  • .NET Core And Angular at CodeCamp Bucuresti

    I have presented on Saturday at https://bucuresti.codecamp.ro/ a technical talk about how to make a fast POC that can run on Web,Desktop and Mobile,The presentation will show a clear example of code that is necessary for that ( code at https://github.com/ignatandrei/angNetCoreDemo/  ). You can see working demo without CORS at https://ang-net-core.herokuapp.com/,with CORS at https://ignatandrei.github.io/AngNetCoreDemo/ and…

  • Latest commits notes from github

    For AOP with Roslyn I want to automatically get the latest commits message before doing a new commit. This was  solved easily using https://github.com/octokit/octokit.net  The code is  very simple: It works also as a .NET Global tool Install with dotnet tool install –global dotnet-gcr run with dotnet gcr for example for https://github.com/ignatandrei/AOP_With_Roslyn the arguments are…

  • Circular references on .NET,Entity Framework and WebAPI

    Imagine having a class Department( ID,Name) and Employee ( ID,Name,IDDepartment) . You want to return in the WebAPI the Departments with the Employee . It is simple to wrote this code: But the problem is with circular references when serializing  : The Department has a list of  Employees  that have a Department that have a…

  • Interpreter–part 7 of n–thank you

    In our days you cannot build a project without help from other projects.  So it is your project – it is build on the shoulder of others( https://en.wikipedia.org/wiki/Standing_on_the_shoulders_of_giants ) Add a third party notice and thanks others that contributes with components to your project. I have discovered https://github.com/KrystianKolad/DotnetThx  – and running it gives me that…

  • Interpreter–part 4 of n – Deploy

    Series: http://msprogrammer.serviciipeweb.ro/2018/07/16/interpreterpart-1-of-n/ – Idea http://msprogrammer.serviciipeweb.ro/2018/07/23/interpreterpart-2-of-n/ – Coding http://msprogrammer.serviciipeweb.ro/2018/07/30/interpreterpart-3-of-n/ – Testing http://msprogrammer.serviciipeweb.ro/2018/08/06/interpreterpart-4-of-n/  – Deploy http://msprogrammer.serviciipeweb.ro/2018/08/13/interpreterpart-5-of-n/ – Documentation http://msprogrammer.serviciipeweb.ro/2018/08/20/interpreterpart-6-of-n/ – Ecosystem / usage     After done the testing part,we can deploy the Interpreter . That means uploading to some package sources,as Nuget.org or myget.org. I choose Nuget.org . For this,first we should package the applicatiuon. We…

  • Interpreter–part 3 of n -Testing

    Series: http://msprogrammer.serviciipeweb.ro/2018/07/16/interpreterpart-1-of-n/ – Idea http://msprogrammer.serviciipeweb.ro/2018/07/23/interpreterpart-2-of-n/ – Coding http://msprogrammer.serviciipeweb.ro/2018/07/30/interpreterpart-3-of-n/ – Testing http://msprogrammer.serviciipeweb.ro/2018/08/06/interpreterpart-4-of-n/  – Deploy http://msprogrammer.serviciipeweb.ro/2018/08/13/interpreterpart-5-of-n/ – Documentation http://msprogrammer.serviciipeweb.ro/2018/08/20/interpreterpart-6-of-n/ – Ecosystem / usage     Now that we do not have just the interpreter part 1 idea,but also interpreter part 2 coding,we can test the application. For this we should write test for everything that we wrote…

  • Interpreter–part 2 of n – Coding

    Series: http://msprogrammer.serviciipeweb.ro/2018/07/16/interpreterpart-1-of-n/ – Idea http://msprogrammer.serviciipeweb.ro/2018/07/23/interpreterpart-2-of-n/ – Coding http://msprogrammer.serviciipeweb.ro/2018/07/30/interpreterpart-3-of-n/ – Testing http://msprogrammer.serviciipeweb.ro/2018/08/06/interpreterpart-4-of-n/  – Deploy http://msprogrammer.serviciipeweb.ro/2018/08/13/interpreterpart-5-of-n/ – Documentation http://msprogrammer.serviciipeweb.ro/2018/08/20/interpreterpart-6-of-n/ – Ecosystem / usage     Now that we have the idea from interpreter part 1 of what we want to do,start coding thinking about what the code will look like. We want simple use,like So we will…