Compiling every changes to your Type Script code, is really not only time consuming activity but also put huge pressure your process , especially if you have large source code on your process. Every time it has to compile, propagate the updates to all of its dependencies.
To resolve this issue on your use the Watch parameter of tsc compiler.
Syntax for using watch parameter with tsc compiler.
tsc --watch YourTSFile.ts
Now your terminal will be on active mode and start to continuously watching the changes your source code and behind the scene it will compile the code into JS output.
You have to keep your terminal in active mode, it shouldn't be stopped.
Friday, May 22, 2020
Thursday, May 21, 2020
Upgrading latest NodeJS in ubuntu
In this post, I am listing the steps I have followed on my Ubuntu 18.04 to upgrade the latest NodeJS for Angular development purpose.
On my machine, it shows the default node version that is v8.
To develop the Angular application, you must have installed the latest version of NodeJS ( > 10.13.0 ) and NPM (6.11.0).
Tp Upgrade to latest NodeJS in Ubuntu 18.04 , follow these step
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
Still you want to latest version other than stable version, use this command
sudo n latest
After successful of the above commands, now you can check node -v command to verify the latest version. Now I have latest version of npm and nodeJS.
After this, AngularCLI got installed successfuly and able to create angular application.
On my machine, it shows the default node version that is v8.
To develop the Angular application, you must have installed the latest version of NodeJS ( > 10.13.0 ) and NPM (6.11.0).
Tp Upgrade to latest NodeJS in Ubuntu 18.04 , follow these step
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
Still you want to latest version other than stable version, use this command
sudo n latest
After successful of the above commands, now you can check node -v command to verify the latest version. Now I have latest version of npm and nodeJS.
After this, AngularCLI got installed successfuly and able to create angular application.
Monday, May 11, 2020
ASP.NET Core application deploy to Azure
Deploying the ASP.NET application from Visual Studio to Azure is very simple and straight forward. All you need to do is just click next button on each GUI wizard once you logged into your azure subscription.
Step
But this is not the case, if you are developing the web or MVC application using the Visual Studio Code.
To complete this, you must have local git installed on your machine with internet connection.
Step
Go to your App Service "Over view" page
Copy the Git clone URL
On your local machine navigate to your project folder in command prompt or terminal
on project folder location (in command prompt) type :\ git init
Now type
git remote add azure https://Murugesan@murugesan.scm.azurewebsites.net:443/murugesan.git
Once it successful, type
git commit -m "First push"
git commit -m "First push"
Saturday, March 28, 2020
Apache Kafka - 28-March-2020
Today , 28th March ,2020 - What I have learnt today
handwritten notes available here, if you interest please check
On my lock down days here at my home. Today I have started to learn more about Apache Kafka.
Here is my notes to recollect all I have memorised and understood.
Kafka is 3rd generation messaging system or often called streaming platform (What is Messaging System ? - Passing the messages between computers or distributed applications in asynchronously, securely and scale able fashion.
It will allows you to store and process the streaming of data/message as they occur.
Kafka will store the messages in Topic those were received from or published by Producers.
Producers can be an any application to send the messages to Kafka Cluster.
Consumers are nothing but a client application which consumes the data / messages from Kafka Cluster.
Streams : Processors , Its an client library for processing the data or messages in Kafka.
Connectors : A Framework to build connectors which is responsible for moving or transporting the data or messages in and out or other systems from Kafka.
Topic : Its a unique for Kafka system, its a logical container to hold or store the messages from the producers.
Partition : Kafka breaks the messages into multiple partition and storing it in host of computers in order to comply the fault-tolerance and high availability.
Support a kafka Topic has huge data, then these data will be split into partition and each messages will be stored in the cell format and cell will share the sequence of id, These id will be called OffSet in Kafkar.
Messages will be identified or retrieved through this Offset Id and combination of Topic Name,Partition Id.
handwritten notes available here, if you interest please check
On my lock down days here at my home. Today I have started to learn more about Apache Kafka.
Here is my notes to recollect all I have memorised and understood.
Kafka is 3rd generation messaging system or often called streaming platform (What is Messaging System ? - Passing the messages between computers or distributed applications in asynchronously, securely and scale able fashion.
It will allows you to store and process the streaming of data/message as they occur.
Kafka will store the messages in Topic those were received from or published by Producers.
Producers can be an any application to send the messages to Kafka Cluster.
Consumers are nothing but a client application which consumes the data / messages from Kafka Cluster.
Streams : Processors , Its an client library for processing the data or messages in Kafka.
Connectors : A Framework to build connectors which is responsible for moving or transporting the data or messages in and out or other systems from Kafka.
Topic : Its a unique for Kafka system, its a logical container to hold or store the messages from the producers.
Partition : Kafka breaks the messages into multiple partition and storing it in host of computers in order to comply the fault-tolerance and high availability.
Support a kafka Topic has huge data, then these data will be split into partition and each messages will be stored in the cell format and cell will share the sequence of id, These id will be called OffSet in Kafkar.
Messages will be identified or retrieved through this Offset Id and combination of Topic Name,Partition Id.
Subscribe to:
Posts (Atom)



