I have a website made using Visual Web Developer. Every attempt I've made at handling databases, or manipulating the ASP.NET configuration manager has failed in frustration. Consequently, I'm wondering if anybody knows of an open-source, downloadable project I can use for this.
I built my intranet based (and authenticated) website & related database management system based upon the Contoso University MVC Entity Framework project
Deviations: I created an intranet project instead of normal web project
web.config items: The only items I needed to configure in the web.config file was
<authentication mode="Windows" />
<authorization>
<allow roles="DomainName\DomainGroupName" />
<deny users="*" />
</authorization>
<roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider">
<providers>
<clear />
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
</providers>
</roleManager>
On specific controllers which needed stricter permissions, on the line preceding the ActionResult you can add in an [Authorize] element for specific users or groups