-
RxJS–Unsubscribe automatically –part 47
I am searching for a simple method to unsubscribe from Observables. Some of methods are detailed here : https://blog.bitsrc.io/6-ways-to-unsubscribe-from-observables-in-angular-ab912819a78f I do not want remember to unsubscribe being forced to use html ( the async pipe) take operator – I want later to cache first data and then make the http call first operator – same…
-
Friday Links 354
edent/SuperTinyIcons: Under 1KB each! Super Tiny Icons are miniscule SVG versions of your favourite website and app logos daneden/animate.css: A cross-browser library of CSS animations. As easy to use as an easy thing. Animate.css Seth’s Blog: Reading at work Current State of the NewSQL/NoSQL Cloud Arena – Simple Talk The Best Request Is No Request,Revisited…
-
Routing angular with .net core and RxJs switchmap- part 46
Now the problem is that the route works if I access first the index.html file,but it does not route when entered directly Trying to get from SPATemplate https://github.com/ignatandrei/InfoValutar/commit/a364dc57653ac2ba04ab0596f1540a8f9fdb73f6 However,this will redirect ALL routes to index.html – including swagger and API. Trying to learn more – looking at the code. I have observed that I…
-
Displaying banks with Angular routing-part 45
Now I want to have a separate URL for each bank,like https://infovalutar.azurewebsites.net/bank/ECB For this I read routing in Angular,https://angular.io/tutorial/toh-pt5 . However,a small problem : when we change URL,from https://infovalutar.azurewebsites.net/bank/ECB to https://infovalutar.azurewebsites.net/bank/BNR we should re-load component – or the component be aware of changing. Reading https://kamranahmed.info/blog/2018/02/28/dealing-with-route-params-in-angular-5/ makes me change from this.idBank = this.route.snapshot.paramMap.get(‘id’); to this.route.params.subscribe(rp=> {…
-
.NET Core 3.0 to .NET Core 3.1 and .NET Core SSL (https )with VSCode + Docker –part 44
To pass from .NET Core 3.0 to .NET Core 3.1 Modify the .csproj Modify the devops Modify the GitHub Actions Modify the Azure Devops ( because was on Docker,just modify the docker FROM sdk Modify the dockerfile in the .devcontainer folder to run in VSCode Container Some of the modifications here : https://github.com/ignatandrei/InfoValutar/commit/2d5b138ccd6225a6bf69dca47fe76e2270920d2d However,to have…
-
Configure Angular Environment(local and remote) and CORS for .NET Core – part 43
I want to be capable to run Angular with data obtained from local .NET project in development – and from remote website in production. One of the techniques is detailed here https://angular.io/guide/build Generated service : ng g s banks Now I want to see that every modification of the Bankservice will re-compile. Tried in Docker…
-
Docker environment for Angular–part 42
Trying the alpine container from https://github.com/microsoft/vscode-dev-containers/tree/master/containers . It does not work – the error was that it cannot mount the binding folder . I figure that it was a Docker issue,https://blogs.msdn.microsoft.com/stevelasker/2016/06/14/configuring-docker-for-windows-volumes/ . Then I had a problem with “ tarball data for @angular/compiler@8.2.14 seems to be corrupted” – delete package.json for this. This is the…
-
Tools List 2019
Browsers Chrome Firefox Edge IE Chrome Addons Advanced REST client Angular state inspector Angular Tracer for View Updates Augury BehindTheOverlay Ceev – Linkedin Resume Generator Chrome Apps & Extensions Developer Tool Chrome Media Router draw.io Desktop Exploratory Testing Chrome Extension Export links of all extensions File Icon for GitHub and GitLab Google Voice Search Hotword…
-
Friday Links 353
Stakeholder-Driven Data Science at Warby Parker Kanban Everything: How to Add Trello-Like Boards to Gmail,Evernote,and More The 32 Best Google Docs Add-ons in 2017 Talk Like a Human: 8 Phrases to Avoid Saying to Your Customers 8 New Google Calendar Features You Should Start Using Now How I Created a HeatMap of my Location History…
-
Adding Angular to WebAPI site-part 41
First,I want to add an index.html file – to see the result. For this,I add to the startup: public void Configure(IApplicationBuilder app,IWebHostEnvironment env) //more code app.UseDefaultFiles(); app.UseStaticFiles(); I also add an index.html into a wwwroot folder ( also created into the root) You can see the modifications here: https://github.com/ignatandrei/InfoValutar/commit/4deb32528aee7b667f22a38c8e96899052cbfd4c Now I want to compile the…
I am ok , you are ok