Category: Programming (page 2 of 4)

[.NET Internals 06] Generational garbage collection

Continuing .NET Internals series on the blog, today we’re going to see what is generational garbage collection. You’ll also get to know what is a card table data structure and for what it’s used πŸ™‚
Continue reading

[.NET Internals 05] Garbage collection: marking, collection and heaps compaction

Today, in the next article from .NET Internals series on my blog, we’re going to investigate how the garbage collector (GC) actually releases the memory (which is its main purpose as could be read here), what is marking phase and how the managed heaps are compacted in order to optimize the process. We’ll also see when may the collection be triggered.
Continue reading

[.NET Internals 04] What is Garbage Collection? Memory allocation in .NET

In the next, 4th post from .NET Internals series, we’re going to meet a new friend calledΒ Garbage Collector, discuss this guy’s main responsibilities and see what is memory allocation in .NET applications and how it works.

Ready? Let’s start then! πŸ˜‰
Continue reading

[.NET Internals 03] Boxing and unboxing

As we are already familiar with the basics of memory and data structures used by .NET applications,Β in this third post from .NET Internals series we’re going to dig into boxing and unboxing and their performance implications. Continue reading

[.NET Internals 02] Stack and heap – .NET data structures

In the second post of .NET Internals series, we’re going to investigate the organization of .NET process’s memory. We’ll see what is stack and heap and what kind of data is stored on each of these memory structures. Continue reading

[.NET Internals 01] Basics of memory structure

Have you ever wondered about what’s under the hood of the applications you develop?

Ever been surprised that there’s no need to worry about memory allocation and deallocation using high-level programming languages such as Java or C# after leaving the university*Β ?

Still remember (old) C++ times with delete statement?

Source: “Arnaud Porterie – The Truth About C++”

By this post, I’d like to introduce a new “.NET Internals” series on the blog. I will be publishing a new post on .NET internal concepts every Wednesday. No end date for the moment πŸ™‚ Continue reading

T-SQL/SSMS: transaction rollback in scripts with XACT_ABORT ON, GO statements and syntax errors

I’ve recently met a weird issue with T-SQL scripts at work and would like to share it with you today πŸ™‚
Continue reading

Xamarin.Android – ASP.NET web api synchronization – research

As you may know, in my MoneyBackΒ Xamarin.Android application I’ve used SQLite as the local db management system. Recently I’ve added an ASP.NET Core web solution to my GitHub repositoryΒ in order to create back-end API for my mobile app. I wanted to have database hosted on a remote server and Android application to synchronize its data with it.
Then I started wondering… and decided to make a deeper research first. As I wrote in my post summing up DajSiePoznac2017 competition, “before using a particular solution for an issue” we should “better examine the other possibilities” first. So I do πŸ™‚
Continue reading

Entity Framework Core – database initialization with Unit Test

I’ve recently been presented a concept of initializing the database (creating or re-creating it) with Unit Test method. Initially I thought it’s a non-sense, but after a while of taking a deeper look…
Continue reading

Xamarin.Android – debugging via WiFi

In this short post, I’m going to show you a very handy feature ofΒ Android Debug Bridge (adb) – possibility to debug Xamarin.Android apps in Visual Studio via WiFi connection.
Continue reading

Older posts Newer posts

© 2019 CodeJourney.net

Theme by Anders NorenUp ↑