Click here to Skip to main content
15,887,027 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: MVC 5 Scaffolded view problem Pin
AnCristina19-Jun-14 2:40
professionalAnCristina19-Jun-14 2:40 
QuestionMVC 4 Radio Button List Pin
VishwaKL16-Jun-14 22:24
VishwaKL16-Jun-14 22:24 
AnswerRe: MVC 4 Radio Button List Pin
Raviranjan_Kumar_Sinha17-Jun-14 21:10
Raviranjan_Kumar_Sinha17-Jun-14 21:10 
GeneralRe: MVC 4 Radio Button List Pin
VishwaKL18-Jun-14 0:12
VishwaKL18-Jun-14 0:12 
GeneralRe: MVC 4 Radio Button List Pin
Raviranjan_Kumar_Sinha18-Jun-14 1:09
Raviranjan_Kumar_Sinha18-Jun-14 1:09 
GeneralRe: MVC 4 Radio Button List Pin
VishwaKL18-Jun-14 22:44
VishwaKL18-Jun-14 22:44 
QuestionAdd New Row on ADO.NET Pin
Thomas Le 090316-Jun-14 2:26
Thomas Le 090316-Jun-14 2:26 
QuestionMVC Razor AD Authentication then use Entity Framework Authorization Pin
Stephen Holdorf14-Jun-14 8:45
Stephen Holdorf14-Jun-14 8:45 
Hello,

I am a new to MVC and I am tasked to develop a role based security portion of our current MVC razor application having the user authentication done via AD then once authenticated determining authorization via our entity framework model. Now, once the user navigates through the application MVC Views, menu and button controls on each View are hidden or shown based on their permissions.

Currently, the application controllers return a single MVC model object with all of the current required values contained in it (i.e. m.EmployeeName, m.CustomerName, etc.) but as you know no user or role information.

At this point I really don't know the best way to implement this. What do I add to the entity framework model. Next, from the controller GET only a single model object is returned in the view(model). How would I return the user's name and roles information along with the main model object? Also, any ideas on how the user/role admin view should work would be great. Anyone, please help!

modified 14-Jun-14 15:12pm.

AnswerRe: MVC Razor AD Authentication then use Entity Framework Authorization Pin
Stephen Holdorf15-Jun-14 10:05
Stephen Holdorf15-Jun-14 10:05 
Questionradio button postback event not working with bootstrap, asp.net Pin
webmas114-Jun-14 1:02
professionalwebmas114-Jun-14 1:02 
AnswerRe: radio button postback event not working with bootstrap, asp.net Pin
Member 1019884815-Jun-14 21:07
Member 1019884815-Jun-14 21:07 
GeneralRe: radio button postback event not working with bootstrap, asp.net Pin
webmas116-Jun-14 0:19
professionalwebmas116-Jun-14 0:19 
QuestionDynamic Web Site Pin
Irfan-Tech13-Jun-14 21:24
Irfan-Tech13-Jun-14 21:24 
AnswerRe: Dynamic Web Site Pin
Richard MacCutchan13-Jun-14 21:42
mveRichard MacCutchan13-Jun-14 21:42 
AnswerRe: Dynamic Web Site Pin
Peter Leow13-Jun-14 22:11
professionalPeter Leow13-Jun-14 22:11 
QuestionGet resolution in page load Pin
Elham M13-Jun-14 18:24
Elham M13-Jun-14 18:24 
QuestionWhich event is fired when Ctrl+N keys Clicked in asp.net Pin
shiv shanker 713-Jun-14 0:15
shiv shanker 713-Jun-14 0:15 
AnswerRe: Which event is fired when Ctrl+N keys Clicked in asp.net Pin
Vasudevan Deepak Kumar13-Jun-14 2:33
Vasudevan Deepak Kumar13-Jun-14 2:33 
GeneralRe: Which event is fired when Ctrl+N keys Clicked in asp.net Pin
shiv shanker 715-Jun-14 19:07
shiv shanker 715-Jun-14 19:07 
AnswerRe: Which event is fired when Ctrl+N keys Clicked in asp.net Pin
Vasudevan Deepak Kumar16-Jun-14 1:10
Vasudevan Deepak Kumar16-Jun-14 1:10 
GeneralRe: Which event is fired when Ctrl+N keys Clicked in asp.net Pin
shiv shanker 716-Jun-14 18:03
shiv shanker 716-Jun-14 18:03 
QuestionHow to filter a large datasource in ASPxComboBox? Pin
DitiDiti10-Jun-14 5:32
DitiDiti10-Jun-14 5:32 
Questionrobots for fetche all link site Pin
apadana_198910-Jun-14 3:21
apadana_198910-Jun-14 3:21 
QuestionRe: robots for fetche all link site Pin
ZurdoDev10-Jun-14 3:42
professionalZurdoDev10-Jun-14 3:42 
AnswerRe: robots for fetche all link site Pin
Sibeesh KV29-Sep-14 1:56
professionalSibeesh KV29-Sep-14 1:56 

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.