Click here to Skip to main content
15,894,343 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: i don,t know properly that how to make a website responsive? Pin
Rohit Malhotra29-Aug-18 4:26
Rohit Malhotra29-Aug-18 4:26 
AnswerRe: i don,t know properly that how to make a website responsive? Pin
Member 1493872215-Sep-20 0:29
Member 1493872215-Sep-20 0:29 
QuestionWCF service with sql server stored procedure Pin
Member 103645166-Aug-18 8:17
Member 103645166-Aug-18 8:17 
AnswerRe: WCF service with sql server stored procedure Pin
Richard MacCutchan6-Aug-18 20:57
mveRichard MacCutchan6-Aug-18 20:57 
QuestionController, Include in Project Pin
Wiep Corbier5-Aug-18 10:20
Wiep Corbier5-Aug-18 10:20 
AnswerRe: Controller, Include in Project Pin
Nathan Minier7-Aug-18 2:52
professionalNathan Minier7-Aug-18 2:52 
GeneralRe: Controller, Include in Project Pin
Wiep Corbier7-Aug-18 3:22
Wiep Corbier7-Aug-18 3:22 
GeneralRe: Controller, Include in Project Pin
Nathan Minier7-Aug-18 3:43
professionalNathan Minier7-Aug-18 3:43 
Okay, so it's C# and leveraging the MVC.NET stack, which we didn't know when you asked; so we're already in better shape!

I'm glad that you found a solution, but I don't think that I would ever advise this approach unless you're building an application specifically intended to bootstrap simple and tiny CRUD applications, but that doesn't appear to be your intent.

From a code/extensibility standpoint, a better approach might be to generate controllers at runtime from your models. I was going to give an approach, but I found a very solid one at: Generic and dynamically generated controllers in ASP.NET Core MVC | StrathWeb. Have a look at Approach #2, it's a little complex but infinitely extensible and plays nicely with the ecosystem.
"Never attribute to malice that which can be explained by stupidity."
- Hanlon's Razor

GeneralRe: Controller, Include in Project Pin
Wiep Corbier7-Aug-18 3:45
Wiep Corbier7-Aug-18 3:45 
PraiseRe: Controller, Include in Project Pin
Richard Deeming7-Aug-18 4:03
mveRichard Deeming7-Aug-18 4:03 
QuestionMessage Removed Pin
5-Aug-18 6:02
Member 139384675-Aug-18 6:02 
QuestionNewbie needs help with css and php Pin
kylo9991-Aug-18 3:20
kylo9991-Aug-18 3:20 
QuestionHow to make svg Icon so that user can download it? Pin
Aftab Anxari26-Jul-18 9:34
Aftab Anxari26-Jul-18 9:34 
AnswerRe: How to make svg Icon so that user can download it? Pin
OriginalGriff26-Jul-18 9:39
mveOriginalGriff26-Jul-18 9:39 
Questioncompile error in angular app Pin
deepak_201223-Jul-18 8:15
deepak_201223-Jul-18 8:15 
QuestionINTRODUCTION Pin
Suren Kiddo17-Jul-18 2:28
Suren Kiddo17-Jul-18 2:28 
AnswerRe: INTRODUCTION Pin
Richard Deeming17-Jul-18 3:09
mveRichard Deeming17-Jul-18 3:09 
AnswerRe: INTRODUCTION Pin
Dominur7-Aug-18 0:48
Dominur7-Aug-18 0:48 
QuestionMessage Closed Pin
10-Jul-18 5:48
Andre Hoss10-Jul-18 5:48 
AnswerRe: HTML Code Has Been Changed to Compressed Mode Pin
Nathan Minier10-Jul-18 6:48
professionalNathan Minier10-Jul-18 6:48 
GeneralRe: HTML Code Has Been Changed to Compressed Mode Pin
Richard Deeming10-Jul-18 7:07
mveRichard Deeming10-Jul-18 7:07 
GeneralRe: HTML Code Has Been Changed to Compressed Mode Pin
Nathan Minier10-Jul-18 7:17
professionalNathan Minier10-Jul-18 7:17 
QuestionLimit lines in bootstrap card-text component Pin
Urgen Dorjee6-Jul-18 1:04
Urgen Dorjee6-Jul-18 1:04 
Questionobject vs img Pin
V.4-Jul-18 20:37
professionalV.4-Jul-18 20:37 
AnswerRe: object vs img Pin
Richard Deeming5-Jul-18 1:50
mveRichard Deeming5-Jul-18 1:50 

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.