https://www.youtube.com/watch?v=SoBDqeRRpLk This is a workshop organized by "Software University" / aka SoftUni / (Sofia, Bulgaria) which took place on 21-st of Jan, 2021. The content which I covered here is about some good practices for software developers, a time management technique, the root OOP principles, SOLID, Composition over Inheritance, Design Patterns and Software Architecture Patterns … Continue reading Workshop: Principles, practices and professionalism in software development (in Bulgarian)
Category: Programming
Visual Studio: Remove deleted branches on GIT fetch
Something small and easy but useful. I always google it when I setup a new Dev environment.If you are also working with Visual Studio and its built in GIT integration, then you have noticed that the remote branches shown under the Branches tree in the Team Explorer, are only increasing. Even some of the branches … Continue reading Visual Studio: Remove deleted branches on GIT fetch
Add and update values in BehaviorSubject (Angular)
BehaviorSubject example The BehaviorSubject is one of the 4 variants of RxJS Subjects ("a special type of Observable which shares a single execution path among observers"). The BehaviorSubject keeps the last emitted value from the observable object and can be returned to the subscribers. One useful usage of it is to be populated with the … Continue reading Add and update values in BehaviorSubject (Angular)
HTTP 500… with no app logs
Photo by Justin Little on Unsplash Recently I experienced a situation where one of the apps I am working on stopped working.There were no new deployments to the server, nor configuration or database-related changes. The symptoms When requesting the web site immediately receive - 500 internal server error. The problem OK, HTTP error code 500 … Continue reading HTTP 500… with no app logs
Quickly check a connection to DB Server (Windows)
One way of a quick connection test to a certain Database server can be done by creating a udl file (Microsoft Universal Data Link File). Create a new file with extension .udl (e.g. TestConnection.udl)Open the newly created file: 3. Fill in the data - Choose Provider - Fill the connection settings and click "Test Connection"
10 steps for a good code review
Photo by Charles Deluvio on Unsplash 1. Understand the problem Of course the first thing every code reviewer should do is to get himself familiar with the concrete problem which the implementation is meant to solve. You have to read the acceptance criteria, discuss them with the BA and with the developer to get the … Continue reading 10 steps for a good code review
Software product as a musical instrument
Let me introduce you Bob and Chris. Bob is a musician. Chris is a software developer. Bob plays different instruments. But today he decides to play a rock song, so he chooses a guitar.Meanwhile Chris, who is a great full stack developer, is thinking of creating a public web site to promote his services as … Continue reading Software product as a musical instrument
int type exceeding values loop
There is an interesting fact about the Integer type in C# in the cases where its values exceed outside of the limits. C# wraps around the int values and if you exceed the max value it starts from the min again. I will best illustrate this with the example below: Lets use the 32 bit … Continue reading int type exceeding values loop
Parsing text from PDF using c#
While working on a project, I came across a requirement to extract some information from a PDF document. The tricky part was that only particular pieces were needed and not the whole text. Technology-wise I was using .NET as a platform and C# as a programming language. I was thinking of a way to accomplish … Continue reading Parsing text from PDF using c#
Apollo client
In the previous post for Querying data with GraphQL we used a ASP.NET Core HTTP client. But as I have mentioned there is an option to fetch the data with JavaScript using a client called Apollo. Apollo is a very good choice of library if you are building an application with GraphQL because of its … Continue reading Apollo client