Strona głównaUżytkownik

dpawlukiewicz | użytkownik

dpawlukiewicz
dpawlukiewicz
4 026,73
1588 dni, 14 godzin, 52 minuty temu
5 kwietnia, 2016
dotnetomaniak.pl

A few days ago I faced an interesting problem. In a nutshell, I had one interface implemented by three classes...

Źródło: foreverframe.net
Dziel się z innymi:
ASP.NET Core - Resolving proper implementation in runtime using Autofac - Forever F[r]ame

Web 2367 dni, 21 godzin, 33 minuty temu dpawlukiewicz 140 źrodło rozwiń

Lots of developers do pet projects besides their job. Things are pretty straightforward when you work alone. You code some functionality, then commit the changes and push it to the repository like GitHub, Bitbucket or Gitlab. Simple is that. But at some point, your code might turn into a full product. Folks start using it, new contributors come and your repository becomes their workspace as well. As you probably guess, if you want to keep the control over t...

Źródło: foreverframe.net
Dziel się z innymi:
Preparing GitHub repository for open source - Forever F[r]ame

Narzędzia 2385 dni, 22 godziny, 57 minut temu dpawlukiewicz 109 źrodło rozwiń

A few days ago, I watched an excellent talk by Erik Meijer called „The hacker way„. In a nutshell, he presented an opposite approach to Agile called Hacker Way which is successfully used by Facebook. The idea is very simple – continuous improvement and iteration. Instead of hours of planning and discussing whether something is possible to implement, just try to prototype this because it will probably take less time than plenty different meetings. And what if you’ll fa...

Źródło: foreverframe.net
Dziel się z innymi:
Done is better than perfect - Forever F[r]ame

Inne 2402 dni, 22 godziny, 43 minuty temu dpawlukiewicz 127 źrodło rozwiń

Last night I started working on my new tech presentation which is going to consist mostly on live demos. Because of limited time (which is usually about 50 minutes) and few topics to discuss, I decided to use code snippets in my Visual Studio Code. Thanks to that, I’ll focus more on the „talk flow” rather than my typing which is not so good when I’m stressed.  Creating snippets in VSC Let’s start with creating an example C# snippet just to present the way it works....

Źródło: foreverframe.net
Dziel się z innymi:
Working with snippets in Visual Studio Code - Forever F[r]ame

Narzędzia 2422 dni, 53 minuty temu dpawlukiewicz 66 źrodło rozwiń

Debugging ASP.NET Core apps in Visual Studio Code is not as simple as in „Windows version” but it’s still pretty easy to setup. So if you have ever had some troubles with that, here’s an explanation of the entire process.  Adding configuration Before configuring VSC, you need to install C# extension if you don’t have it yet. I’d say, it’s a must-have for every .NET developer working with Code since it offers lots of features like IntelliSense, useful sni...

Źródło: foreverframe.net
Dziel się z innymi:
Debugging ASP.NET Core apps in Visual Studio Code - Forever F[r]ame

Narzędzia 2425 dni, 22 godziny, 22 minuty temu dpawlukiewicz 58 źrodło rozwiń

Microservices are still pretty popular in our industry since they imply lots of benefits. However working with that kind of architecture might be annoying when it comes to commit the changes using GIT. Why? Simply because in a common approach, each microservice should be put in a separate repository. Therefore, instead of doing your typical „GIT sequence” once, you end up with few terminals where you do pretty much the same job. Fortunately, you can avoid that with no big deal. ...

Źródło: foreverframe.net
Dziel się z innymi:
Working with microservices and GIT - Forever F[r]ame

Narzędzia 2434 dni, 20 godzin, 32 minuty temu dpawlukiewicz 134 źrodło rozwiń

There are many different approaches to deal with failures in web apps. One of the most common is returning a result... The idea is simple. If the method fails because of validation or something else, the result tells it. The only thing we need is ifstatement an...

Źródło: foreverframe.net
Dziel się z innymi:
Dealing with failures using custom exceptions and ASP.NET Core middleware - Forever F[r]ame

Web 2445 dni, 14 godzin, 50 minut temu dpawlukiewicz 59 źrodło rozwiń

In my last article, I presented how to run Aurelia unit tests inside Bitbucket pipeline. What’s quite funny (or may be scary for some of you) is that few hours after publishing, Facebook presented to me an add with „great CI tool” called Buddy. Without much thought, I navigated to the project’s site and I felt in love immediately. Why? There’s one reason – it’s dead simple...

Źródło: foreverframe.net
Dziel się z innymi:
Building ASP.NET Core app with Buddy and Docker - Forever F[r]ame

Narzędzia 2465 dni, 18 godzin, 18 minut temu dpawlukiewicz 86 źrodło rozwiń

Inspired by Piotr’s article I decided to play a little with the Bitbucket as an alternative to the GitHub. The thing that I really like about it, is that there’s no need to use any 3rd part CI tool such as TravisCI since Bitbucket offers its own build pipeline. Of course, I wanted to test it as soon as possible, so I created very simple Aurelia application using its CLI and I pushed my changes. My basic pipeline file (with the *.yml extension) presented as follows:   ...

Źródło: foreverframe.net
Dziel się z innymi:
Running Aurelia tests inside Bitbucket pipelines - Forever F[r]ame

Web 2474 dni, 58 minut temu dpawlukiewicz 29 źrodło rozwiń

It’s pretty funny to me when you think that you know some programming language quite well and suddenly you find out some feature, you’ve never heard before. I mean at all. That’s exactly what happened to me yesterday. Let’s see what’s that. Generics are very useful in programming since we can avoid writing similar code multiple times. But when we start to complicate them too much, it quickly reduces the legibility of the code. Of course, I don’t claim that whe...

Tagi: alias, C#, generics
Źródło: foreverframe.net
Dziel się z innymi:
CodeTip #7 - Aliased generics in C# - Forever F[r]ame

Prezentacja frameworka, który wspomoże nas w tworzeniu przejrzystej i funkcjonalnej dokumentacji dla API.

Źródło: foreverframe.net
Dziel się z innymi:
Documenting ASP.NET Core API with Swagger - Forever F[r]ame

Narzędzia 2499 dni, 8 godzin, 52 minuty temu dpawlukiewicz 111 źrodło rozwiń

The end of the May comes and hence the end of „Get Noticed 2017” competition. Therefore, I’m going to do a short summary which will describe things that I’m happy about together with those that I’m not. Obviously, this post also will be the last one in the GN2017 category which contains 16 articles. Wait, what?

Źródło: foreverframe.net
Dziel się z innymi:
Get Noticed 2017 is over! - Forever F[r]ame

Daj się poznać 2017 2510 dni, 14 godzin, 54 minuty temu dpawlukiewicz 15 źrodło rozwiń

What is a random number? Well, even if you have never read any definition, you can still answer that question pretty easy. It’s the unpredictable result of some action like throwing a dice. We just can’t predict what the next number will be. The Lucky shoot is all we’ve got. In a real world, randomness is kind of natural „thing”, but it starts to be more complicated when it comes to machines. Why? Simply because of their deterministic character...

Tagi: random
Źródło: foreverframe.net
Dziel się z innymi:
Using Random on the porduction may put you in a trouble! - Forever F[r]ame

Daj się poznać 2017 2523 dni, 9 godzin, 46 minut temu dpawlukiewicz 141 źrodło rozwiń

Today’s post is going to be super easy, especially if you’re familiar with SQL, so without much explanation let’s discuss a little bit about two clauses that you might spot later in my Neo4j & Cypher series – Union and With.  UNION clause The Union clause can be used to merge the results of two queries. There are just two restrictions:the number of columns in both queries must be the samecolumn names in both queries must be the same Let’s demonstra...

Źródło: foreverframe.net
Dziel się z innymi:
Neo4j & Cypher #3 UNION & WITH clasuse - Forever F[r]ame

Daj się poznać 2017 2527 dni, 8 godzin, 55 minut temu dpawlukiewicz 16 źrodło rozwiń

In the previous post, we explored Neo4j dataset containing actors and movies. We also got familiar with basics of Cypher – declarative query language created for graph databases. In today’s post, we’ll find out how to create a more complex query which will consist of many relationships and nodes.  What are we going to retrieve? Let’s start with defining our task. Imagine that someone asked us to build a query which will answer the below question: I...

Tagi: cypher, neo4j, query
Źródło: foreverframe.net
Dziel się z innymi:
Neo4j & Cypher #2 Creating complex query - Forever F[r]ame

Daj się poznać 2017 2528 dni, 22 godziny, 37 minut temu dpawlukiewicz 23 źrodło rozwiń

In one of my previous post, we got familiar with the graph databases concept as the opposing approach to the aggregate-oriented, NoSQL databases. As I promised back then, there’s going to be a series of post dedicated to the query language designed for querying that kind of data structure called Cypher. Today’s one starts it and it going to present the way to install Neo4j and later is going to discuss creating simple queries.  Installing Neo4j To start our j...

Źródło: foreverframe.net
Dziel się z innymi:
Neo4j & Cypher #1 Installation and basic query - Forever F[r]ame

Daj się poznać 2017 2536 dni, 21 godzin, 17 minut temu dpawlukiewicz 37 źrodło rozwiń

Imagine the following situation: your job was to add some functionality to the application. You’ve worked on this for last couple days doing N commits. When the job is over you want to push your changes to the origin but soon after you spot that for the whole time you’ve worked on master/develop branch instead of the feature branch. Sounds familiar to you? Don’t worry, you can still move your changes!  The example Let’s say that we started a new project. We’ve ...

Tagi: git, undo changes
Źródło: foreverframe.net
Dziel się z innymi:
Moving already commited changes to new branch using GIT - Forever F[r]ame

Daj się poznać 2017 2539 dni, 16 godzin, 4 minuty temu dpawlukiewicz 53 źrodło rozwiń

Almost all my career I’ve spent with relational databases (later called RDB) and more precisely SQL Server. Honestly, I’ve never complained about that. It works fine, integrating with object languages is very quick since we’ve got a lot of different ORMs (like Entity Framework or Dapper) and it’s pretty easy to learn no matter how advanced developer you are. Sounds like a perfect solution, right? I mean, think about all the companies and projects th...

Źródło: foreverframe.net
Dziel się z innymi:
Introduction to graph databases - Forever F[r]ame

Daj się poznać 2017 2539 dni, 9 godzin, 56 minut temu dpawlukiewicz 69 źrodło rozwiń

A few days ago I showed you how to combine Nancy with Autofac and ASP.NET Core IoC. Today’s post will be related to the security and more precisely JWT authentication. Before moving further, I’d like to mention that below text is going to be the last Nancy-related one (at least for now). In a next couple weeks, we’ll explore the world of graph databases with Neo4j and .NET Core, so I hope you’re as excited as I do 😉  How does JWT authe...

Źródło: foreverframe.net
Dziel się z innymi:
Nancy meets JWT authentication - Forever F[r]ame

Daj się poznać 2017 2551 dni, 9 godzin, 19 minut temu dpawlukiewicz 77 źrodło rozwiń

For couple last days, I worked on gifty to catch up a little bit. My primal task was to introduce JWT authentication to my microservices hosted by Nancy. That’s the topic for next post but today, I’ll describe the proper steps to fully integrate Nancy with Autofac and ASP.NET Core since it’s not that obvious (at least wasn’t for me) and took me way to much time to finally do it. So, I hope that this one will help you one way or another.  Installing pa...

Źródło: foreverframe.net
Dziel się z innymi:
Integrating Nancy with Autofac and ASP.NET Core IoC - Forever F[r]ame

Daj się poznać 2017 2555 dni, 14 godzin, 44 minuty temu dpawlukiewicz 76 źrodło rozwiń

1 2 3 4 5 6

Najaktywniejsi w tym miesiącu