The time has came for generating EF Migrations. It’s nothing special, so I didn’t plan to spend much time on it. But as it sometimes happen, I was encountering problem after problem so I decided it’s worth writing them down. Continue Reading
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
You may be surprised (I was!) but Visual Studio 2015 (and Visual Studio 2017) is not able to add (out of the box) a service reference.
When you click right mouse button on the ‘References‘ folder, there is an option ‘Add Connected Service‘ but it doesn’t allow us to add service reference, it has only two options Continue Reading
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 ;).
I installed xUnit packages. I wrote a test just for the purpose of checking if everything is fine aaaand… Continue Reading
Ladies and gentlemen – the second post about ReSharper! This time, let’s focus on refactoring, auto-generation of code and some smart ‘helpers’. Continue Reading
Last week I didn’t do much coding. In fact, all I did was playing a little with ReSharper and adding some ‘flesh’ to my app’s skeleton. ReMaster is able to connect to a database now and log errors when they occur. It also has some interfaces that may be useful later (when I start coding the model).
Not a big thing but I wanted to rethink the project structure a few times (basically because I rarely have an opportunity to code a web app from a scratch so it was loads of fun!). And yes, I know there is at least one open source project that provides a starting point for ASP.Net Core MVC. But because it’s my pet project I can do with it whatever I want and if I decide to starve it to death, I will starve it to death, got it?! 😉
But coming back to my app’s topic, you may think about…
How to get all the Polish companies’ data?
All Polish companies are present in a system called CEIDG (in English: Central Registration and Information on Business). It provides a simple API – so far so good. Continue Reading
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.
I am the kind of person that always has in mind a few pet projects’ ideas. Some of them are crazy, some would probably be a catastrophic failure, but hey! You never know before you try ;)! So I decided to try once again (the tenth time?) start my new project and get some extra motivation from the Get Noticed! competition.
Yes, I’m in! Continue Reading
Concurrency conflicts in web application can be quite troublesome. They occur when the same record in database is selected and then updated by more than one user. They can cause changes loss and be very frustrating for your users. In this post I describe a few solutions for this problem.
Configuring an Asp.Net Core MVC is not a problem since Microsoft has come with a great API. It enables storing your key-value pairs in variety of ways, preserving the hierarchical character of your data.
In this post I will focus only on the most popular way of configuring an app. So, let’s talk about… Continue Reading