Posts

React Components | What is Component in React Js | Importance of Components in Application

Image
Hello & As- salam  u  alikum  ! This is the second article related to React js , In this blog we will discuss the introduction and importance of Components. The Programmers used to write a lot of code in earlier days to create application ,In which many of the code was much repetitive ,assume that there is one functionality which is present on page-1 ,page-2 ,page-3 & pages-4 ,we use to copy and paste the code on each page, when ever any change was required,we need to change the code on every page or view, That was very difficult task for developer for manage such code.  React js came to resolve this problem with component base class code. In which we do not have to write the code again and again ,we just make a single unit of generic code once then we use the same component every where on application.  Types of Components:  React js have two types of components Functional  Class In ReactJS, we have mainly...

How to Install React Js | React Js Installation Windows | First React app |react js sample project step by step

Image
Hello & As- salam  u  alikum  ! This is the first article to work on a new java script  framework i.e "React js". Step#  1:     If you are willing to study the histtory and background of React js, you may click this  Link . Lets Start Installation of react js in our windows Environment. Step#  2:      Install git on your computer if  it is not installed on your machine. Once it is installed,Check the version of git by writing the below command . git --version Step#  3:      Download and Install node on your computer, you may get the download link by clicking here .  When you install the node on your PC ,check the version of node & npm by there commands. node --version npm --version Step# 4 :      Now write the below command to install React on your system, this will take few minutes to install.  npm install -g create...

Connecting Mongo Db with Asp.net Core | Mongo db with .net Core | no Sql Database

Image
Hello & As- salam  u  alikum  ! In this Article we will learn to create a web api using no sql database i.e "Mongodb" Step#  1:     Learn some basics of MongoDb from the below link if you are not familiar with this no sql documented database.  Click  Here  for Mongodb tutorial. Step#  2:     Create a folder as  provided path  C:\Mongotutorial  & add a folder named as "db" in  Mongotutorial   folder. Step# 3 :     Now Open the cmd and type the following command. mongod --dbpath C:\ Mongotutorial   --port 27017 When you execute this command, you will find some files created in your c:\Mongotutorial folder. Now open Cmd & type the following command. you will find the interface like this : Now type below highlighted command to create database named as "db_Employee" use the below highlighted command to make a tab...