Skip to content
31 March 2023

Paweł Filipek

  • Backend
    • C#
    • Entity Framework
    • Security
  • Frontend
    • Angular
    • JQuery
  • Databases
    • SQL
  • Design pattern
    • Domain-Driven Design
    • CQRS
    • TDD
    • Software Design Patterns
  • DevOps
    • RabbitMQ
    • Docker
    • Elasticsearch
  • Tools
  • Get noticed 2017
  • About me
Main Menu

Tag: c#

register dependency
Backend / C# / Tools

Register dependencies via reflection + Autofac module

28 July 201828 July 2018 - by Paweł Filipek - Leave a Comment

Imagine that you have ten or hundred class in your repository. And now you need to register each of them.

Read More
Backend / Entity Framework

EF Core – Code First with existing database ASP.NET Core

30 March 2018 - by Paweł Filipek - Leave a Comment

In ASP.NET Core using a Entity Framework Core we only have the option to connect with a database by aproach code first. Edmx and Dbml will not be supported anymore. …

Read More
Backend / C#

Simple way to generate xml with LINQ in C#

28 January 201829 January 2018 - by Paweł Filipek - 1 Comment

Generate XML with LINQ. I show you how you can create xml file in a readable and simple way by using LINQ. At first I using the object XElement to …

Read More
Design pattern / Software Design Patterns

Composite pattern

12 November 201631 March 2019 - by Paweł Filipek - 2 Comments.

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 …

Read More
Backend / C# / Tools

Simple Data – Example with compare

30 October 201617 September 2017 - by Paweł Filipek - 3 Comments.

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 …

Read More
Backend / C# / Design pattern / TDD

Refactoring with TDD – “Currency example”

16 October 201631 March 2019 - by Paweł Filipek - 1 Comment

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 …

Read More
Backend / C# / Design pattern / TDD

TDD – Become a “better” programmer

1 October 201631 March 2019 - by Paweł Filipek - 1 Comment

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. …

Read More
Backend / C# / Tools

Loading data from excel and display them with Paged List MVC

18 September 201617 September 2017 - by Paweł Filipek - Leave a Comment

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 …

Read More
Backend / C# / Tools

Wstrzykiwanie zależności i kontener Windsor Castle

28 August 201617 September 2017 - by Paweł Filipek - 1 Comment

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 …

Read More
Backend / C# / Tools

Automapper – przepisywanie danych

12 August 201617 September 2017 - by Paweł Filipek - 3 Comments.

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 …

Read More
Backend / Security

Transakcje – bezpieczny zapis do bazy danych

5 August 201617 September 2017 - by Paweł Filipek - Leave a Comment

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. …

Read More
Backend / Entity Framework

Lazy loading vs eager loading – Entity Framework

28 July 201617 September 2017 - by Paweł Filipek - 2 Comments.

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: …

Read More
Copyright © 2023 Paweł Filipek.
Powered by WordPress and HitMag.