<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Pooja Shinde on Medium]]></title>
        <description><![CDATA[Stories by Pooja Shinde on Medium]]></description>
        <link>https://medium.com/@poojashindeengineer?source=rss-624ed6813c1c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*OrnU4BMxBykVw0OgHFvR7g.jpeg</url>
            <title>Stories by Pooja Shinde on Medium</title>
            <link>https://medium.com/@poojashindeengineer?source=rss-624ed6813c1c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 22:04:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@poojashindeengineer/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Mvc Core Part 4- Creating Controller, View, Posting data from View to server]]></title>
            <link>https://medium.com/@poojashindeengineer/mvc-core-part-4-creating-controller-view-posting-data-from-view-to-server-b1eb850c69b1?source=rss-624ed6813c1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1eb850c69b1</guid>
            <dc:creator><![CDATA[Pooja Shinde]]></dc:creator>
            <pubDate>Sat, 06 Jun 2020 08:29:39 GMT</pubDate>
            <atom:updated>2020-06-06T08:29:39.407Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article ,I am going to show you how to create simple UI, Controller in our application and also how to post data from view to server.</p><ul><li>Here I have created one project “SampleMvc” in visual studio code. For creating view ,controller in vs code we have to create it manually. So lets see how to create it in vs code.</li></ul><h3>Creating new Controller:</h3><ul><li>To create new controller go to the Explorer and Right click on <strong>Controller</strong> folder then select option <strong>“new file”</strong> then give name to that file .</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/290/1*fm0y1sSWYsyAQO-lc-ukUQ.png" /></figure><ul><li>Here I have created “<strong>CustomerController.cs”</strong></li></ul><h3><strong>Creating View:-</strong></h3><ul><li>To create new View go to the Explorer and Right click on <strong>View</strong> folder then select option <strong>“new file”</strong> then give name to that file . Here I have created “<strong>CustomerAdd.cshtml”</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/292/1*sW0qML0ljJnecNRoK4p6Dg.png" /></figure><ul><li>Folder Structure After Creating Controller and View</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/304/1*E7_P2GbU6P992PWiK3Q1uw.png" /></figure><ul><li>We have MVC(Model,View,Controller) Structure</li><li>After that open the CustomerController.cs file and create action .hare I have created Add() action</li><li>See the following code</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/1*1k-edddk4G_rj445zgZGPw.png" /></figure><ul><li>Now open the “<strong>CustomerAdd.cshtml” </strong>and create form into that I have created two Text Box and one button</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*YU4xT-FvwLSCib-9EHTXMw.png" /></figure><ul><li>Now run this Application by using “Dotnet run” command then the following output is displayed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/465/1*wieN14LjuzXcqWvrcBabog.png" /></figure><p><strong>Send data to server</strong></p><ul><li>Step 1-Create one more method in CustomerController</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/495/1*HOG9eiAgAdxGSg5wdFGwSA.png" /></figure><ul><li>Step 2-Add action and assign name of action which you want to invoke</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*xB_vAiJQJ-BHFIyeFB4S-A.png" /></figure><ul><li>Then run the project</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/484/1*sigc1tMHf1LmQvvNDx8nsg.png" /></figure><ul><li>When we click on Submit Customer then Following Window get opened</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/569/1*nN48DrLZ-u_E_JncPnXvdA.png" /></figure><p><strong>Creating Models:-</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/495/1*HOG9eiAgAdxGSg5wdFGwSA.png" /></figure><ul><li>In this submit method variables are passed as a parameter .If we have more numbers of fields then passing each and every thing is not effective.so we create model.</li><li>Step 1-To create Model go to the Explorer and Right click on <strong>Model</strong> folder then select option <strong>“new file”</strong> then give name to that file “CustomerModel.cs”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*EYQOSajUDbFyNS3aFrCHQA.png" /></figure><ul><li>Step 2- Create variables</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/517/1*C2wDdAENBT5WJgAGfMTnDg.png" /></figure><ul><li>Step 3-Add class into Submit method and create object</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/425/1*AUShlKsddWheNCPRjI3bDg.png" /></figure><ul><li>step 4-Then Import Following namespace because CustomerModel class in present in Sample.Models</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/224/1*Vo-4IvS81t69NZ8jPjpruw.png" /></figure><p><strong>Display data in the form of table</strong></p><ul><li>Step 1 -create List in CustomerController</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*nou7HyejA_iFWFpYByg9Wg.png" /></figure><ul><li>here we use static keyword means our list is created globally.HTTp is stateless protocol so we create list globally and every Customer can see the data globally.</li><li>Step 2: create one more View</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/296/1*Qof3_ieFEl5XYikfJ77fMw.png" /></figure><ul><li>Here I have created “DisplayCustomers.cshtml” view</li><li>Step 3:create one more method</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/1*5J1ewhZfaYDNcl-Hi6AtvQ.png" /></figure><ul><li>Step 4:-Create table to display data in DisplayCustomer View.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*YiGO5hHnYiRzHWefxM_8LA.png" /></figure><ul><li>Step 5:- Run the project</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/484/1*sigc1tMHf1LmQvvNDx8nsg.png" /></figure><ul><li>Click Submit Customer Button</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*JAn1vpnnho5-6Ml5QNY65g.png" /></figure><ul><li>Click Add Customer Link</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/1*UfeSfzubJB2H98SsO5TjyA.png" /></figure><ul><li>Submit Customer</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/545/1*XlJgMAa6T3S6uKCR5Q_2sg.png" /></figure><ul><li>Here is the list of customers is displayed into the table.</li></ul><p>Thanks For reading this article .If you want to read my previous articles of MVC Core then click on following link</p><ul><li><a href="https://medium.com/@poojashindeengineer/overview-of-net-core-d68d8b89da99">Part 1-Overview Of .NET Core</a></li><li><a href="https://medium.com/@poojashindeengineer/part-2-mvc-core-bootstrapping-and-request-response-process-2d78544f1d61">Part 2- MVC core Bootstrapping and Request -Response process</a></li><li><a href="https://medium.com/@poojashindeengineer/mvc-core-part-3-http-stateless-protocol-sessions-and-cookies-22a234ccd774">MVC Core Part 3: HTTP stateless protocol, sessions and cookies</a></li></ul><p>Refer the following video for better understanding of MVC core</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fipio9ze57X8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dipio9ze57X8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fipio9ze57X8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/c1d766c328d48862cb644023d53dfd11/href">https://medium.com/media/c1d766c328d48862cb644023d53dfd11/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1eb850c69b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MVC Core Part 3: HTTP stateless protocol, sessions and cookies]]></title>
            <link>https://medium.com/@poojashindeengineer/mvc-core-part-3-http-stateless-protocol-sessions-and-cookies-22a234ccd774?source=rss-624ed6813c1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/22a234ccd774</guid>
            <dc:creator><![CDATA[Pooja Shinde]]></dc:creator>
            <pubDate>Thu, 04 Jun 2020 10:30:53 GMT</pubDate>
            <atom:updated>2020-06-05T05:14:25.586Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello friends..!! In previous article, we learned about MVC bootstrapping and request response process.</p><p>Now In this article, I am going to discuss about HTTP stateless protocol, sessions and cookies.</p><h4>HTTP stateless :-</h4><ul><li>HTTP is a web protocol. By using this protocol client request to the server, then server gives response to the client and it disconnects.</li><li>Means there is no state maintained between the connections. So HTTP is an stateless protocol.</li><li>Using HTTP stateless we serve thousands of requests but it does not kept the information about request that has been previously executed.</li></ul><h3>HTTP stateful :-</h3><ul><li>HTTP stateful means every HTTP request kept information about request that has been previously executed.</li><li>By default HTTP protocol is a stateless protocol. To make stateful we use the session.</li></ul><h4>What is session?</h4><ul><li>Session is used to store small amount of temporary data at server side as well as client side.</li><li>When we use session, data is not directly stored on browser. Instead of browser it is stored in the servers memory.</li><li>Session uses cookies to store data. The browser makes hash of that data so session is secured.</li></ul><p>How to make HTTP stateful using session in ASP.NET core</p><h4>Step 1:-</h4><ul><li>First we should have to enable session. Go to the startup.cs file and enable the session. In ConfigureService Method use ‘AddSession’ and in configure method use this session by using ‘UseSession’ see the following code</li></ul><blockquote>//ConfigureServices ==&gt;</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*TL_B0C9iRtF6MZu0F7a9_g.jpeg" /></figure><blockquote>//Configure ==&gt;</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*4_TxkXlI3oNEucb7E8PBYw.jpeg" /></figure><h4>Step 2:-</h4><ul><li>Go to HomeController and Add namespace which is given below.</li></ul><blockquote>using Microsoft.AspNetCore.Http;</blockquote><h4>Step 3:-</h4><ul><li>After that we SET and GET an integer value using session. See the following code.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*awMKy6lUpw5he3tmD0ABGQ.png" /></figure><ul><li>Now see the output —</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*L6F3udeD3rfBJgDir_Etmg.jpeg" /></figure><ul><li>If we want to send one more request then it will again increment the value which is stored in the session.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*YZZxZ0YOmFsF5KqF0gy3Cw.jpeg" /></figure><ul><li>Cookie is a some piece of data which is stored in the browser.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*EmPdFzYzoE_ofEUyTYIHTw.jpeg" /></figure><ul><li>In startup.cs file I have created ‘SampleCookie’</li><li>Every time when we visit the website the cookie is updated. Also we can set the expiry time limit to the cookie.</li></ul><p>Thanks for reading this article, If you want to read my previous articles then click on the following link —</p><p>“Part 1-Overview Of .NET Core” by Pooja Shinde <a href="https://link.medium.com/4bQ441wy26">https://link.medium.com/4bQ441wy26</a></p><p>“Part 2- MVC core Bootstrapping and Request -Response process” by Pooja Shinde <a href="https://link.medium.com/3hMUccCy26">https://link.medium.com/3hMUccCy26</a></p><p>For better understanding must watch the following video</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fipio9ze57X8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dipio9ze57X8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fipio9ze57X8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/c1d766c328d48862cb644023d53dfd11/href">https://medium.com/media/c1d766c328d48862cb644023d53dfd11/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22a234ccd774" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Part 2- MVC core Bootstrapping and Request -Response process]]></title>
            <link>https://medium.com/@poojashindeengineer/part-2-mvc-core-bootstrapping-and-request-response-process-2d78544f1d61?source=rss-624ed6813c1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d78544f1d61</guid>
            <dc:creator><![CDATA[Pooja Shinde]]></dc:creator>
            <pubDate>Mon, 25 May 2020 17:33:29 GMT</pubDate>
            <atom:updated>2020-05-25T17:33:29.620Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello friends…!! In this article I am going to tell you about bootstrapping and request response process of MVC core.</p><p>Here I go…..</p><h3>MVC core bootstrapping process :-</h3><p>There are two main files which get loaded while we run the application</p><p>1.Program.cs</p><p>2. Startup.cs</p><h3>1. Program.cs:-</h3><ul><li>When we run the application, first ‘program.cs’ file gets triggered.</li><li>In ‘program.cs’ we can create a host for the web application.</li><li>The code which are in ‘program.cs’ can run the web server.</li></ul><blockquote>So let’s see what is web server?</blockquote><ul><li>Web server is a software which is installed on server and can receive requests and send response to that request.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*FSwgOp70ZHSYkEnMx1cO5g.jpeg" /></figure><ul><li>For that communication we use the different protocols like HTTP,UDP,TCP.</li><li>ASP.NET core is cross platform and also open source so we can use any web server such as IIS, APACHE, Nginx, kestrel etc.</li><li>By default ASP. NET core use the ‘kestrel’ web server.</li></ul><blockquote>Let’s see what is kestrel web server?</blockquote><ul><li>The kestrel is an open source, cross-platform web server for ASP. NET Core.</li><li>It provides better request processing performance to ASP. NET core applications.</li><li>The kestrel is used in the reverse proxy configuration means it deals with request and response.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*AfBpCOtN_CNVvwoXBVbcmA.jpeg" /></figure><ul><li>In above fig, we can see that the HTTP request to any of Proxy server, then this request is pass to the kestrel.</li><li>Kestrel has know the application code. So it will run the code an pass response back to the proxy server and then sent it to the user.</li><li>We can check the server of any website.</li><li>To see the server of websites then run that website and press F12 key and you can see the server name.</li><li>Here, If I go and run the my web application and we can see the server name is ‘Kestrel’ server.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nHRHvjDwPnkiyK_peQUhvA.jpeg" /></figure><ul><li>This is All about ‘program.cs’ file.</li><li>Next the program.cs invokes the startup.cs file</li></ul><h3>2. Startup.cs :-</h3><ul><li>‘Startup.cs’ file is entry point of our application and it handle the request.</li><li>We can define following three methods in ‘Startup.cs’ file-</li></ul><blockquote>Constructor</blockquote><ul><li>It can be used for initialization —</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*DIild-vqvbe4Lx8-fqlcpw.jpeg" /></figure><blockquote>ConfigureService Method</blockquote><ul><li>This is used to configure services for application.</li><li>When any request come to the application then ConfigureService Method will be called first.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*dNGU36bcVban7HTJzk6ROw.jpeg" /></figure><blockquote>Configure method</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*Go48nrXZsWKtQP_Wlow_6w.jpeg" /></figure><ul><li>When we add a method in ConfigureService Method, then it will be available for configure method to used that service.</li><li>So in this method we can use services also it can be used to specify that how the application will respond to the HTTP request.</li></ul><blockquote>Note that program.cs and startup.cs can loaded only by web server when we can run the application</blockquote><blockquote>Let’s see the example to understand bootstrapping process.</blockquote><ul><li>Now we can add some debugging points and run the application or press F5.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*PdH0t-h0U3A5hTR1mZQH2Q.jpeg" /></figure><ul><li>Here we can see it first loade the program.cs file then click on continue.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*d_BZGHasT2Cwv5FhTd5pYA.jpeg" /></figure><ul><li>Then, you can see it loads the startup.cs where we have the Constructor.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*JSGRVDZFcB7T2tvkgo1dLw.jpeg" /></figure><ul><li>Then it go to the ConfigureService Method where we can add services.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DsssQLBNTRcNz2PUTpRoGg.jpeg" /></figure><ul><li>And Finally we can see our application is running.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2FJTkFqle9qZ3rETPmqWvQ.jpeg" /></figure><h3>Request — Response Process</h3><ul><li>When end user can interact with our application then first ‘controller’ gets loaded because we configure default route as controller is ‘HomeController’.</li><li>And action means which view or UI we want to load first. That will be set into the ‘Index’.</li><li>Whenever user request, then it heat first ‘ Homecontroller’ then it check action.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cGEyJtNTiJuJjrxc7pDZUQ.jpeg" /></figure><ul><li>See the following output ifwe click on ‘Home’ then first it will heat the ‘HomeController’ and execute their method which will be returned into view part.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2FJTkFqle9qZ3rETPmqWvQ.jpeg" /></figure><p>Thank you for reading this article.I you want to read my previous article then click on the link given below.</p><p>“Part 1-Overview Of .NET Core” by Pooja Shinde</p><p><a href="https://medium.com/@poojashindeengineer/overview-of-net-core-d68d8b89da99">Part 1-Overview Of .NET Core</a></p><p>To learn MVC. NET CORE refer the following video.</p><p><a href="https://youtu.be/-c1sI8666Ac">https://youtu.be/-c1sI8666Ac</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d78544f1d61" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Part 1-Overview Of .NET Core]]></title>
            <link>https://medium.com/@poojashindeengineer/overview-of-net-core-d68d8b89da99?source=rss-624ed6813c1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/d68d8b89da99</guid>
            <dc:creator><![CDATA[Pooja Shinde]]></dc:creator>
            <pubDate>Wed, 20 May 2020 09:52:05 GMT</pubDate>
            <atom:updated>2020-05-25T16:56:20.623Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello friends..!! In this article I am going to tell you overview of .NET CORE . So let’s start…</p><ul><li>.NET Core is a development platform maintained by Microsoft. It is a new version of .NET Framework.</li><li>The .NET Framework runs on only Windows platform. If we want to run the application on non Windows platforms such as Linux or Unix operating systems then we need to use .NET Core because it is cross platform framework.</li></ul><h3>Installation of .NET CORE</h3><ul><li>We can install Dotnet core in two ways-</li></ul><blockquote>By installing .NET Core Runtime or SDK OR by installing visual Studio.</blockquote><ul><li>To download the .NET Core go the following link 👇 and install the latest version of .NET Core.</li><li><a href="https://dotnet.microsoft.com/download">https://dotnet.microsoft.com/download</a></li><li>If you open the above link you can see the following window —</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/838/1*W6tsUWOnkP0gLHmlbEHJcQ.png" /></figure><ul><li>Here, you can see the two different things in .NET Core</li><li>First one is .NET Core Runtime and second one is .NET Core SDK.</li><li>.NET Core Runtime is used for only to run the .NET Core application.</li><li>And .NET Core SDK(Software Development Kit) which has tools and libraries for development of .NET Core applications.</li><li>For building the .NET Core applications we need to install .NET Core SDK. So that we can start development on platforms like Windows, Linux or Unix.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/838/1*FYMz77xjxvsYaihLskRtVQ.png" /></figure><ul><li>Here we install .NET Core SDK.</li><li>Click on ‘download .NET Core SDK’ option it well download the latest version of the .NET Core SDK i.e 3.1</li><li>After the downloading click on it to start the installation.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*nGNwtqDQR5Yv9LBM2GLYrg.png" /></figure><ul><li>After the successfully installation we can develop .NET Core applications.</li></ul><h3>Creating .NET Core application by using CLI</h3><ul><li>After the complete installation the .NET Core includes the CLI(command Line Interface) tools for development.</li><li>Then go to the command prompt and start creating new application.</li><li>If we want to check the dotnet version which we have installed then use the following command</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*Rm-bm9YaH6T1lSRpqeBsZA.jpeg" /></figure><ul><li>So for creating new mvc application we use the following command —</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_bHU8uoApEwl6aUbfLAb3w.jpeg" /></figure><ul><li>See in above scenario our new application is created.</li><li>Now to build this application we use ‘dotnet build’ command</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1CSd3iOsQu-48XgMyNaHxQ.jpeg" /></figure><ul><li>And Finally to run the application we use the ‘dotnet run’ command.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TMS-MAM5vizQZuKLirA0Bw.jpeg" /></figure><ul><li>Now you can see the output of our application by simply copy pasting the http://localhost:5000 into the browser.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*97bbE2iR6X1BiuuMQ7u94g.jpeg" /></figure><h3>Creating .NET Core application by using visual studio</h3><ul><li>Open Visual Studio and then click on the ‘create a new project’ option.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*R3LahFh3ml_1SDBbOeV2Bg.png" /></figure><ul><li>After that select ‘ASP. NET Core web Application’ because we are going to create a simple web application then click on ‘next’ button as shown below —</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/977/1*iMD-WqyZbW5wxvlqNZhJUA.png" /></figure><ul><li>Then give the name to our application. Here I have given name as ‘MyFirstCoreWebApp’ then click on ‘create’ button</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/966/1*yAJIdFSCDuusGxFfV1TfiQ.png" /></figure><ul><li>Then select the template which we want such as Empty, API, web application, MVC etc.</li><li>Here we want to create MVC application so I have selected web Application (model-view-controller). Then click on ‘create’ button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/865/1*68xL3EUuAnB_DHCE0ggvZw.jpeg" /></figure><ul><li>This will create a new .NET Core mvc application.</li><li>To run this application click on ‘IIS Express’. This will be opened on the browser and display the output.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*bQtIAipuMFD0hGekrqP3QQ.png" /></figure><p>Thanks for reading this article…!!! If you have any suggestion then please let me know so that I can improve it.</p><p>To learn MVC core step by step refer the following video</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fipio9ze57X8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dipio9ze57X8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fipio9ze57X8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/c1d766c328d48862cb644023d53dfd11/href">https://medium.com/media/c1d766c328d48862cb644023d53dfd11/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d68d8b89da99" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Part 3-Routing In Angular]]></title>
            <link>https://medium.com/@poojashindeengineer/part-3-routing-in-angular-56bf0400841a?source=rss-624ed6813c1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/56bf0400841a</guid>
            <dc:creator><![CDATA[Pooja Shinde]]></dc:creator>
            <pubDate>Tue, 19 May 2020 10:27:24 GMT</pubDate>
            <atom:updated>2020-05-19T10:27:24.474Z</atom:updated>
            <content:encoded><![CDATA[<ul><li>Routing helps us to define the navigation for our angular application.</li><li>So if we want to move from one screen to other screen and also want to respect the Single Page Application(SPA) that means not loading and refreshing the whole UI, then routing is needed.</li></ul><blockquote>First see the essential Router concepts</blockquote><ol><li>The Router-outlet</li><li>Routes and paths</li><li>Navigation</li></ol><h3>The Router-outlet</h3><ul><li>The Router-outlet tells the router where to display the routed views.</li></ul><blockquote>&lt;router-outlet&gt;&lt;/router-outlet&gt;</blockquote><ul><li>By using this router-outlet directive the angular router going to display component associated with current route.</li></ul><h3>Routes and Paths</h3><ul><li>Routes are made from at least a path and a component attributes.</li><li>The path is a part of URL that displayed the unique view. And the component are nothing but a Angular component which are needed to be associated with that path.</li><li>The empty path denotes the default path of our application.</li></ul><blockquote>Example of Routes</blockquote><blockquote>{path: ‘Home’,component:HomeComponent}</blockquote><ul><li>If we provide this path to the router configuration, then router will render ‘HomeComponent’ and the browser URL becomes /Home.</li></ul><h3>Navigation</h3><ul><li>For creating navigation links angular router provides the directive called as ‘routerLink’.</li><li>This directive takes the path of component for navigation.</li></ul><h3>Let’s see how to implement routing in angular with Example</h3><h4>Step 1: Creating Our Angular Project</h4><ul><li>I have created one Angular project ‘CustomerApp’ by using ‘ng new CustomerApp’ command.</li><li>After that I have created bunch of components like</li></ul><ol><li>Customer</li><li>Home</li><li>Product</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*fMdNnfpVzOSN9lIH9UnR6g.jpeg" /></figure><ul><li>Also I have added this components in main app module file as shown in the following scenario</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/356/1*Y8FugeofuRkvFmL7fOPakg.jpeg" /></figure><ul><li>Each component has it’s own UI so I have created UI of each component as shown below</li></ul><p>UI of ‘Customer’ component -</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*9HHRkfYPSpqbLADybQ_lag.jpeg" /></figure><p>UI of ‘Home’ component —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*bimsNOsAXvjAyDZFLpabiA.jpeg" /></figure><p>UI of ‘Product’ component —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*pF7YbazPBQQSvdPnt77Qiw.jpeg" /></figure><h4>Step 3: Implementing the router module</h4><ul><li>Next we need to import the RouterModule into the main app module that is in src/CustomerApp/app.module.ts file</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J0jZdicAixIOlExyhF_hRA.jpeg" /></figure><ul><li>Also this RouterModule is imported in ‘imports’ array.</li><li>The ‘RouterModule’ provides a static methods like ‘RouterModule. forRoot()’ for passing a configuration object to the router.</li><li>I have passed my ‘MainRoutes’ collection to the RouterModule.forRoot(MainRoutes)to perform routing as shown below —</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A5MWZt9aQZcmStPSR78WOQ.jpeg" /></figure><h4>Step 3: creating Routes</h4><ul><li>Now, I have added routes to our components.</li><li>I have added it in src/CustomerApp/appRoutes.ts as shown in following scenario —</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*vtz3neX3zbRMqiaAHTR_2A.jpeg" /></figure><ul><li>‘Routes’ is a constant collection.</li><li>As I have already said that ‘path’ is nothing but a part of URL that displayed the unique view and ‘component’ which are needed to be associated with that path.</li></ul><h4>Step 4: Adding the &lt;router — outlet&gt;</h4><ul><li>It is angular define area where routing pages are loaded and unloaded.</li><li>Now, we need to add the &lt;router — outlet&gt;.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*eAPzyIXFhiT5tlQLLMFozw.jpeg" /></figure><h4>Step 5: Adding Navigation Links</h4><ul><li>Next we need to add navigation Links to our App UI using the ‘routerLink’ and ‘routerLinkActive’ directives.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aJkfc56_XOf4bVCSuxksIg.jpeg" /></figure><ul><li>routerLinkActive:- It is point to the current route.</li></ul><p>Now run the application and see the output —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IrZsfXDTEcM25mcgb-q0qA.jpeg" /></figure><ul><li>If we click on ‘Home’ then the home page is opened</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rzIulTNHWksr27sSn4ixGg.jpeg" /></figure><ul><li>If we click on ‘Product’ then the Product page is opened.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RJSKnMnWCnRRgi6HUjuskw.jpeg" /></figure><p>And our Routing is properly working….</p><p>Thanks for reading this article..for reading my previous articles click on the following links.</p><ul><li><a href="https://link.medium.com/JRfO4W2Le6">Part 1- Angular for Beginners</a></li><li><a href="https://link.medium.com/daqY0rce">Medium</a></li></ul><p>To learn Angular step by step refer the following video</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FFV2MXOygDTM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DFV2MXOygDTM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FFV2MXOygDTM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d79f845ccd2be5a55515fcb9064300c5/href">https://medium.com/media/d79f845ccd2be5a55515fcb9064300c5/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56bf0400841a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Naming Conventions In Programming]]></title>
            <link>https://medium.com/@poojashindeengineer/naming-conversations-in-programming-4029d7d0e5c2?source=rss-624ed6813c1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/4029d7d0e5c2</guid>
            <dc:creator><![CDATA[Pooja Shinde]]></dc:creator>
            <pubDate>Thu, 14 May 2020 11:52:35 GMT</pubDate>
            <atom:updated>2020-05-14T11:56:53.113Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello friends…!! In this article we are going to discuss on the naming conventions in programming.</p><ul><li>In programming, sometimes we can not use the space(‘ ‘) character in between multiple words because the space(‘ ‘) character is reserved for special purposes.</li><li>For example,if we try to declare a variable like ‘student login count’ in our program, we can’t do this. It can not be allowed for variable declaration.</li></ul><blockquote>Example 1-</blockquote><blockquote>Student login count =10;</blockquote><ul><li>We do not do like this because each word would be treated as a separate concept.</li><li>So we do something like:-</li></ul><blockquote>Example 2-</blockquote><blockquote>studentLogincount =10;</blockquote><ul><li>In above example we only remove the space and combine the words.</li><li>So there are three naming conventions and every programmer should be aware of this.</li></ul><ol><li>camelCase</li><li>PascalCase</li><li>Underscore Case</li></ol><h3>camelCase :-</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/440/1*5sA4srfgiR5lVSLq4wd5Ow.png" /></figure><ul><li>camelCase is a naming convention in which we formed a single name by joining the multiple words together as a single word.</li><li>The names start with a lower case and the first letter of each multiple words is in Uppercase so that we can easily read the word.</li></ul><blockquote>Example 3-</blockquote><blockquote>Row: student Login Count</blockquote><blockquote>camelCase: studentLoginCount</blockquote><ul><li>In the above example, first letter(‘s’) of word is in lower case and other word’s first letter(L and C) is in Uppercase.</li></ul><h3>PascalCase :-</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/366/1*HqnTI_mQGZLfjmuIIgiqTA.png" /></figure><ul><li>In pascal case we combine the multiple words in single name but the first letter of each word is in UpperCase.</li><li>It combines all words by capitalizing first letter of each words by removing the space between multiple words.</li></ul><blockquote>Example 4-</blockquote><blockquote>Row: student Login Count</blockquote><blockquote>PascalCase: StudentLoginCount.</blockquote><ul><li>In above example, first letter of each word(S, L and C) is in Uppercase.</li></ul><h3>Underscore Case :-</h3><ul><li>In this naming convention we can combine multiple words by separating them with Underscore (‘_’) or we start the name with Underscore (‘_’).</li><li>For example, in our program if we declare a public variable starting with Underscore (‘_’) then while coding if we need that same variable then we can easily find that variable by simple typing ‘_’ instead of full name of variables.</li></ul><blockquote>Example 5</blockquote><blockquote>Row: student Login count</blockquote><blockquote>Underscore case:_StudentLoginCount</blockquote><ul><li>In this example we start the variable name with Underscore (‘_’).</li></ul><p>Thanks for reading this article and I hope this article is useful to you for understanding the concept of string styles in programming.</p><p>Thank you…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4029d7d0e5c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Part 2-Data Binding in Angular]]></title>
            <link>https://medium.com/@poojashindeengineer/part-2-data-binding-in-angular-7a91f7350de?source=rss-624ed6813c1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a91f7350de</guid>
            <dc:creator><![CDATA[Pooja Shinde]]></dc:creator>
            <pubDate>Wed, 13 May 2020 12:31:58 GMT</pubDate>
            <atom:updated>2020-05-13T13:24:57.763Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello friends…!! In this article we are going to learn about data binding in angular. So let’s start…</p><blockquote>First see what is binding?</blockquote><ul><li>Binding is nothing but a process of establishing a connection between our application UI and data which it displays.</li></ul><blockquote>Now let’s see what is data binding?</blockquote><ul><li>Data binding is the important concept in angular. Data binding is the process of establishing a communication between component and view.</li></ul><blockquote>There are mainly two parts —</blockquote><ol><li>HTML template</li><li>Component class</li></ol><h4>1.HTML template:-</h4><ul><li>HTML template contains the view for the component. It contains the elements like :input, select, button etc.</li></ul><h4>2.Component class:-</h4><ul><li>Component class contains the classes, variables, functions etc. Means it contains the logic for component.</li></ul><p>Data binding can be done through either one way or two way.</p><h3>One way data binding —</h3><ul><li>One way data binding is unidirectional means data is flow from either view to component or component to view.</li><li>It has two types</li></ul><ol><li>Property Binding []</li><li>Event Binding ()</li></ol><ul><li>See the following diagram which will helps you to understand the flow of these two types.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/627/1*kSbDYW0UR7VSLL4iXCkoVw.jpeg" /></figure><h3>1. Property Binding []</h3><ul><li>By using property binding we can bind values to the properties of HTML elements which are written in square brackets.</li></ul><blockquote>Syntax —</blockquote><blockquote>[value] = “property”</blockquote><ul><li>‘[]’ this brackets tells, data is pass from component to UI.</li><li>In property binding target should be the name of property.</li><li>First open the ‘app.component.html’ file and use the code shown in following scenario —</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*dZcpcgfOyW_MpkLCexhQ1A.png" /></figure><ul><li>In the above html code we use the html image property and this property send data from UI to component</li><li>Now open the ‘app.component.ts’ file and use the following code-</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*saRLXlO9UnSpIpdcLM9wYg.png" /></figure><ul><li>After that run the project using ‘ng serve’ command and open localhost to see the output.</li><li>The output will be displayed like-</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*1_Cabdrm0H5vI6CJdd189g.png" /></figure><h3>2. Event Binding () :-</h3><ul><li>Event Binding is opposite of property binding means data is passed from UI to component.</li><li>When user action are happened such as mouse click or mouse movement then that actions are bound to the component property using event binding.</li><li>‘()’this bracket tells that passing data from UI to component.</li><li>To implement event binding first open the ‘app.component.html’ file and use the code given below —</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*Oys4ymM-FFi1f_YxVtT2CQ.jpeg" /></figure><ul><li>In above html file we create a button with (click) event and name of method is ‘OnSave’. And the name of button is ‘save’.</li><li>When user click on that ‘save’ button then it displays the data from component.</li><li>After that open the ‘app.component.ts’ file and use the following code-</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*W5Tv7cwpLvN5529Wgd7BKQ.png" /></figure><ul><li>In above scenario we use the method ‘OnSave’ into that method we just display the message by using ‘console.log’.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*cU4zRsS1EEow-AbKKsSuMg.png" /></figure><ul><li>Now after the click on the ‘save’ button open the console to see the output as shown above scenario. And we see the ‘save’ button is clicked.</li></ul><h3>Two way Binding —</h3><ul><li>In two way binding we can update data from component to the view and view to component also.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*Np_OE7Un1zf_gth2NfC5Ug.jpeg" /></figure><ul><li>It is a combination of property binding as well as event binding.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/339/1*3qsukV5KZZL24H6FUI5eIA.png" /></figure><ul><li>For achieving two-way binding Angular provides a directive called as “ngModel ”.</li></ul><blockquote>Syntax —</blockquote><blockquote>[(ngModel)]= “[property of component] ”</blockquote><ul><li>Directive means it is nothing but a Angular code inside html which changes behavior of html tags.</li><li>To implement two way binding first open the ‘app.component.html’ file</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*w1SmCR-anoz_fL6AdkOJGQ.jpeg" /></figure><ul><li>In this above html file we use the two way binding using ngModel directive.</li><li>After that open the ‘app.component.ts’ file and in component class create a variable and assign value to that variable same like shown in below —</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*T15x_6WX-I8o8jv89uEltg.jpeg" /></figure><ul><li>Remember that ngModel is not a part of angular’s library so if you getting an error while running the project then it means you don’t imported the FormsModule library in your ‘app.module.ts’ file.</li><li>It is defined in forms module so first you need to import the FormsModule library in your ‘app.module.ts’ file.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*fQg594cdCi9aSRuuntLAag.jpeg" /></figure><ul><li>Now run the project and see the output —</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*x6ktoc9NwcQXs7P858dyzg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*_DeHnnMuoVj9BLF1xns6fQ.jpeg" /></figure><blockquote>Summary-</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/1*TJ-9CyZj0pjmv5IJwRt_Pg.jpeg" /></figure><ul><li>In this article we looked into the data binding in angular, also saw one way as well as two way binding and also works using the [()].</li><li>Thanks for reading this article. If you want to see my previous article then click on the following link.</li></ul><p><a href="https://link.medium.com/JRfO4W2Le6">Part 1- Angular for Beginners</a></p><p>To learn Angular step by step must refer the following video</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FFV2MXOygDTM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DFV2MXOygDTM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FFV2MXOygDTM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d79f845ccd2be5a55515fcb9064300c5/href">https://medium.com/media/d79f845ccd2be5a55515fcb9064300c5/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a91f7350de" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Part 1- Angular for Beginners]]></title>
            <link>https://medium.com/@poojashindeengineer/part-1-angular-for-beginners-24ba04f91594?source=rss-624ed6813c1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/24ba04f91594</guid>
            <dc:creator><![CDATA[Pooja Shinde]]></dc:creator>
            <pubDate>Tue, 05 May 2020 09:57:17 GMT</pubDate>
            <atom:updated>2020-05-05T10:19:01.454Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*4MY9mIuKk1Vll50PjLJTDg.png" /></figure><p>Hello coders…!!! In this article we are going to learn basics about angular and also see how to setup our project in angular. This article I have written for those, who is new in angular and aslo want to learn angular step by step.</p><p>So let’s start….</p><blockquote>First see what is Angular?</blockquote><ul><li>Angular is a open source javascript framework which simplifies binding code between javascript object and HTML UI element.</li><li>See the following diagram which will helps you to understand the above definition of angular.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*HepDfxApE110AkN7oy6m0g.jpeg" /></figure><ul><li>Angular is nothing but a binding framework which is best for building client-side web applications.</li><li>This angular framework is designed for building SPA’s(Single Page Applications).</li></ul><blockquote>Single Page Applications (SPA’s)</blockquote><ul><li>Single Page Applications are applications where the main UI gets loaded on demand.</li><li>For example, Consider the Gmail, into that if we open the mail from inbox, it fetch only the required mail and display into the mail list. The other components such as navigation bar or sidebar are not reloaded. Means it loads main UI only once.</li></ul><blockquote>Now let’s see how to setup our project in angular</blockquote><blockquote>Prerequisites</blockquote><ul><li>Install Nodejs</li><li>Install Angular CLI</li><li>Install Typescript</li><li>Understanding basic folder structure of angular CLI project</li></ul><blockquote>Let’s see What is Nodejs and How to install it?</blockquote><ul><li>Nodejs is an open source Javascript framework which does two things -</li></ul><ol><li>It helps to run javascript outside the browser.</li><li>It also act as a central repository from where we can get any javascript framework using NPM(Node Package Manager).</li></ol><ul><li>Package Manager is a software application which will help us to find the software package, get Metadata of that software package, install it in our local system, manage that software in local system and can also Uninstall it.</li><li>To download Nodejs click on the following link and download the latest version of Nodejs and install it.</li></ul><p><a href="https://nodejs.org/en/download/">Node.js - Download Node.js®</a></p><ul><li>After the complete installation of Nodejs we see the Nodejs command prompt in our computer’s program files. By using this command prompt we can fire the NPM commands.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*PatEEEx0-iPi2U6ytE61-A.jpeg" /></figure><blockquote>Initialize our project with Angular CLI</blockquote><ul><li>Angular CLI is a command line Interface which will helps to get everything for angular.</li><li>Once we install Nodejs then we need to install Angular CLI by using the following commands.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*JRYblLo7bLgZKqGsZEir2Q.jpeg" /></figure><ul><li>In above scenario in first command we use ‘-g’ means we install packages GLOBALLY.</li><li>If we install packages globally then we can run it from any command prompt.</li><li>Then second command is ‘ng new my-dream-app’ this command creates a new angular project with name ‘my-dream-app’.</li><li>After creating new project go in that folder by using ‘cd my-dream-app’ command.</li><li>Next command is ‘ng serve’ we can run the project using this command.</li></ul><blockquote>Understanding the basic folder structure of the app</blockquote><blockquote>The angular cli creates a project structure is as follows —</blockquote><p>In this article, From this scenario we are going to see only few folders.</p><p>This folder structure is from VS(visual studio) Code editor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/1*tX-nnRZe1OjOETFnPkCzrQ.jpeg" /></figure><ol><li>e2e :- In this folder all the end to end testing are goes like white box testing.</li><li>Src :- It contains all source code of our app.</li><li>tslint.json :- It is used for linting process. Linting is the process of running a program that will analyze code for potential errors.</li><li>Package.json :- It is a node configuration file. It has the dependencies defined. Devdependencies are the dependencies which are used in IDE, editor but does not shift for production.</li><li>tsconfig.json :- It is used for Typescript.</li><li>main.ts :- It defines which is the startup module of our project.</li><li>polyfills.js :- Polyfills helps you to run new ES version Javascript on old browser which does not support them.</li><li>style.js :- All css code goes in this folder.</li></ol><p>Thanks for reading this article. We will see more about angular in next article.</p><p>To learn Angular step by step refer the following video.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F0kmdjqgO9IY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D0kmdjqgO9IY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F0kmdjqgO9IY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/12b292dba260220b976829fd75df9494/href">https://medium.com/media/12b292dba260220b976829fd75df9494/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24ba04f91594" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Part 4- SQL SELECT statement]]></title>
            <link>https://medium.com/@poojashindeengineer/part-4-sql-select-statement-997581746f30?source=rss-624ed6813c1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/997581746f30</guid>
            <dc:creator><![CDATA[Pooja Shinde]]></dc:creator>
            <pubDate>Sun, 26 Apr 2020 09:32:27 GMT</pubDate>
            <atom:updated>2020-04-26T09:33:53.209Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello friends..!! In this article we are going to learn about SQL SELECT statement .So here I go…</p><ul><li>SQL is stands for Standard Query Language, it is nothing but a communication with database.</li><li>In SQL,queries can be categorized as DML(Data Manipulation Language)and DDL(Data Definition Language).</li><li>So SELECT command is a data Manipulation Language query which is used to display the record or we can say it is used to retrieve a data from a table in database.</li></ul><blockquote>Syntax of SQL SELECT statement:</blockquote><blockquote>SELECT columnName(s) FROM tableName</blockquote><ul><li>‘tableName’ is the name of our created table from which the record is retrieved and ‘columnName(s)’ includes one or more columns from which we want to retrieve a data.</li></ul><h3>SELECT All Records:</h3><ul><li>To select all records from table we can write query as follows-</li></ul><blockquote>SELECT * FROM tableName</blockquote><blockquote>Example 1-</blockquote><ul><li>consider we have created table ‘tbl_student_details’ as shown below-</li></ul><p>Table- tbl_student_details</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/1*m6QV-k4B2WSBnAG8dH6zHg.png" /></figure><ul><li>From this above table If we want to select all records then we write query as follows-</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*EcVc1kR86jNXLoltb5QkyQ.png" /></figure><h3>SELECT with WHERE clause:</h3><ul><li>The WHERE clause is used when we want to retrieve a specific or particular record from a table .</li></ul><blockquote>Example 2-</blockquote><ul><li>when we want to see the first name and last name of student whose ‘Id’ is 100 then we write SELECT query Like-</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*Zo_ape_y7xEXclDpjsrkyg.png" /></figure><ul><li>This query only gives the record of ‘Anjali’ because only her ID is ‘100’.</li></ul><h3>SELECT with numeric and String:</h3><ul><li>There are two criteria when we are going to retrieve data by using SELECT with WHERE clause-</li></ul><ol><li>Numeric Datatypes</li><li>String Datatypes</li></ol><p>1.Numeric Datatypes:</p><ul><li>If we want to retrieve the information by using the integer values such as Id then we write that number after equal to(=)sign.</li></ul><blockquote>Example 3-</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*NZFPjqWZKY7sZ8l67o1_1w.png" /></figure><ul><li>In this above example, we select the student whose id is ‘103’</li></ul><p>2.String Datatypes</p><ul><li>If we want to retrieve the information by using the string value such as ‘name’ then we need to write that value after equal to(=)sign in single(‘’) quotes.</li></ul><blockquote>Example 4-</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/493/1*3iwHB1hnuog2NWdYLuinLQ.png" /></figure><ul><li>In above example, we select the record of student whose first name is ‘Priya’.</li></ul><h3>SELECT with WILDCARD:</h3><ul><li>The SQL WILDCARD is used with LIKE operator for doing the search in a table.</li><li>It can be used to SELECT either suffix or prefix of the word.</li></ul><blockquote>Syntax -</blockquote><blockquote>SELECT columName(s) FROM tableName</blockquote><blockquote>WHERE columnName LIKE ‘%XXX%’.</blockquote><blockquote>Example 5-</blockquote><ul><li>consider the same table student_details from that if we want to display only those students whose first name ends with letter ‘a’ then the query will be like-</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/489/1*JOYqzx11jaFs7cZOZlV73g.png" /></figure><ul><li>And if we want to display only those students whose first name starts with letter ‘Shree’ then query will be like-</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/509/1*2ma1dnSBapw7xoM_OXBScg.png" /></figure><h3>SELECT specific column with ALIAS:</h3><ul><li>Aliases are used to define a new name to columns and tables on the UI view.</li></ul><blockquote>Example 6-</blockquote><ul><li>To select the first_name of all students,we can write the following query-</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/254/1*jYaE2N6eO5_LiVboXK9Gdg.png" /></figure><ul><li>In above example, the column first_name is given a alias as ‘Name’.so when the output is displayed the column name is ‘Name’ instead of ‘first_Name’.</li></ul><h3>SELECT with INNER JOIN:</h3><ul><li>If we use INNER JOIN then it returns only those records which have matching values in both the table.</li></ul><blockquote>syntax</blockquote><blockquote>SELECT columnName(s) FROM table1</blockquote><blockquote>INNER JOIN table2 ON table1.columnName=table2.columnName;</blockquote><blockquote>Example 7-</blockquote><p>consider the following two tables</p><p>Table1: tbl_stud</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/454/1*8UacwdGEJzT9LU1O1S9Miw.png" /></figure><p>Table2: tbl_studCourse</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*zRcM-vtV-_J_20dymJ60Pg.png" /></figure><ul><li>If we want to apply INNER JOIN on these above tables then query will be-</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/1*8yYeVuuk0kKIASZ9s59UKA.png" /></figure><h3>SELECT with LEFT JOIN:</h3><ul><li>when we use LEFT JOIN ,then this join returns the records from LEFT SIDE table and also returns those records which satisfies the condition from RIGHT SIDE table.</li></ul><blockquote>syntax-</blockquote><blockquote>SELECT columnName(s) FROM table1</blockquote><blockquote>LEFT JOIN table2 ON table1.columnName=table2.columnName;</blockquote><blockquote>Example 8-</blockquote><ul><li>consider the above two tables and we execute the LEFT JOIN query on that two tables then the output will be-</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*nFM6TEF52IYDbeN0Na1oAA.png" /></figure><h3>SELECT with RIGHT JOIN:</h3><ul><li>when we use RIGHT JOIN ,then this join returns the records from RIGHT SIDE table and also returns those records which satisfies the condition from LEFT SIDE table.</li></ul><blockquote>syntax-</blockquote><blockquote>SELECT columnName(s) FROM table1</blockquote><blockquote>RIGHT JOIN table2 ON table1.columnName=table2.columnName;</blockquote><blockquote>Example 9-</blockquote><ul><li>consider the above two tables which are used in INNER JOIN and we execute the RIGHT JOIN query on that two tables then the output will be-</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*-Sp0VyUP8xCrVgKmfYz3gg.png" /></figure><ul><li>To understand INNER JOIN,LEFT JOIN and RIGHT JOIN see the following figures-</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/345/1*1lIax8rbDnB8d6ileYE6pw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*k7bImUu7CXZVS6Fipu19Gw.jpeg" /></figure><p>Thanks for reading this articles .For reading my previous articles click on the following links.</p><ul><li><a href="https://link.medium.com/kYWCvcmgO5">Part 1-SQL server for beginners</a></li><li><a href="https://link.medium.com/L3c9gynaT5">Part 2- Database Integrity and Referential integrity In SQL</a></li><li><a href="https://link.medium.com/kBbadfRzW5">Part 3- Database Normalization</a></li></ul><p>To learn SQL step by step must refer the following video.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FuGlfP9o7kmY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DuGlfP9o7kmY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FuGlfP9o7kmY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3fb0439b5e4b6944ec1233689811f89e/href">https://medium.com/media/3fb0439b5e4b6944ec1233689811f89e/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=997581746f30" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Part 3- Database Normalization]]></title>
            <link>https://medium.com/@poojashindeengineer/part-3-database-normalization-141ca35ab748?source=rss-624ed6813c1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/141ca35ab748</guid>
            <dc:creator><![CDATA[Pooja Shinde]]></dc:creator>
            <pubDate>Fri, 24 Apr 2020 10:33:13 GMT</pubDate>
            <atom:updated>2020-04-24T10:45:45.027Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello friends…!!! In this article we are going to learn about database Normalization. So let’s start…</p><ul><li>Normalization is a technique used to reduce the Redundancy and duplication of data from table.</li><li>Normalization is nothing but splitting a table into two tables.</li></ul><blockquote>Before going to deep in normalization first see what is redundant data and duplicate data.</blockquote><ul><li>Redundant means there is a multiple ways of expressing the same things. It is not same but something extra for backup purpose.</li><li>Duplicate means exactly same. In a database having multiple copies of the same data it is like duplicate data.</li></ul><blockquote>Example —</blockquote><ul><li>Suppose In our database, into that we create a ‘customer’ table and there is a column, named as a ‘CountyName’ in that column customers who are from INDIA entering the country name like India, Bharat, IND.</li><li>Means there is same meaning of INDIA but customers writing it in different ways which is nothing but a Redundancy of data. It means that data has synonyms so redundant data takes efforts to fix.</li><li>And if the customer entering the country name like USA USA in different places into the table then this type of data is called as duplicate data. It is easy to fix.</li></ul><h3>Need of database Normalization</h3><ul><li>Consider we have created a ‘Employee’ table as shown below -</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*zu7Yb_227B_5Rr28ypkVgg.jpeg" /></figure><ul><li>In the above table, employee ‘Amit’ belongs from two different departments but his city(kolhapur) is same into this two entries and after few days if Amit wants to change the city name then he should have to change it into 2 places so it could be a problem for doing such type of updatation.</li><li>If we deleting the records where name is ‘Amit’ then two records will be deleted so it leads to the deletion anomaly.</li></ul><blockquote>To overcome these above problems we need to use database Normalization.</blockquote><ul><li>There are five normal forms which are used in database Normalization —</li></ul><ol><li>First Normal Form(1 NF)</li><li>Second Normal Form(2 NF)</li><li>Third Normal Form(3 NF)</li><li>Boyce-Code Normal Form(BCNF)</li><li>Fourth Normal Form(4 NF)</li></ol><p>Let’s see one by one</p><h3>First Normal Form(1 NF) —</h3><ul><li>In 1 NF data should not contains repeating groups.</li><li>Repeating groups means a table should not contains the closely related values.</li><li>In single cell have only single value means it contains only automic values.</li></ul><blockquote>Example 1-</blockquote><ul><li>Consider the ‘Employee’ (not normalized) table-</li></ul><p>Employee Table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*dTZzwm3PqItZdPYiyirDdQ.jpeg" /></figure><ul><li>To convert this table into 1NF, first we have to split this table into two different tables.</li></ul><p>Table 1: Employee table</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*LOF5InYkWISJJwFCzoOT4A.jpeg" /></figure><p>Table 2: Department Table</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*P-cPjqFry_DFlBLVk-twHw.jpeg" /></figure><ul><li>By splitting the table we remove the duplicate values and automic values.</li></ul><h3>Second Normal Form (2 NF) -</h3><ul><li>Data is said to be in a 2NF if the data is in 1NF.</li><li>There is no any partial dependency. Database should have only one primary key and each attribute in table depends on that primary key.</li><li>If primary key is not composite key then non key attributes are fully functionally dependent on primary key.</li></ul><blockquote>Example 2-</blockquote><ul><li>Consider the same table</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*_X9-f8tPCq_NzC0FPX9W3Q.jpeg" /></figure><ul><li>In the above example Employee No is dependent on Employee Name and Department is dependent on Department No means it is composite key.</li><li>We split this table into two different tables.</li></ul><p>Table 1: Employee No table</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*FxlriMrJAeWxXL5R2YPjKA.jpeg" /></figure><p>Table 2:Department table</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*yytPBgFiV67yc_LiG0fmog.jpeg" /></figure><ul><li>We create a table in 2NF and each attribute of table is functionally dependent on primary key.</li></ul><h3>Third Normal Form(3 NF)-</h3><ul><li>A table is called in a 3NF when it is in 2NF and there is no transitive dependency.</li><li>Transitive dependency means when Table X is functionally dependent on table Y and table Y is functionally dependent on table Z then table Z is transitively dependent on Table X via Table Y.</li></ul><blockquote>Example 3-</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*WfFsgpzSxVfUw5b7g8yitg.jpeg" /></figure><ul><li>In above table Employee No shows the salary No and salary slip No shows the Employee name. So there is a transitive dependency so we split this table into following two different tables.</li></ul><p>Table 1:Employee Table</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*7sq0YpoU41Yi2vhtTBPJlA.jpeg" /></figure><p>Table 2: Salary Table</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*lUqcguuGkfztp5VKCnlLXw.jpeg" /></figure><h3>Boyce-Code Normal Form(BCNF)-</h3><ul><li>The table is in BCNF when every determinant in a table is candidate key..</li><li>It is a higher version of 3NF, but BCNF and 3NF are not same.</li></ul><h3>Fourth Normal Form(4 NF)-</h3><ul><li>A table is in 4NF when it is in 3NF and has no multivalued dependencies.</li></ul><p>Thank you for reading this article. For reading my previous articles click on the links given below.</p><ul><li><a href="https://link.medium.com/kYWCvcmgO5">Part 1-SQL server for beginners</a></li><li><a href="https://link.medium.com/L3c9gynaT5">Part 2- Database Integrity and Referential integrity In SQL</a></li></ul><p>For better understanding about database normalization must watch the following video.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FHmnQyP8s5O8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DHmnQyP8s5O8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FHmnQyP8s5O8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/130a923ff464a89152aeb050bcdcfde9/href">https://medium.com/media/130a923ff464a89152aeb050bcdcfde9/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=141ca35ab748" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>