Questions tagged [user-control]
19 questions
11
votes
3 answers
Is it good practice to use user controls to structure WPF forms even if these user controls are only used once?
I develop a WPF application using MVVM and I am learning how to do things best.
I have a WPF form with selectors, two list with search fields, and some other elements. Currently all is in one form and it works. But by now the VM for that form has…

Edgar
- 293
- 1
- 2
- 10
8
votes
4 answers
User registration flow in microservices
Let's say I have multiple microservices like authorization service (OAuth2 with JWT), VideoService and MyApplicationService.
The VideoService provides videos for MyApplicationService. Both services save user data.
A frontend makes use of all 3…

Maaaaa
- 191
- 1
- 4
5
votes
3 answers
A design pattern for data binding an object (with subclasses) to asp.net user control
I have an abstract class called Address and I am deriving three classes ; HomeAddress, Work Address, NextOfKin address.
My idea is to bind this to a usercontrol and based on the type of Address it should bind properly to the ASP.NET user…

Rohith Nair
- 173
- 2
- 11
4
votes
2 answers
How much configurability to give to users regarding concurrency?
This question is a narrowing-down of these related questions:
How much effort should we spend to programming for multiple cores?
Concurrency: How do you approach the design and debug the implementation?
Given that each user's computers may have…

rwong
- 16,695
- 3
- 33
- 81
2
votes
1 answer
Access control to Django App running on private server
I am a self-learning programmer (with a fair share of python knowledge), and currently a company asked to develop a simple application so that they can track employee expenses (and I thought of using Django)
However, they require the app database…

drec4s
- 121
- 2
2
votes
1 answer
User identity and microservices
I have created a User service that controls user login using OAuth2 protocol and stores the user in the local database. So this service is aware of the user session and user identity.
Now I have another service Foo with some endpoint /foo. And the…

Sergii Bishyr
- 123
- 7
2
votes
2 answers
How can I provide a user edit-level control over currently hardcoded formulas?
Current Situation
I maintain a website that has a simple form that users fill out with simple engineering data. They press Submit, and the PHP code takes over and does various basic arithmetic on those numbers, according to the hardcoded…

Dennis
- 8,157
- 5
- 36
- 68
2
votes
2 answers
Multi application handling from single GUI
I'm searching for an approach to a very generic problem. In my recent private project, I want to control different Applications from a single GUI.
To make the idea more clear I'll explain my project a little bit:
I want to make an Augmented Reality…

shup
- 29
- 3
2
votes
3 answers
Refactoring web pages with user controls
Is it good design to use many user controls to help refactor a web application?
In my case, it's a VB.NET Webforms ASP.NET website. All our pages are organized into sections that, while related and belong on the same page, don't need to interact…

Jeremy K
- 121
- 4
2
votes
3 answers
Allowing the user to specify the location of a logfile
I'm working on an application, and adding logging, but now I'm stuck.
I want to allow (not force!) the user to set the location of the logfile.
Basically, my problem is:
logger initialization should be the first thing the program does
but I can't…
user39685
1
vote
1 answer
User roles in GWT applications
I'm wondering if you could suggest me any way to implement "user roles" in GWT applications. I would like to implement a GWT application where users log in and are assigned "roles". Based on their role, they would be able to see and use different…

csaffi
- 67
- 1
- 4
1
vote
3 answers
Best practice for using a user control across many projects
I have a messaging User Control, that is used across 4 projects, and for each change I have to propagate it in 4 places. This is obviously against the DRY principle. However, centralizing user controls is not an easy task too, because you have both…

Saeed Neamati
- 18,142
- 23
- 87
- 125
0
votes
1 answer
Replace use of ComboBox with user controls
In currently developing a project where I'm going to use a lot of combobox, in order to avoid repeating a lot of code I'm planning on building a user control containing a ComboBox that retrieve the data I need from my tables.
What is the best…

SilentRage47
- 157
- 6
0
votes
1 answer
When to build User Controls in ASP.NET
I am inheriting a legacy code. The legacy code has lot of web forms and each web form does not have much of functionality other than hosting a user control.
My question is -
Should we create a user control even if that control is not used in any…

Siva Senthil
- 206
- 1
- 10
0
votes
1 answer
Is a silverlight UserControl considered a view?
So far I have been implementing MVVM in my silverlight app pretty well, I just had one question. I have a few User Controls that I made and was wondering if they should be placed in the Views folder or in a seperate folder call UserControls. Is a…

Edward
- 2,149
- 4
- 19
- 24