Real Time Clock

This is the article that prompted this post:

https://www.codeproject.com/Articles/1172136/Build-Realtime-Clock-Using-Angular-TypeScript-ASP

It’s a good article that describes how to use Angular2, SignalR, TypeScript and ASP.NET to build a simple Real Time Web Application. We’d like you to compare the steps and the code with the same solution written using Wisej.

These are the steps in Wisej:

Step 1

Create a new project.

Step 2

Drop a label on the page.

Step 3

Start a static thread timer that can update multiple clients using  a single thread. Each client session attaches to the timer’s Elapsed event and receives timer updates every second.

The time string is localized automatically to match the browser’s preferred language.

Step 4

Hit Run.

Wisej will push the new time to every connected client every second.

 

Hosted on Microsoft Cloud
Zip File (13 Kb)