Click here to Skip to main content
15,881,882 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Desktop application "communicating" with ASP.NET Pin
David Mujica5-Oct-17 9:08
David Mujica5-Oct-17 9:08 
GeneralRe: Desktop application "communicating" with ASP.NET Pin
The Junior5-Oct-17 21:34
The Junior5-Oct-17 21:34 
QuestionProgramming Chat supports video and audio and the number of connected high Pin
Member 1343772929-Sep-17 12:07
professionalMember 1343772929-Sep-17 12:07 
AnswerRe: Programming Chat supports video and audio and the number of connected high Pin
ZurdoDev2-Oct-17 4:10
professionalZurdoDev2-Oct-17 4:10 
QuestionImplementation advice for quiz with 4 choice questions Pin
Farhad Eft28-Sep-17 10:09
Farhad Eft28-Sep-17 10:09 
AnswerRe: Implementation advice for quiz with 4 choice questions Pin
Farhad Eft30-Sep-17 6:31
Farhad Eft30-Sep-17 6:31 
QuestionASP.NET authorization Pin
SaeedPol27-Sep-17 8:30
SaeedPol27-Sep-17 8:30 
AnswerRe: ASP.NET authorization Pin
The Junior5-Oct-17 4:34
The Junior5-Oct-17 4:34 
Well, in order for that to work you need to apply RoleBased Authentication. After that you create a folder called "Admin" or similar, place a web.config in that folder:

<configuration>

<system.web>
<authorization>

<allow roles="Administrator"/>
<deny users="*"/>

</authorization>
</system.web>
</configuration>


This site explains what you need to do: Microsoft Role Based Authentication

All you have to do is to create a few roles like Administrator, User, Customer. Then add users to those roles. The web.config in each folder will ensure that only people with that specific role can get in.
QuestionRepeater Template Desinging Pin
Member 1337195126-Sep-17 8:41
Member 1337195126-Sep-17 8:41 
AnswerRe: Repeater Template Desinging Pin
A_Griffin26-Sep-17 9:26
A_Griffin26-Sep-17 9:26 
GeneralRe: Repeater Template Desinging Pin
Member 1337195126-Sep-17 9:28
Member 1337195126-Sep-17 9:28 
GeneralRe: Repeater Template Desinging Pin
A_Griffin26-Sep-17 9:33
A_Griffin26-Sep-17 9:33 
GeneralRe: Repeater Template Desinging Pin
Member 1337195126-Sep-17 9:36
Member 1337195126-Sep-17 9:36 
GeneralRe: Repeater Template Desinging Pin
A_Griffin26-Sep-17 9:42
A_Griffin26-Sep-17 9:42 
GeneralRe: Repeater Template Desinging Pin
Member 1337195126-Sep-17 9:44
Member 1337195126-Sep-17 9:44 
AnswerRe: Repeater Template Desinging Pin
Rollin Shultz28-Sep-17 2:08
Rollin Shultz28-Sep-17 2:08 
QuestionHow can I properly use the Trace.Write() method inside of my for loop to print month and future values? Pin
Dorakta21-Sep-17 12:36
Dorakta21-Sep-17 12:36 
AnswerRe: How can I properly use the Trace.Write() method inside of my for loop to print month and future values? Pin
Richard Deeming22-Sep-17 2:11
mveRichard Deeming22-Sep-17 2:11 
QuestionSystem.ServiceModel.FaultException`1 occurred Pin
jkirkerx21-Sep-17 12:05
professionaljkirkerx21-Sep-17 12:05 
AnswerRe: System.ServiceModel.FaultException`1 occurred Pin
jkirkerx22-Sep-17 6:29
professionaljkirkerx22-Sep-17 6:29 
AnswerUPS Rate SOAP WSDL Errors in VS2017 Service Reference, An exception has been raised as a result of client data. Pin
jkirkerx22-Sep-17 11:07
professionaljkirkerx22-Sep-17 11:07 
QuestionRepeater2 is not getting populated with data from Repeater2. Any ideas? Pin
samflex20-Sep-17 4:38
samflex20-Sep-17 4:38 
AnswerRe: Repeater2 is not getting populated with data from Repeater2. Any ideas? Pin
Richard Deeming20-Sep-17 10:15
mveRichard Deeming20-Sep-17 10:15 
GeneralRe: Repeater2 is not getting populated with data from Repeater2. Any ideas? Pin
samflex21-Sep-17 3:50
samflex21-Sep-17 3:50 
GeneralRe: Repeater2 is not getting populated with data from Repeater2. Any ideas? Pin
Richard Deeming21-Sep-17 5:12
mveRichard Deeming21-Sep-17 5:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.