Freeze table columns – DataTables
Fixed table Today I’ll show you how can you freez table columns/rows on website in simple way. The best for it will be another great and powerful tool plug-in for …
Freeze table columns – DataTables Read More
Fixed table Today I’ll show you how can you freez table columns/rows on website in simple way. The best for it will be another great and powerful tool plug-in for …
Freeze table columns – DataTables Read More
“Get out from smog” part II Today I will focus on parsing data from JSON. Service http://powietrze.gios.gov.pl provides information on air quality in this format. So I would use this …
“Get out from smog” – parsing JSON Read More
Dynamic charts When we need to display some charts, we might use simple and fast library – HighCharts.Which I’ll try to explain brefly below. Example In our example we display …
Dynamic charts in MVC Read More
How to parse xml? It’s very simple. Linq offers us an extension specifically for this task – Linq to XML. Let’s assume that we have to parse XML which is …
Parse xml – Linq to Xml Read More
Get noticed I decided to join to the contest “Daj się poznać” (Get Noticed) and I am very happy with it. The truth by saying I don’t have very much …
“Get out from smog” – DSP Read More
Command pattern Another design pattern it is very popular.I’s used inter alia in approach CQRS (for more information about CQRS). What is command pattern and when to use it: Sometimes, …
Command pattern Read More
Observer pattern Today, I will try to present a observer pattern.It is part of behavioral patterns and is relatively simple so I think it’s worth it to present. Subject – the object of …
Observer pattern Read More
State pattern Design pattern, which aims to facilitate the extension of the building of the new states. With the change of state is changing the behavior of object. States are …
State pattern Read More
Composite is a structural design patterns. Via wikipedia: The composite pattern describes that a group of objects is to be treated in the same way as a single instance of …
Composite pattern Read More
Simple Data Simple.Data is dynamic ORM. But What mean ORM : O – object, R – Relational, M – Mapping. But if simple data is dynamic we haven’t objects, relationals, mapping. So …
Simple Data – Example with compare Read More
Today, I’ll show a program based on a TDD approach which I explained in a previous article. At the beginning it will have two classes representing two currencies “złoty” and “euro”. I’ll test …
Refactoring with TDD – “Currency example” Read More
TDD Test-Driven Development is not just for testing. TDD is a technique for programming. TDD philosophy is based on the writing of code in the first place before production code. …
TDD – Become a “better” programmer Read More
Today’s post will be different because it will be in English language. I’ll write a simple application MVC with data import from excel and displey them on the page(View) with …
Loading data from excel and display them with Paged List MVC Read More
Wstrzykiwanie zależności i biblioteka Windsor Castle. Dzięki zastosowaniu tych dwóch rzeczy możemy naszą aplikacje przekształcić w kod prosty i zrozumiały poprzez zależności. Dodatkowo przy zastosowaniu kontenerów (Windsor Castle) dostajemy gotowy …
Wstrzykiwanie zależności i kontener Windsor Castle Read More
ASP.NET MVC Core Microsoft zrobił ogromny krok naprzód tworząc ASP.NET MVC Core. Aplikacje napisane w MVC można hostować i pisać nie tylko na systemie Windows ale i na Linuxie i …
Co nowego w ASP.NET MVC Core Read More
Automapper – dlaczego i kiedy stosować tę bibliotekę? Automapper jest bardzo interesującą biblioteką. Może ona służyć do “przepisywania” danych (object-object). Warto skorzystać z niej jeżeli potrzebujemy przenieść dane np. z …
Automapper – przepisywanie danych Read More
Transakcje Transakcja jest zakresem w którym znajdują się polecenia związane z operacjami na bazie danych. Jeżeli operacje są wykonane prawidłowo to zostaną zapisane – w przeciwnym wypadku polecenia zostają cofnięte. …
Transakcje – bezpieczny zapis do bazy danych Read MoreEntity Framework posiada trzy podejścia tworzenia i dołączanie bazy danych Code First, Model First i Database First. W tym wpisie poświęcę czas opisowi i implementacji pierwszemu z nich. W Code …
Implementacja podejścia Code First Read More
Entity Framework jest jedną z platform ORM, która pozwala na współpracę pomiędzy bazą danych a obiektowym językiem programowania. Dane które są pobierane za pośrednictwem EF są podzielone na dwa tryby: …
Lazy loading vs eager loading – Entity Framework Read More