Today we will talk about memory management, conscious and unconscious type conversion, and junior’s most common mistakes shallow copy in C#.
“One of the keys to happiness is a bad memory.”
― Rita Mae Brown
We can keep variables and objects in two types of memory in C#. We call them Heap (Reference Type) and Stack (Value Type) memory. If you use primitive types or, most importantly, if you know the length of variables, you can use Stack memory, but if you don’t know the exact length of the variables, you must use Heap memory.
Stack Memory requires a reservation…
Today we will talk about how to use design patterns in Go. Is it really necessary? Is Go suitable for design patterns? Let’s implement some Design Patterns.
“A design that doesn’t take change into account risks major redesign in the future.”
― Erich Gamma, Design Patterns: Elements of Reusable Object-Oriented Software
Strategy Design Pattern:
The Strategy pattern basically allows an object to select and execute at runtime without knowing how to implement the business logic it wants, instead of using different types of algorithms that can be used to perform each operation.
I use this pattern in Go very often…
Today we will talk about how to write a simple turn-based game engine with Go. While writing our character’s abilities and fights with each other, we will use Interfaces, channels, and concurrency with Golang.
“Reality is broken. Game designers can fix it.”
― Jane McGonigal
If you don’t have any idea about the turn-based game, it is about the different types of characters with different strengths, and different abilities fight and kill each other one by one. The winner is the survived last person.
This article will perform some operations on the data of products sold on an online shopping site and save them to the DB.
“Getting information off the internet is like taking a drink from a firehose.” — Mitch Kapor
We will get new product data with different currency prices by using .Net Core web API. But we will convert all product prices to ₺ currency and save on to the SqlDB. So we will parse a webpage and get Dolar, Euro, and British Pound currency value from the HTML and convert it to the ₺ Turkish Liras with Go lang…
Today we will talk about real-life requests, problems, errors. And we will find a solution all of them by one by, by using .Net Core Entity Framework. “Current .Net Core version 3.1.401”.
“We can not solve our problems with the same level of thinking that created them.”
— Albert Einstein
Firstly we must solve this problem globally and manage it from one place.
We will create CryptoData Attribute for signing the secret fields.
CryptoData.cs: This attribute is used for flagged to secret properties of the class.
using System.Text;namespace Dashboard.DB.PartialEntites
Today we will make a simple online multiplayer word game with Blazor. We will use SignalR for realtime communication between two players. All the words will keep in MongoDB. And we will support multi-platforms with .Net Core. “Current .Net Core version 3.1.301”
We do not stop playing because we grow old. We grow old because we stop playing.
— Benjamin Franklin
dotnet new blazorserver -o blazorWords
Today we will talk about how to manage distributed transactions between separated microservices. Commit and Rollback are the main two operations of the transaction. We will use .Net Core 3.1 and RabbitMQ for this application.
This article is the continues of my previous Multi Language Support With Angular article. In the first article, we wrote the front-end application. Multi Language Course Admin form. And now we will write backend with the new programming language Deno. And we will get the Html Element’s text by selected language from the Redis with Deno.
Today we will talk about how to implement multi-language support on existing applications with taking data from the database. If you don’t think multi-language support before starting the project, you don’t care too much working with parametric components. In Angular, everything is a component. So, after deciding to support multi-language, you have to change all your components as a parametric(child component). Sometimes, you have to convert some Html-Elements to parametric components(child components) too.
We will do different something in this application. Generally, Multi-Language support is doing on the Page. But in this application, we will do multi-language support on the…
Today we will talk about real-time information used in all areas of social life. Speed is the most important thing in the new technology century. In this article, we will try to informed customers who buy the stock papers when the price changed. It should be as fast and accurate as possible.
You can listen to the radio to get information about the exchange news once in a day like above the yellow taxi radio. But if you want to learn something in a real-time, you have to do more then this. You have to use technology. We will use…
I have been coding since 1993. I am computer and civil engineer. Microsoft MVP. Senior Software Architect. Ride motorcycle. Gamer. Have two daughters.