Category: traceability

  • Open Tracing instrumentation for running process

    Open tracing allows you to trace calls between (micro)services . It has also calls for HTTP and Sql. For a ASP.NET Core application the code is at follows ( for exporting at Jaeger,for example): This code was made with  <PackageReference Include=”OpenTelemetry” Version=”1.1.0-beta1″ /> <PackageReference Include=”OpenTelemetry.Instrumentation.AspNetCore” Version=”1.0.0-rc3″ /> <PackageReference Include=”OpenTelemetry.Exporter.Jaeger” Version=”1.1.0-beta1″ /> <PackageReference Include=”OpenTelemetry.Extensions.Hosting” Version=”1.0.0-rc3″ />…

  • Traceability – conclusion – part 7 of 7

    Those were previous posts: Traceability in .NET – 1 of 7 Traceability in .NET–1.0.*–part 2 of 7 Tracebility in .NET -source control – part 3 of 7 Traceability in .NET–.tt files–add build date– part 4 of 7 Traceability in .NET–.tt files–add changeset – part 5 of 7 .TT – add more informations(.NET version,build ) –…

  • .TT – add more informations(.NET version,build ) – part 6 of 7

    As you can see from the previous chapter,we have added to the AssemblyDescription more informations – like .NET version,build configuration,and more You can see those with an explorer add-on http://www.codeproject.com/Articles/118909/Windows-7-File-properties-Version-Tab-Shell-Extens Video : http://youtu.be/A_qSdVV93qk Demo project here : https://traceabilitydemo.codeplex.com/releases/view/132231 Source code here : https://traceabilitydemo.codeplex.com/SourceControl/changeset/view/110446

  • Traceability in .NET–.tt files–add changeset – part 5 of 7

    We wish to add,from the .tt file,the id of the last TFS checkin. For this purpose we will connect to TFS and we will investigate in the current project the latest change. We will use the facility of .tt file to connect to the host and ask for various features ( such as TFS )…

  • Traceability in .NET–.tt files–add build date– part 4 of 7

    Firstly we propose that build can automatically put the data in AssemblyVersion. For this you will need somehow to generate the current date. We can do this in several ways – for example,a post build event. We will use a .tt file that will automatically generate this date. We will use for other things –…

  • Tracebility in .NET -source control – part 3 of 7

    Adding version with Source Control This depends on what source control do you use . We will not discuss this in details – it is enough to searchAssemblyVersion. For TFS or SVN you can use https://github.com/loresoft/msbuildtasks : TfsVersion si SvnVersion You can use command line too : http://www.woodwardweb.com/vsts/determining_the.html Full tutorial with powershell you can find…

  • Traceability in .NET–1.0.*–part 2 of 7

    Traceability in NET Each project in Visual Studio contains a file named AssemblyInfo.cs that contains summary information about the component. We will discuss these lines: As seen the traceability already exists in .NET .The difference between AssemblyVersion and AssemblyFileVersion is detailed here: http://support.microsoft.com/kb/556041 What we want to achieve is that after a change of the…

  • Traceability in .NET – 1 of 7

    What is traceability? From Wikipedia,http://en.wikipedia.org/wiki/Traceability : Traceability is the ability to verify the history,location,or application of an item by means of documented recorded identification. We define traceability in software tracking capabilities and implementation of software components to know exactly: 1 The date the component was done (so that we can reproduce the source code) 2…