Coding Blog

Passing multiple parameters in an Angular Route using RouteLink
In Angular, let’s say you have a route define like this. { path : 'user/:userId/building/:buildingid, component: UserScheduleDetailsComponent, pathMatch : 'full'}and you want to navigate the user to this component by using this route. I couldn’t easily find a way to pass these parameters by using routelink. So this is how you do it.I am a linkThe userid is public property in the .ts file of the co.....
Unit Testing ASP.NET Core Web API using XUnit and FakeItEasy
Let’s take a one ASP.NET Core Web API method and add unit tests using XUnit and FakeItEasy. My environment: Visual Studio 2019 Enterprise, ASP.NET Core 2.2, FakeItEasy, AutoFixture and XUnit.Source code I have a Before and After version of the source code hosted on github. In the After folder, you can view the completed solution.System Under Test There is a ProductsController with one HTTP GET me.....
PowerApps and Flow Deployment Issues
In this article, we take a look at Flow deployment issues when it comes deploying multiple PowerApps applications. The issues are encountered when you have the following setup. You have multiple applications within the same environment. For instance in the same environment, you have a PowerApp called AppDEV, AppQA, AppUAT and AppPRODYou have applications connected to their respective SQL Servers. .....
A22-Use Azure DevOps to build a docker image and push to private repository
In this post, I want to explain the steps I took to create a docker image and push to a private docker hub repository using Azure DevOps. In the previous post, we looked at adding docker support to an existing ASP.NET Core SPA application that uses Angular 7.It took me 17th attempts to get the build to work. In hindsight, it is always easy to say, that I could have read the logs or documentation b.....
A21-Adding docker support to ASP.NET Core SPA Application
This post is about my experience adding docker support to the A100 website. You can find the github repo here.Disclaimer: I am a beginner to docker and Linux, and I don’t know what I am doing while trying to configure docker but I just wanted to share what steps I took and where my frustrations were with respect to dockerizing existing ASP.NET Core SPA applications.I thought to take a spin at dock.....
PowerApps From A DevOps Perspective
In this post, I would like to talk about PowerApps from a DevOps perspective. When we think about DevOps we think about Source Control, Continuous Integration, Automation, Configuration Management etc. Let’s take a look into it.No Source Control for PowerApps When you are developing with PowerApps, there is no way to do Source Control. There are no source files. The only artifact you can version c.....
5 Takeaways for Building PowerApps Application
In this post, I would like to share some of the pitfalls we encountered while developing an enterprise grade PowerApps Application. First some background about the application. The key components of the application comprised of an on-premises SQL Server, Enterprise Data Gateway, Microsoft Flow and Windows Service. The SQL Server database consisted of enterprise ERP data and hence entities in this .....
A20-Upgrading to Angular 7 and ASP.NET Core
This post is a part of a series of posts that I am writing as I am building an app using Angular and ASP.NET Core 2.1. Links to previous posts –> A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19,  Github RepoDue to personal issues (new job, new country, India trip), I wasn’t able to blog. Since I posted last time, Angular came out with Angular 7 and a new SDK fo.....
A19–Building App using Angular and ASP.NET Core 2.1–Review Order Details
This post is a part of a series of posts that I am writing as I am building an app using Angular and ASP.NET Core 2.1. Links to previous posts –> A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18 Github RepoOn training front, I finished Angular Reactive Forms course by Deborah Kurata on Pluralsight and I am watching Angular Services course by Brice Wilson.Today, I was.....
A18–Building App using Angular and ASP.NET Core 2.1–Reactive Forms, Submitting data
This post is a part of a series of posts that I am writing as I am building an app using Angular and ASP.NET Core 2.1. Links to previous posts –> A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17 Github RepoSo I was able to accomplish following1. Created classes to collect data from Form into Model for Shipping and Payment Pages.2. Create CheckoutService to call Checkout c.....

Journey Blog

I feel today
I feel sad staying away from my familyI feel sad when I read newsI feel sad when I think politicsI feel sad when someone passes awayI feel happy when I am productiveI feel happy when I read technologyI feel happy when I am on stageI feel happy when I think innovationI feel alien in a foreign landI feel alien now in my own landI feel alien with changing feelingsI feel alien in a crowdI am wild on b.....
Finishing That Run Was Tough, Emotional, Challenging and Motivating
In the last post, I wrote about preparing for Glass City Half Marathon and in this post I would like to update on how it went for me.  Quick answer: It was awesome.  When I was training for it I wasn't sure whether I will be able to do it or not, so I didn't registered for Half Marathon.  I wanted to see whether I could meet my training goals or not and then register.  Well I waited too long to re.....
Preparing for Toledo Glass City Half Marathon
New Year resolutions are tough but absolutely worth it.  Although this has been on many resolutions but now I have started taking care of my health since second week of January of 2012. It was not like I was not taking care of my health before but now I have a goal to reach. Earlier my goals didn’t materialize; this time I have something which I am shooting towards. Early in January I made a goal .....
Know Your Food And Do the Right Thing
Eating healthy is expensive, stupid, foolish, and makes no sense to a person barely making enough money to meet the ends.  Yes, eating healthy and maintaining healthy habits has a cost associated with it.  It only depends on when you want to pay for the cost and in what form.  Food that is cheap and easily available is the most tempting one.  It has hidden cost associated with it in the long run. .....
Key Networking Feature: Sharing
Networking is about creating best friends forever who will advocate for you.  Let’s revisit some aspects of your friendship and see why that works great for both.   Let’s assume you have a fictitious best friend named Chris.  Now you receive a gold medal in 400 meters running race and call Chris immediately “to share your happiest moment”.  You just shared a part of your life and made Chris a part.....
Success Factor: Showing Up
In most successful people's case it was just a matter of showing up on time.  Just show up.  Some of the famous bloggers and blogs are successful because they always showed up.  They kept shipping.  Even when they sucked at it.  I have blogged before on shipping read this "Born to ship".  If you suck at whatever you do and if you keep doing it then eventually you will realize how much you suck at .....
A Make Sure List For Every Meeting To Stay On Track
Some projects last for a long period of time and lots of meetings are conducted to get the project done.  During those meetings lots of things are discussed.  Lots of decisions are being made and responsibilities being assigned.  At the same time not everything that was important gets accomplished.  It is because other priorities took over and that one thing which was important never got done.  An.....