HTTP Based Web Service with Real-time Functionality on the ASP.NET Framework
Heikkala, Arttu (2018)
Heikkala, Arttu
2018
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2024051010639
https://urn.fi/URN:NBN:fi:amk-2024051010639
Tiivistelmä
The assigner of the thesis is a company that wants to explore options for implementing real-time data transmission in their host of application products. This is a necessary step in a changing web application space where there is a growing demand for getting the information as soon as it has been produced to the most convenient device for the user.
The objective of the thesis was to identify and introduce the most promising technologies for building robust web services with wide reach and real-time functionality. The use the selected technologies is demonstrated by designing a chat service which must support real-time messaging between clients and have a persistent data storage in the server. The study would be considered a success if the argued solution were used at least partially as a reference in the future development to add value to the company’s products.
The main source of information was the official technical documentation of the selected technologies, but influence was also taken from existing implementations. Also, author’s own judgement from the experience of working as a software developer was used.
The result was a study that, in summary, discussed a real-time web in a wider context, followed by the introduction of WebSockets as a core of real-time communications, finishing to a SignalR Hub that provides a more manageable higher lever control over WebSockets. ASP.NET Web API was also implemented to provide the client with the HTTP interface to the service as well as a channel for reliable messaging.
The final solution was demonstrated to the assigner company with success and resulting source code and report are used as a reference for future development projects.
The objective of the thesis was to identify and introduce the most promising technologies for building robust web services with wide reach and real-time functionality. The use the selected technologies is demonstrated by designing a chat service which must support real-time messaging between clients and have a persistent data storage in the server. The study would be considered a success if the argued solution were used at least partially as a reference in the future development to add value to the company’s products.
The main source of information was the official technical documentation of the selected technologies, but influence was also taken from existing implementations. Also, author’s own judgement from the experience of working as a software developer was used.
The result was a study that, in summary, discussed a real-time web in a wider context, followed by the introduction of WebSockets as a core of real-time communications, finishing to a SignalR Hub that provides a more manageable higher lever control over WebSockets. ASP.NET Web API was also implemented to provide the client with the HTTP interface to the service as well as a channel for reliable messaging.
The final solution was demonstrated to the assigner company with success and resulting source code and report are used as a reference for future development projects.