Click here to Skip to main content
15,885,366 members
Home / Discussions / C#
   

C#

 
GeneralMessage Removed Pin
21-Feb-15 9:39
professionalDaniel Lieberwirth (BrainInBlack)21-Feb-15 9:39 
QuestionSelect Dates within a period of days Pin
RadioButton20-Feb-15 11:58
RadioButton20-Feb-15 11:58 
AnswerRe: Select Dates within a period of days Pin
Dave Kreskowiak20-Feb-15 12:39
mveDave Kreskowiak20-Feb-15 12:39 
AnswerRe: Select Dates within a period of days Pin
BillWoodruff20-Feb-15 12:56
professionalBillWoodruff20-Feb-15 12:56 
QuestionSearch in SQL tables using c# Pin
Wannabe Pro20-Feb-15 8:02
Wannabe Pro20-Feb-15 8:02 
GeneralRe: Search in SQL tables using c# Pin
PIEBALDconsult20-Feb-15 8:35
mvePIEBALDconsult20-Feb-15 8:35 
GeneralRe: Search in SQL tables using c# Pin
Wannabe Pro25-Feb-15 8:09
Wannabe Pro25-Feb-15 8:09 
QuestionHow do I make a MVC project appear properly in Visual Studio? Pin
Xarzu20-Feb-15 6:16
Xarzu20-Feb-15 6:16 
How do I make a MVC project appear properly in Visual Studio? I understand the logic of this sort of structure. I have seen some blogs and explanations and even code segments explaining how a program can use MVC. But I want to know what is a good way to represent a Model-View-Controller program in the Visual Studio.

For example, in an ASP.NET program, the asp.net file is associated with a C# file. THey have the same name and, in the Solution Explorer window of the Visual Studio development environment, they are shown linked together where one is a tree branch of the other. Should the same sort of thing be done for a MVC solution? I can remember a few years ago, I worked on a MVVM project, and a developer who first put the solution file together actually had view and the view-model files arranged like this. In order to make this happen, he had to download some sort of patch that allowed him to edit the .sln (solution) file.

Is that the way to go for a Model-View-Controller program? Should each be its own workspace in the solution, or should the solution file be edited such that each Model-View-Controller coupling be handled as a tree structure file representation kind of like it is done for an ASP.NET solution?

Here is another question. What is a good template to use in Visual Studio to create an example of a Model-View-Controller program? I tried this route but when I clicked to "get new templates", it did not work:

[url="http://i67.photobucket.com/albums/h292/Athono/Embedded/Capture_02_zps6vn4ri07.png"]http://i67.photobucket.com/albums/h292/Athono/Embedded/Capture_02_zps6vn4ri07.png[/url]

[url="http://i67.photobucket.com/albums/h292/Athono/Embedded/Capture_zpscdczk1b4.png"]http://i67.photobucket.com/albums/h292/Athono/Embedded/Capture_zpscdczk1b4.png[/url]
AnswerRe: How do I make a MVC project appear properly in Visual Studio? Pin
BillWoodruff20-Feb-15 12:43
professionalBillWoodruff20-Feb-15 12:43 
AnswerRe: How do I make a MVC project appear properly in Visual Studio? Pin
Gerry Schmitz20-Feb-15 12:47
mveGerry Schmitz20-Feb-15 12:47 
AnswerRe: How do I make a MVC project appear properly in Visual Studio? Pin
Afzaal Ahmad Zeeshan20-Feb-15 22:22
professionalAfzaal Ahmad Zeeshan20-Feb-15 22:22 
AnswerRe: How do I make a MVC project appear properly in Visual Studio? Pin
Simon_Whale23-Feb-15 5:53
Simon_Whale23-Feb-15 5:53 
Questionhow do i cut an image of an convex hull? Pin
neodeaths20-Feb-15 5:47
neodeaths20-Feb-15 5:47 
QuestionLinq Query : Translate Local Variables reference Pin
dilkonika19-Feb-15 13:50
dilkonika19-Feb-15 13:50 
AnswerRe: Linq Query : Translate Local Variables reference Pin
Gerry Schmitz19-Feb-15 17:40
mveGerry Schmitz19-Feb-15 17:40 
GeneralRe: Linq Query : Translate Local Variables reference Pin
dilkonika19-Feb-15 17:54
dilkonika19-Feb-15 17:54 
GeneralRe: Linq Query : Translate Local Variables reference Pin
Gerry Schmitz19-Feb-15 19:05
mveGerry Schmitz19-Feb-15 19:05 
AnswerRe: Linq Query : Translate Local Variables reference Pin
Eddy Vluggen20-Feb-15 1:18
professionalEddy Vluggen20-Feb-15 1:18 
AnswerRe: Linq Query : Translate Local Variables reference Pin
HKHerron20-Feb-15 7:12
professionalHKHerron20-Feb-15 7:12 
Questionc# "Object reference not set to an instance of an object." Pin
iguru119-Feb-15 11:53
iguru119-Feb-15 11:53 
AnswerRe: c# "Object reference not set to an instance of an object." Pin
Ron Nicholson19-Feb-15 12:11
professionalRon Nicholson19-Feb-15 12:11 
AnswerRe: c# "Object reference not set to an instance of an object." Pin
V.19-Feb-15 20:34
professionalV.19-Feb-15 20:34 
GeneralRe: c# "Object reference not set to an instance of an object." Pin
Richard MacCutchan19-Feb-15 21:25
mveRichard MacCutchan19-Feb-15 21:25 
GeneralRe: c# "Object reference not set to an instance of an object." Pin
V.19-Feb-15 21:28
professionalV.19-Feb-15 21:28 
GeneralRe: c# "Object reference not set to an instance of an object." Pin
Richard MacCutchan19-Feb-15 21:40
mveRichard MacCutchan19-Feb-15 21:40 

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.