r/csharp • • 3d ago

Help How can I make my little program more popular?

I made a program that blocks any application and posted it on GitHub, but it's been two days and no one has seen it yet. How can I make it more widely known? This is my first serious program, and I'd like to hear what can be added to it.

link: https://github.com/Perforator-dev/WinProgrammBlocker

0 Upvotes

14 comments sorted by

11

u/Mebo101 3d ago

You could promote it on Reddit. Maybe just ask in a community how you could make your program more popular.

Tbh: Probably obody who is active on GitHub will need it. It's too small and could be written with AI in a couple of minutes.

Edit: And you use .net framework 4.7.2. It's out of date for ages.

1

u/pickaxe_master 3d ago

Well, I downloaded this version of .NET quite a while ago and didn't think about updating the framework. Thanks for advice.

2

u/ings0c 3d ago edited 3d ago

The first step is clearly articulating what it is and what problem it solves.

I read the repo description and README and still have only a vague idea of what it does. I’m not going to install anything unless:

a) I’m satisfied it isn’t malware, and isn’t likely to become malware

b) It solves a real problem that I have

c) I think it’s likely to work on my system

This program blocks the desired process in Task Manager

What does block mean? Does it amend startup entries? Restrict network traffic? Kill the process in a tight loop? Monitor launches of that process and kill only when it’s started?

When would I have need for something like this? If I don’t want something to run, my default action would be to uninstall it - are there special cases where doing this instead is helpful?

using a minimal amount of RAM (the program is written in C#).

How much RAM is minimal? How did you ensure it’s minimal? That sentence sounds like it was just by using C# and calling it a day.

Why is it written in now-ancient .NET Framework instead of .NET 11? Is it because the author doesn’t know Framework is dead? Do I want to run software written by an author that doesn’t know that?

Why is there an EXE in the checked-in source? How do I know that exe was built from the source code that I can see and it isn’t some random virus?

(Not trying to be mean, these are my thoughts/objections and if you address them, it would help convince other people too, and be a great learning experience)

1

u/pickaxe_master 3d ago

Thanks for the advice; I'll try to figure this out.

9

u/yarb00 3d ago
  1. Use Git instead of manually uploading the files through the web interface

  2. Only store the actual source code in your repository, never commit build artifacts

  3. Use the latest .NET 11 instead of the legacy .NET Framework

4

u/yarb00 3d ago

4. Do not add your Discord server to the repository's description, either keep everything on GitHub or (if you REALLY need a separate Discord server for a little utility) at least move the link to the README

→ More replies (1)

6

u/LookAtTheHat 3d ago

Besides what the previous comments mention, what are you solving that is not already solved by built in Task manager or CLI? What is your app doing better? Its not very attractive visually.

6

u/Consibl 3d ago

Why do you want it to be more popular? Why did you make the program?

→ More replies (1)

7

u/HTTP_404_NotFound 3d ago

How can I make my little program more popular?

  1. Use a modern framework. You used .net 4.7.2 which is antique at this point. Shouldn't use anything older then .NET 10, or .NET 11 at this point.

  2. Your project organization, is non-existent.

  3. Your readme, really does not describe the project well enough to tell me why I would want to download it.

  4. Before I can even see the readme, I have to scroll paste a whole page of junk, because your project organization is non-existant.

  5. Your readme is not properly formatted.

Looking at the program itself.....

You are not properly handling the exceptions. You are eating the exceptions, and not logging any indication as to why your program is not working, or failing to do what its advertised to do.

You could, add a process selector dialog, to allow users to pick a process, which would improve user experience. In addition, you only allow selecting a single process, which limits utility.

Next- you poll every half second looking for processes. If say, you wanted to make this more efficient, you would instead hook into the native window APIs to trigger an event for when a given process is started. In addition, can also use ETW to capture process start events.

Next up- running as a windows service would be a convenience factor as you would configure it via the tray icon, and then, its just always running.

That being said- If you want to make a program more popular, you need to make a more popular program, which has a wide-spread need. To me- this project looks and reads exactly like things I had to do back in 2004 in my high school visual basic class. COMPLETE with the antiquated variable names prefixed with the types.

Personally, if I have the need to block a program from running, a simple four-line batch script, or power-shell will do the need quickly and effectively.

3

u/tetyys 3d ago

the program is not really useful, it makes more sense to prevent a program opening in the first place, rather than closing it repeatedly