• TILT-Angular 14 and small updates-part 20

    It is always good to have the latest version of NuGet packages – if it does not break the application,of course. Easy task when you have some automated test -and Visual Studio is doing this for you. However,to update an Angular application where the version is fixed – a nightmare. I will do in a…

  • TILT-Server Timing in Browser-part 19

    For see fast what is happening with your server,you can use the Server Timing API. One of the implementations for .NET is https://github.com/tpeczek/Lib.AspNetCore.ServerTiming . Not a big deal – implemented separately with AOPMethodsCommon – but I think it is a good idea to use it. The implementation was straightforward builder.Services.AddScoped<ServerTiming>(); var app = builder.Build(); app.UseServerTiming();…

  • TILT-calendar- part 18

    To see the progress,it is good to have a calendar.Discovered angular-calendar – to show events. The exemaple at https://mattlewis92.github.io/angular-calendar/#/kitchen-sink is pretty self explanatory. However,another 3 hours passed to have the display. The ( quasy – final ) result can be seen below ( taken from http://tiltwebapp.azurewebsites.net/AngTilt/tilt/public/ignatandrei ) Tools VSCode angular-calendar

  • TILT-caching- part 17

    If you want to read about,see https://docs.microsoft.com/en-us/azure/architecture/patterns/cache-aside So,the public TILTS must be cached. Also,when a user makes a new TILT,the cache should be destroyed The code for Memory Cache is very simple: Add to services builder.Services.AddMemoryCache(); Add an MemoryCache cache to the constructor public MyTilts(IMemoryCache cache, add caching to the function if (cache.TryGetValue<TILT_Note_Table[]>(urlPart,out var result))…

  • Friday links 489

    “This project will only take 2 hours” – Austin Z. Henley We Analyzed 425,909 Favicons • iconmap.io What’s New for C#,F# and Visual Basic in .NET 6 — Visual Studio Magazine The Invisible JavaScript Backdoor – Certitude Blog Writing Maintainable Code is a Communication Skill – Max Chernyak Introducing the Windows ML Samples Gallery –…

  • TILT- cosmetic–part 16

    The user must know something about the site. One of easy way is to display an intro – and I have choosed https://github.com/shipshapecode/shepherd Also display number of chars when putting a TILT display a text area instead of an input display links to my TILTS Added also https://codescene.io/ . Can be valuable – but I…

  • TILT- GUI–part 15

    Now the easy way for me is to create a web interface with Angular. Nothing too complicated. This is how it looks for the TILTS at https://tiltwebapp.azurewebsites.net/AngTilt/tilt/public Now,if I am going to a TILT Url,I can see the TILTs in the browser: https://tiltwebapp.azurewebsites.net/AngTilt/tilt/public/ignatandrei For creating new TILTS,I can use the web interface https://tiltwebapp.azurewebsites.net/AngTilt/tilt/my I enter…

  • TILT–CodeCoverage–part 14

    The code coverage should be simple – just run tests and that’s all,right ? For a reason,the coverlet console,dotnet-coverage,dotnet test do not work – means that code coverage generated was 0% ( I have verified with dotnet-reportgenerator-globaltool ) The only that worked was altCover and this is the code into the yml: dotnet test –no-build…

  • TILT–Analyzing code–part 13

    I want a static analysis tool that can be used to check the quality of the code. SonarCloud.io is a great tool for this. You can find the instructions for the tool here: https://sonarcloud.io/dashboard/index/organization/sonarcloud/project/sonarcloud-project-id It was easy to set up – and it is free. You can see the results here: https://sonarcloud.io/summary/overall?id=ignatandrei_TILT This is the…

  • Friday links 488

    Chrome broke features of the web and forgot to tell anyone • The Register AspNetCoreDiagnosticScenarios/AspNetCoreGuidance.md at master · davidfowl/AspNetCoreDiagnosticScenarios AspNetCoreDiagnosticScenarios/AsyncGuidance.md at master · davidfowl/AspNetCoreDiagnosticScenarios Extracting text from any file is harder than it looks. Extracting formatting is even harder. – Stack Overflow Blog Covariance and Contravariance in TypeScript Enable tab completion – .NET CLI |…

I am ok , you are ok