User management in Silverlight, create custom UI or use ASP.NET website administration tool?

前端 未结 1 1248
孤独总比滥情好
孤独总比滥情好 2021-01-22 11:50

I\'m creating a silverlight for line of business application, and I\'m using Forms Authentication.

For user management, I\'m deciding between using the built-in \"ASP.NE

1条回答
  •  隐瞒了意图╮
    2021-01-22 12:48

    I just went through all of this, so I'll give the pros and cons I came up with:

    ASP.NET Web Site Administration Tool

    Pros:

    1. Already built, debugged, and ready to go.
    2. Complete feature set. User can add roles, users, and security to their heart's content.

    Cons:

    1. It's not really meant to be used remotely. It's meant to be used locally from VS. Microsoft's official stance is: yeah you can use it remotely, but we're not going to tell you how or support it when you do.
    2. Non-integrated. So, the user logs into my Silverlight application to manage everything EXCEPT for other users, where they need to log-in to a completely separate system that looks nothing like mine? It's not a great system.

    Roll your own Silverlight Version

    Pros:

    1. Completely integrated system.
    2. Relatively easy to code, once you get the hang of it.

    Cons:

    1. I could not find ANY open source projects that did this in Silverlight. Why? Is it recommended against? Is it just not done that often? I hate feeling like I'm doing something few people have tried before.
    2. Not debugged nor full featured, and I have to do it myself. Just getting the ability to create users with two roles was lengthy (although not hard). But I'm concerned: did I introduce any security holes? It's difficult to tell.

    In the end, I made my own Silverlight version. Too many people had complained about my 'hacked-up' version (as they put it), and it left a bad enough impression on people that I ended up making my own.

    0 讨论(0)
提交回复
热议问题