-
TILT–Some improvements-part 23
I wanted to have a share on TILTs,instead of a clipboard copy. Discovered that browser navigator has a native share – https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share . Implementation very simple ( not so good,) private share(str:string): boolean{ if (‘share’ in navigator) { navigator .share({ title: ‘TILT!’, text: str, url: environment.url + ‘AngTilt/tilt/public/’+this.profileForm.controls[‘url’].value }) .then(() => { console.log(‘Callback after sharing’);…
-
TILT- TimeZone -part 22
To see if two TILTS are in the same day,it is not enough to see if the difference is less than one day. Could be less than 1 day in UTC – but in Europe/Bucharest can be the next day ( suppose that I put one TILT at 23:59:59 local time – the next TILT…
-
Vintage Development part 2 si RX
Pe 13 septembrie 2022,ora 19:30, va fi un nou meetup ADCES despre “Vintage Development part 2 si RX” Details Prezentare 1:Vintage development part 2 – VB6.0,Classic ASP,Windows NT Server,Visual SourceSafePrezentator: Julian Atanasoae,https://www.linkedin.com/in/julianatanasoae/ Prezentare 2:Reactive Extensions in .NET si JavaScript cu multe exemple in AngularPrezentator: Andrei Ignat,http://msprogrammer.serviciipeweb.ro/Descriere: In cadrul prezentarii o sa fie o introducere in…
-
TILT-AMS – about my software-part 21
One of the most related are data that fill the database for developer – and do not fill into production AMS ( About My Software) could help . It generates an unique class that inherits public class AboutMySoftware { public string Authors { get; set; } public bool IsInCI { get; set; } public string…
-
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…
I am ok , you are ok