-4

I am making a .net Maui QR code business card application and the application will not have authorization features such as member login and registration. And my app needs to be able to create business cards for my user, store those business cards, and save new business cards. How can I provide this feature? Is it possible?

EDIT: This will be a simple internship project and there is currently no one who can technically answer my question. I guess they want me to find a solution and I'm trying to find one.

6
  • Of course that's possible Commented Dec 27, 2023 at 22:39
  • @πάνταῥεῖ But how can I keep track of which user created which cards? Is it from the device features? Or should I keep all data in local storage? (I don't think this is a good idea) Commented Dec 27, 2023 at 22:45
  • 1
    We can't answer requirements questions for you. Talk to your stakeholders. Commented Dec 27, 2023 at 22:57
  • 1
    Maui is used for desktop and mobile apps, not for web apps. Local storage would be the norm, e.g. in a JSON file or in SQLite. It would be unusual for such local-first apps to feature an account or log-in system. If a user installs the app on their device, they're the only user.
    – amon
    Commented Dec 27, 2023 at 23:52
  • 1
    What is hindering you from saving a business card description into a file, and let the user simply choose a file path for this? Like any word processor, text editor or image drawing application does? Then the user can choose if they want the data to be saved locally, or in some network folder, or some cloud-synched folder? Please clarify.
    – Doc Brown
    Commented Dec 28, 2023 at 11:39

1 Answer 1

2

the application will not have authorization features such as member login and registration.

Which is fine when there is no resource to protect.

A QR code business card is basically a card with a web link. Your job is to let them type in the web link and have it spit out a QR code graphic that can be printed on a business card. So there is no resource to protect.

This can be done as an app or web page. Here’s an example.

Creating a web page at whatever URL they type in is not your job. Don’t kill yourself trying to add that.

As a hint, this is a long ago solved problem. Look for existing libraries with acceptable licenses to avoid reinventing the wheel.

8
  • Thank you for your interest in my question. But I still don't understand where I can get the 'saved' and 'mycards' data from. The first thing that came to my mind was to convert the 'cardId' string that I assigned to each card into a QR code graphic and share it among users in the application. But as far as I understand, you are saying to convert the entered contact information into QR code. To better express what's on my mind Commented Dec 28, 2023 at 8:11
  • 1
    Why is there a cardID string? Give it a file name. The QR is just a URL. Put the info in local storage. What you’re creating is a specialized document editor. Commented Dec 28, 2023 at 14:14
  • Also, don’t worry about storing and retrieving unless you were told that’s a required feature. Trying to add stuff you don’t really need is a good way to miss deadlines. Commented Dec 28, 2023 at 18:24
  • Actually, it was the project requirements that confused me from the very beginning (net core web api, .net maui, mysql - and when I asked, they said there was no need to log in/signup) so I started to think about this, how will I use these features without logging in? Am I missing something? Commented Dec 28, 2023 at 19:34
  • 2
    "net core web api, .net maui, mysql" are not requirements. That's a tech stack. Requirements are about what you need it to do. Not how it gets done. Commented Dec 28, 2023 at 19:43

Not the answer you're looking for? Browse other questions tagged or ask your own question.