-
Bingo Meetings- documenting code–part 24
We have already documented the process of reproducing our code on developer PC ( including docker …) So now we should help programmers understand the code that we have create and it’s general use. For this,for any project that we have : 1. We should add a Readme.md file to explain the project 2. We…
-
Friday Links 335
URL Matching in C# – Simple Talk JWT Authentication for Microservices in .NET – Simple Talk Introducing Chrome Debugging for VS Code SparkyTools: DependencyProvider – Brian “Sparky” Schroer – Medium BrianSchroer/SparkyTools: .NET Tool/Utility libraries – Source code for “SparkyTools” nuget packages: SparkyTools.AutoMapper,SparkyTools.DependencyProvider,SparkyTools.XmlConfig thepirat000/Audit.NET: An extensible framework to audit executing operations in .NET and .NET Core.…
-
BingoMeetings-documentation-part 23
Not so much here – just is the most time consuming part. You should imagine for who you are writing ( technical / user ?),what are his interests ( installing application / running the project ) and how to convey information. Here we will write for the persons that wants to install the project,run it…
-
BingoMeetings–4 steps to run in Docker both WebAPI and Site-part 22
Now what I want to achieve is to run the WebAPI and Angular Site in docker. For this,we should compile the Angular site and copy into the WebAPI. Also,WebAPI should serve the index.html file generated by the Angular. Those are the 4 steps: 1. Ensure that the Angular routes and WebAPI routes should be different…
-
BingoMeetings–build and deploy Angular WebSite to GitHub–part 21
What we need is to deploy somewhere the WebSite application – the Angular. One version is to compile and deploy to the WebApi (http://bingo-meeting-api.herokuapp.com/api/ ),however ,I do prefer keeping separate. One simple idea is to deploy to GitHub site . For each repository,GitHub lets you have a website correlated . For example,for our project,https://github.com/alexandru360/PresentationBingoCards/,github lets you…
-
Friday Links 334
Setting up Application Insights took 10 minutes. It created two days of work for me. – Scott Hanselman An Overview of JavaScript Testing in 2018 | Codementor facebook/WebDriverAgent: A WebDriver server for iOS that runs inside the Simulator. GDPR Tools in SSMS » Iris Classon A code review checklist prevents stupid mistakes WebApiContrib/WebAPIContrib.Core: Community Contributions…
-
Bingo for meetings-build an Angular app-part 20
Now it is time to create some Angular GUI. ( If you want to learn Angular,please visit https://angular.io/ ) Problems encountered: 1. The CreateMeeting did not compile (ng serve ) the CreateMeeting class ( because of the nestjs Swagger decorators ). So I ended creating an interface ICreateMeeting with the same definition and using in…
-
Bingo meetings–deploying to heroku–part 19
We have decided to deploy on heroku,since it has some free dynos. Heroku is integrated with GitHub and has “automatic deploys” – that means that every push will automatically deploy to Heroku. That will be an opportunity for AzureDevOps to verify correct deploy ( even if appears different …) Some points here: 1. Heroku is…
-
Bingo for–refactor web service with tests–part 18
In the same manner that we refactor the objects,we have now to refactor the service that is called by the WebAPI. Yes,we have the skinny controllers concept – but the service is something new for the application. Think about retrieving the list of the meetings – this is something that we did not need in…
-
Intermezzo – NestJS + Jest vs Angular + Jasmine
We decided to add an Angular project. As a immediate consequence,the compile ( tsc ) of the API ( bingo-cards-api) it failes with the first error being: ../node_modules/@types/jasmine/ts3.1/index.d.ts:16:1 – error TS6200: Definitions of the following identifiers conflict with those in another file: beforeAll,beforeEach,afterAll,afterEach,describe,fdescribe,xdescribe,it,fit,xit,expect,DEFAULT_TIMEOUT_INTERVAL,CustomMatcherFactory,CustomEqualityTester Obviously,we have a conflict… And the conflict is done by Angular(…
I am ok , you are ok