How to upload file online?

D.D.K-2637 966 Reputation points
2024-10-09T01:48:53.7066667+00:00

Hi,

I am curious how lightshot works?

Can someone tell me what language it is written in?

I want to learn how to upload a file to the cloud and then I can share the link to others.

How do I create my own cloud. Where is it? Is it different from hosting databases?

How does lightshot collect all the images there. Can I use .NET for this?

Many thanks for explaining.

Developer technologies .NET Other
Developer technologies Visual Studio Other
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2024-10-09T05:58:12.4666667+00:00

    Hi @D.D.K-2637 , Welcome to Microsoft Q&A,

    The source code of it is not public, so we don't know exactly what programming language it uses, but it is a desktop application. Usually such applications may be written in C++, C#, or other languages ​​suitable for desktop development. In addition, its server-side part may involve some back-end development languages, such as Python, PHP, Node.js, Java, etc. to handle image uploads and link generation.

    You can use .NET to achieve this purpose. I can give you a general explanation, but I can't help you complete this case in this question.

    For the screenshot part, you can use .NET's System.Drawing or a third-party library to capture the screen.

    For file upload, you can use uploading pictures to the cloud (AWS S3, Azure Blob Storage, etc.) and get access links.

    Use WinForms or WPF to create the user interface of the desktop application, allowing users to select screen areas and upload screenshots.

    The above are the three main modules. For the cloud part, it is recommended that you use the finished Azure. You can ask questions and type the azure tag to ask for relevant knowledge.

    Cloud service providers such as Azure allow you to build servers, storage, databases and other resources by yourself.

    It is likely to use object storage services. These services are different from traditional hosted databases and are mainly used to store unstructured data (such as images and video files).

    Hosted databases (such as SQL and NoSQL databases) are mainly used to store structured data and are sometimes used for application backends. Cloud storage is used to store files and media resources. Applications such as t rely more on cloud storage to save image data rather than using a database.

    Best Regards,

    Jiale


    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

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.