Examining garbage collection in more details today. We'll see what is marking phase, actual collection process and heaps compaction to make it more efficient. Come and read! :)
Strona głównaUżytkownik
dsibinski | użytkownik
Sztuka programowania 2282 dni, 5 godzin, 6 minut temu 66 źrodło rozwiń
New post in .NET Internals series - this time about Garbage Collection and memory allocation in .NET. Let's start GC topics! :)
Sztuka programowania 2289 dni, 2 godziny, 19 minut temu 78 źrodło rozwiń
Let's continue the .NET Internals series and see Boxing and Unboxing today :)
Sztuka programowania 2296 dni, 23 godziny, 51 minut temu 55 źrodło rozwiń
2nd post form my ".NET Internals" series. Today you'll see how stack and heap data structures are organized and used. You'll also get to know where value and reference types are stored in memory. Come and enjoy! :)
Sztuka programowania 2303 dni, 5 godzin temu 93 źrodło rozwiń
First, introductory post to my new ".NET Internals" series. Next posts will be published each Wednesday from today, so I invite you all to follow the series :) First post is the introduction to basic concepts of memory structure.
Sztuka programowania 2310 dni, 4 godziny, 58 minut temu 116 źrodło rozwiń
Written by Dawid Sibińskion I’ve recently met a weird issue with T-SQL scripts at work and would like to share it with you today 🙂 On daily basis I work a lot with MS SQL Server databases. We often create many T-SQL objects (tables, views, procedures, functions) and because of some reasons we cannot use Entity Framework or another from widely available ORMs. Nonetheless, all objects created in the database must be kept in the form of SQL scripts (files) containing set of CREATE, ALTER, INSERT,...
Bazy danych i XML 2553 dni, 3 godziny, 55 minut temu 69 źrodło rozwiń
I had a pleasure to attend .NET Developer Days 2017 conference in Warsaw. The first day we took part in a full-day workshop on containers with Docker and the next two days we attended the conference itself. In this post I’d like to share my thoughts and insights on the conference, its organizational aspects as well as my subjective opinions on the sessions I attended.Let me start by describing the workshops and all sessions I was present at. You can find the l...
Written by Dawid Sibińskion 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 comp...
Architektura 2603 dni, 6 godzin, 20 minut temu 40 źrodło rozwiń
Written by Dawid Sibińskion 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… The method of initializing the database I mentioned was used with Entity Framework Core in ASP.NET Core project, where Code First database creation approach was used. As you know, this approach implies that we create models (classes) representing our database entities i...
Written by Dawid Sibińskion It has just started… but yes, today is the last day of DajSiePoznac2017 and it’s officially my last blog post for the competition. It feels weird somehow… 😉 Time to sum it up! General feelings Today I can definitely say I feel proud of myself 🙂 Even though I could have made some of my posts published during the competition better. Even though I could have made my MoneyBack app developed during the project faaaaar more advanced. I already wrote in the beginning of ...
Daj się poznać 2017 2725 dni, 7 godzin, 26 minut temu 13 źrodło rozwiń
Written by Dawid Sibińskion 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. Using ADB to debug Android apps By default, adb is configured to “map” Android devices connected via USB ports to the computer as debug devices, which are then available e.g. in Visual Studio as the device on which our app can be deployed and debugged. In may cases we debug apps on Android emulat...
Daj się poznać 2017 2731 dni, 2 godziny, 18 minut temu 24 źrodło rozwiń
Written by Dawid Sibińskion Today we’re going to see how to manage (keep and restore) state of Activities in Xamarin.Android application in order to keep the app consistent and reactive for configuration/state changes. Why to keep and restore Activity’s state? As I already described in my post about Android Activities, the OS may react to some “constant” state changes by calling lifecycle methods during Activity’s life, which may be overridden by the programmer in order to take some additional a...
Daj się poznać 2017 2731 dni, 2 godziny, 18 minut temu 6 źrodło rozwiń
Written by Dawid Sibińskion In this post, we’re going to see how to provide a nice Android UI control for selecting the date using DatePickerDialog. The dialog looks as follows: DatePickerDialog It may be opened e.g. when clicking on a button in the app, as I used it in MoneyBack. Creating DatePickerFragment First of all, we will implement the dialog to be displayed within DialogFragment. Doing that our dialog will be able to be displayed as independent piece of UI on the top of any Activit...
Daj się poznać 2017 2732 dni, 20 minut temu 8 źrodło rozwiń
Written by Dawid Sibińskion In the 3rd post from SQLite-Net Extensions series we are covering the last type of relationship – one-to-many (and the opposite – many-to-one). One-to-many, many-to-oneOne-to-many relationships are used in general for parent-children or whole-elements relations. Classic examples are: bus and passengers, document and elements etc. One-to-many relationship means that the one-end entity knows about its children and many-end entity has a reference (foreign key) to its pa...
Daj się poznać 2017 2737 dni, 8 godzin, 43 minuty temu 109 źrodło rozwiń
Written by Dawid Sibińskion In this second short post from SQLite-Net Extensions series, we’re going to see how to create one-to-one relationships using this tiny ORM. One-To-One This is the simplest type of database relationship. An example could be vehicle and registration certificate – each vehicle has one and only one registration certificate, and one registration certificate is associated with one and only one vehicle (excluding some extraordinary law rules in other countries that I don’t k...
Daj się poznać 2017 2740 dni, 20 godzin, 41 minut temu 21 źrodło rozwiń
Written by Dawid Sibińskion In today’s post we’re going to see what is SQLite-Net Extensions ORM and how to use it to create many-to-many relationship in SQLite database. The other types of relationships will be described in separate posts. What is SQLite-Net Extensions ? As you develop any mobile app, sooner than later you need to keep your app’s data in some persistent storage. In my MoneyBack project I’ve chosenSQLite database using SQLite.NET library for performing operations on it. This is ...
Daj się poznać 2017 2740 dni, 20 godzin, 41 minut temu 51 źrodło rozwiń
Written by Dawid Sibińskion In today’s post I’d like to present what’s the current status of works on MoneyBack application, 3 weeks before the end of DSP competition. In general, the project hasn’t been going as well as I expected and is currently not as advanced as I’d expect it to be at this stage. There are many reasons behind that, including lack of time recently and many issues met during development, however, as I already wrote in my DSP introducing post, the most important is to survive...
Daj się poznać 2017 2752 dni, 5 godzin, 27 minut temu 10 źrodło rozwiń
After a short break in publishing DSP posts, we take a look on localization of Android applications. How to make your app's US translated into different languages? How to use different resources for different languages ? Come and see!
Daj się poznać 2017 środa, 19 kwietnia 2017 20:51:00 GMT 9 spam? źrodło rozwiń
Today we'll see what are the main Layout Types in Android app. It's important to know how to manage Layouts in order to create responsive UI for all kinds of devices.
Daj się poznać 2017 2788 dni, 3 godziny, 49 minut temu 22 źrodło rozwiń
Post describes usage of Intents in Android application. It covers how to navigate between Activities using Intent, as well as how to trigger external actions using Intents, e.g. phone dialer to call a phone number or email application to send an email. Come and see it!
Daj się poznać 2017 2788 dni, 3 godziny, 49 minut temu 24 źrodło rozwiń