Click here to Skip to main content
14,335,363 members

Web Development

 
GeneralRe: Helper Methods MVC Pin
KGr2825-Jun-19 9:21
memberKGr2825-Jun-19 9:21 
GeneralRe: Helper Methods MVC Pin
Richard Deeming25-Jun-19 9:35
mveRichard Deeming25-Jun-19 9:35 
GeneralRe: Helper Methods MVC Pin
KGr2825-Jun-19 9:58
memberKGr2825-Jun-19 9:58 
GeneralRe: Helper Methods MVC Pin
KGr2825-Jun-19 10:37
memberKGr2825-Jun-19 10:37 
QuestionMSBUILD warning MSB3245 and MSB3243 Pin
#realJSOP25-Jun-19 5:33
mve#realJSOP25-Jun-19 5:33 
QuestionTest Driven Dev in MVC5 Pin
#realJSOP24-Jun-19 4:37
mve#realJSOP24-Jun-19 4:37 
AnswerRe: Test Driven Dev in MVC5 Pin
Afzaal Ahmad Zeeshan26-Jun-19 0:05
mveAfzaal Ahmad Zeeshan26-Jun-19 0:05 
GeneralRe: Test Driven Dev in MVC5 Pin
#realJSOP26-Jun-19 0:50
mve#realJSOP26-Jun-19 0:50 
Afzaal Ahmad Zeeshan wrote:
And then bring the entire code base in that new project? Doesn't seem legit, but you can easily add a new project in the solution, and connect that (new testing) project with your existing web application as a reference (MVC would be a dll). Then using the content from your MVC, you can run tests on them.


When you create a MVC project with unit test turned on, it adds another class library project to your solution. Your app is referenced in the test project, but the test project isn't referenced in the class library. I don't know how it all works yet, or even if you can unit test anything other than controllers.

I had installed Moq thru nuget, and it completely screwed up my app. I had to manually remove it because trying to uninstall via nuget threw errors at me. It was a mess...
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

GeneralRe: Test Driven Dev in MVC5 Pin
Afzaal Ahmad Zeeshan26-Jun-19 3:20
mveAfzaal Ahmad Zeeshan26-Jun-19 3:20 
GeneralRe: Test Driven Dev in MVC5 Pin
#realJSOP26-Jun-19 5:08
mve#realJSOP26-Jun-19 5:08 
GeneralRe: Test Driven Dev in MVC5 Pin
F-ES Sitecore27-Jun-19 5:44
mveF-ES Sitecore27-Jun-19 5:44 
GeneralRe: Test Driven Dev in MVC5 Pin
#realJSOP27-Jun-19 6:12
mve#realJSOP27-Jun-19 6:12 
QuestionOutlook Current User Context Pin
Member 1106951823-Jun-19 22:08
memberMember 1106951823-Jun-19 22:08 
AnswerRe: Outlook Current User Context Pin
Richard MacCutchan23-Jun-19 22:47
protectorRichard MacCutchan23-Jun-19 22:47 
QuestionASP.Net Web API2 in IIS Pin
Kevin Marois18-Jun-19 8:10
professionalKevin Marois18-Jun-19 8:10 
AnswerRe: ASP.Net Web API2 in IIS Pin
Richard Deeming18-Jun-19 8:44
mveRichard Deeming18-Jun-19 8:44 
GeneralRe: ASP.Net Web API2 in IIS Pin
Kevin Marois18-Jun-19 8:53
professionalKevin Marois18-Jun-19 8:53 
GeneralRe: ASP.Net Web API2 in IIS Pin
Richard Deeming18-Jun-19 10:52
mveRichard Deeming18-Jun-19 10:52 
GeneralRe: ASP.Net Web API2 in IIS Pin
Kevin Marois18-Jun-19 10:54
professionalKevin Marois18-Jun-19 10:54 
GeneralRe: ASP.Net Web API2 in IIS Pin
Mycroft Holmes18-Jun-19 12:30
memberMycroft Holmes18-Jun-19 12:30 
GeneralRe: ASP.Net Web API2 in IIS Pin
Richard Deeming19-Jun-19 0:43
mveRichard Deeming19-Jun-19 0:43 
GeneralRe: ASP.Net Web API2 in IIS Pin
Mycroft Holmes19-Jun-19 12:24
memberMycroft Holmes19-Jun-19 12:24 
GeneralRe: ASP.Net Web API2 in IIS Pin
Kevin Marois19-Jun-19 7:49
professionalKevin Marois19-Jun-19 7:49 
QuestionAnyone has chrome debugging issue today.... Pin
Super Lloyd17-Jun-19 17:33
memberSuper Lloyd17-Jun-19 17:33 
AnswerRe: Anyone has chrome debugging issue today.... Pin
OriginalGriff18-Jun-19 2:02
protectorOriginalGriff18-Jun-19 2:02 

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.