Categories
Hard Skills

Infinite API Call Problem Using React, Redux, and Thunk.

Why does the app send the same API request over and over again? It should do it only once. You use Redux, so as soon as it receives the data, it should be all done?

Categories
Software Development

A day in Software Development

Hi,

As a programmer, this is how my day starts when I start to write a new feature into an existing application.

The difference is, I am not a team, but a single person so I do it all alone.

If you are interested read further 🙂

Categories
Hard Skills

Review of “Learn TDD in 24 hours” on Udemy [2018]

What is Test-Driven Development (TDD)? Test-driven development is all about writing code that you trust, maintainable, and you won’t call it legacy code straight out of the box. It means you write the test first and then you start to write code. In contrast with common beliefs, you save time with this technique because you […]

Categories
Software Development

My First Experience Switching From Windows to Ubuntu for Work [2018]

As a Windows user, I wondered how hard or easy it will be to switch to Ubuntu for daily work. As a week passed here is my conclusion. I hope it will help you to prepare for your transition if you are in a similar situation. The Windows Side In the past 4 years as […]

Categories
Software Development

Layout Design View Render Problem in Android Studio 3.0.1

Gradle problems and Design view is broken in android studio 3.0.1 Currently, I am learning the Google: Associate Android Developer (AAD) path on Pluralsight by Jim Wilson.In the third course: Enhancing the Android Application Experience I had to update the app Gradle file to give support for the appcompat library. A side note: The course […]

Categories
Software Development

A simple way to add copyright notice to your website’s footer that you never have to update again

As I had to add a copyright notice to my WordPress website I wondered how should I automate it in a way that I never have to worry about again. It is a really simple task, but still, since I was going to add it as an html widget I didn’t want to break the […]

Categories
Hard Skills

ASP.NET MVC 5 Custom “Static” Razor Pages

This post is one of the ASP.NET MVC 5 Custom Routes series. The problem You can usually identify this problem when you are creating a lot of custom routes for each one of your empty controller actions. If you follow this antipattern you will end up with an endless RouteConfig.cs , that will point to […]

Categories
Hard Skills

ASP.NET MVC 5 Custom Routes

How do you handle your routing in your web application? Do you use all the time the default routing rule? routes.MapRoute( name: “Default”, url: “{controller}/{action}/{id}”, defaults: new { controller = “Home”, action = “Index”, id = UrlParameter.Optional } ); Or do you write your own rules for custom functionality when you want something different for […]

Categories
Hard Skills

Convert .NET Core library to .NET Standard library

Today I just made a mistake to create a library as a .NETCoreApp1.1 Class Library while I really meant to create a .NetStandard Class Library. It is not a big deal if you realise this before you would start to write a lot of code in it, because you can just delete it and recreate […]

Categories
Hard Skills

XSD to C# Model for XMLSerializer with xsd.exe

Today I just faced a situation where I have got a huge XSD library to use for service integration. Because I suspected it won’t be a small task to write by myself and honestly I never had to do this before I started to look for an automated solution. Being a lazy programmer and having […]