How to get free data hosting for C# desktop application?

fatih uyanık 80 Reputation points
2024-06-14T09:36:20.88+00:00

Hello

I want to design an application with multiple users in my C# wpf project. In short, with the application, users will be able to send and receive some non-large-scale data. Since I don't have the budget, I want to do this for free. I thought of Google Spreadsheets for this. As far as I understand, it doesn't seem possible for free. Can you give me an idea about this? What method should I follow in such a scenario? Where and how is it appropriate to store data?

Thanks.

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,631 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Johan Smarius 465 Reputation points MVP
    2024-06-16T08:37:34.8366667+00:00

    One option could be to store your data in CosmosDB (Cosmos documentation). Azure offers a free plan to store some data for free (Free hosting option). You can connect your WPF application to this database through Azure Functions (Azure Functions). There is also a free option for limited but generous payloads (Azure Functions pricing model). This option does require a permanent connection to the internet. Should that not be possible you could cache the online data of course in a localdb database and sync it when there is a network connection.

    0 comments No comments

  2. Hongrui Yu-MSFT 1,020 Reputation points Microsoft Vendor
    2024-06-17T09:29:33.7433333+00:00

    Hi,@fatih uyanık. Welcome to Microsoft Q&A. 

    1.If your users are LAN users, you can consider Socket communication, which is completely free and easy to operate.

    For related operations of Socket, you can refer to the official document (Use Sockets to send and receive data over TCP - .NET | Microsoft Learn).

     

    Use Socket Server as a public base station to store data locally. Data can be saved using IO/MySql/Redis, which are all free.

     

    Different users communicate with Socket Server using Socket Client to transmit and receive data

     

    2.If your users are WAN users. You can refer to what Johan Smarius said, using Azure Functions

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments