Asp.Net Core MVC, DSP2017

How to avoid sending credentials to repo (ASP.Net Core Configuration – part 2 – clickable Secret Manager)

How many times you almost pushed some sensitive data to public repo? I have to admit, it’s one of my nightmares since I heard about crawlers occuping github and searching for credit cards data, API credentials and so on.

But it looks like this problem is over, at least for .Net Core developers. And it is because of one simple tool provided by Microsoft. It’s name is… Continue Reading

DSP2017, DSP2017 Project

Adding xUnit to my .Net Core app – programming at night sucks!

The last two evenings I reserved for coding. The plan was like this – download all the Polish companies, save them in database and make some functionality in ‘admin area’. But of course first things first – unit tests!

I have to admit, most of the code I write doesn’t have tests. It’s not something I’m proud of but life is life, deadline is deadline – but once again – it’s something that really (really – really!) makes me feel ashamed. So, this time I want to make my pet project properly and write as much unit tests as it’s possible. And I’m really curious if I will stick to this idea till the end of ReMaster. Anyway, forgive me if my tests will be bizarre ;).

Stairway to…

I installed xUnit packages. I wrote a test just for the purpose of checking if everything is fine aaaand… Continue Reading

DSP2017, Tech

ReSharper – all you need is… some shortcuts! – part 1

ReSharper is a great Visual Studio extension but without the knowledge about its keyboard shortcuts and other tricks, it’s completely useless. That’s why (and because of the fact, every ‘Get Noticed!’ participant has a free version of this software – more info here), I decided to write about the most popular features. Of course, it’s not a full list, but you may find some of the below helpful.

Continue Reading