Custom role provider in a console application RRS feed

  • Question

  • Hello,

    I have written a role provider which assumes Windows authentication and so far works well with WCF services and ASP.NET. Is it possible to use it also with a console/WPF/WinForm applications? I tried a configuration like this on a very simple console app but the Initialize method of the provider doesn't even get called. Below is my app.config. Thanks in advance.

            <authentication mode="Windows" />
            <roleManager enabled="true"
                    <add name="Authorization.RoleProvider"
                         type="Authorization.RoleProvider, Authorization.RoleProvider"

    Thanks Val

    Tuesday, May 21, 2013 5:10 PM

All replies