uncleSally <(E-Mail Removed)> wrote in news:1083abf3-6b75-
4dfd-9746-(E-Mail Removed):
> Hi Gregory, and Sheldon,
>
> An interesting discussion, thanks.
>
> I am wondering in what scenario having an application with multiple
> applications opened and closed would be most useful.
>
> curiously, Bill
>
In general, I would say it is more of an exception than the rule.
When I code, the apps are actually libraries, so setting up multiple
"applications" that call the libs is not an issue. And I can make
reusable controls quite easily. In addition, for a single app, I can
selective show forms based on permissions.
But, there are times when apps are already developed where all the code
is in the windows forms app. In these cases, spinning up the other app
is often the only choice, as management will not give you the time to do
it right.
In an optimal world, I would not head this direction with multiple .NET
apps that I actually "owned".
This is not completely true, as I have been on teams that created
application suites, where an entire app was only available if you passed
a perm check. I am sure it could have been done differently, but adding
a huge amount of bits to an app for a user that would never use them
meant it made sense in this scenario.
In general, here are reasons why you might do this:
1. Heavy apps (ie, lots of code to load) with users that do not have
permissions to use all of the functionlity (aka, the "apps")
2. No time to refactor apps into one app
3. Lack of knowledge on the team (security, refactoring, etc.)
4. Management/customer resistance
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Twitter: @gbworld
Blog:
http://gregorybeamer.spaces.live.com
*******************************************
| Think outside the box! |
*******************************************