This is the last one of the series I’ve planned about SignalR, this time I’ll demonstrate how can we migrate the SignalR system that we previously created to a self hosted server and in that way have a very light weight server application that will have all the functionalities that we need and nothing more than that. The point is to get the exact same behavior of the server as we had it when we build it with WebAPI2.
Photo Credit Code Project
In a case you missed the first two posts please review them here
Part1: SignalR, what is happening under the hood
Part 2: How to build chat server and client with SignalR and ASP.NET WebAPI 2Read More »
So here we go we the second part about using SignalR where I’m going to show you a practical example on how to build a SignalR based chat system, how to build the client and how to build the server. In case you missed the first part about SignalR and want to discover more on what is happening on a lower level please check my previous article SignalR: What is happening under the hood (Part 1).
The code is available on GitHub and the solution currently contains two projects, one for the client implementation and one for the server implementation. Later, I plan to add another project here for the self-hosted server and we’ll use the same client but this time using this server.Read More »
SignalR provides us the possibility of real time, two way communication between the browser (or any other client) and our server. There are many possibilities on what can you do with this technology, many advantages that you can use, I don’t want to be too wide in one article so I plan to write three of them starting with this one. Here I want to write more about SignalR, what is happening under the hood and describe some of the main components when building a system on top of it. But what is theory without practice?
That is why, in the second article, I’m going to make sample demo on how to implement SingnalR in your Web API 2 server and also make sample client that will communicate with that server.Read More »
Another Codility Challenge is out there, this one is called “Cutting Complexity Challenge” and it’s the fourth that is published this year. The same as the previous three, my solution was awarded with “Golden Award“. What is different about this challenge is that was sponsored by ASML company that is the world’s leading manufacturer of chip making equipment and there are some nice prizes for the best solutions that will be announced after the challenge is over.
So let’s go briefly through the prizes and the challenge rules that are officially published on ASML website.Read More »
This was the third Codility Challenge this year and for the third time I’m getting Golden Award for my solution. After the Ferrum 2018 and Cobaltum 2018, this award is for the current challenge Nickel 2018. This time I got the solution in my head as soon as I read the assignment and I was doing that while holding a screaming baby in my hand and my 2-year old was destroying the living room in the background. With this task I felt like I wasn’t challenged properly.
Also I didn’t need to solve this in Visual Studio which is the environment that I’m used to and I use to solve these challenges.
Read More »
Last week, I tried to solve the second Codility Challenge for this year called Cobaltum 2018. Same as the previous one, Ferrum 2018, my solution was awarded with the Codility Golden Award. From every other that I did before, this seemed to be the easiest one (or maybe that is just relative perception) although I lost some time to figure out the proper solution that will be elegant and handles the edge cases at the same time.
This time I will not give details about the Codility Challenges, but if you like to have brief intro about how that works you can find out more in my previous article about the Ferrum 2018 challenge or check my Lazy Propagation Segment Tree implementation. Read More »
This data structure is the latest cool thing that I got really excited about. I was working on my solution for Codility challenge Chromium 2017, which I managed to solve it with 100 out of 100 score (little bit more about this in my next post), and I needed refreshing of my basic algorithm/data structures knowledge because I haven’t done this kind of problem solving in past 10 years, since my college days.
Many problems can be solved with this data structure in a more optimal way than you could think of before. For example, it can be used in situations whenRead More »
Well, this demo project includes a lot more than ASP.NET Web API and AngularJS, but, the main purpose of the project is to test how well this two function together. Because this is the first time that I use AngularJS from scratch to build a project I have picked few PROS and CONS. The demo is automotive data library which includes detailed specification for more than 25.000 car models and has more than 150.000 gallery images for different car brands/models.
About SmartCarPick.com website
SmartCarPick.com website contains automotive data that is collected from the open data from few source points. Read More »
As one project grows with time and requirements are changing it’s natural to have unused/orphaned items in our .RESX file which can bring unwanted overhead and it can be useful to remove these items. That’s why I’ve created this simple to use tool which you can download it and use it as it is or you can get the code from GitHub and add modifications according to your needs.
These are just some of the problems that I can think of if we leave orphaned/unused items in our resource file:Read More »
I had recent experience developing a Xamarin application and we needed to make the application to be multi language, we decided to use AppResources and put all the localization strings in .resx file. And everything was perfect during the development before we got the final language strings.
There were many fields that needed to be filled dynamically according to the logged in user and his personal preferences.Read More »