Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 25 of 35
Search took 0.01 seconds.
Search: Posts Made By: JonGalloway
Forum: BOOK: Professional ASP.NET MVC 5 January 28th, 2015, 04:22 PM
Replies: 3
Views: 1,266
Posted By JonGalloway
The sample code (in the download) turns on a...

The sample code (in the download) turns on a camel casing switch in ASP.NET Web API, so the returned JSON properties are camel cased (first character lower cased). You can see how that's done in...
Forum: BOOK: Professional ASP.NET MVC 5 January 28th, 2015, 04:08 PM
Replies: 9
Views: 2,536
Posted By JonGalloway
I saw this thread on StackOverflow from someone...

I saw this thread on StackOverflow from someone who was missing the ADO.NET Entity Data Model option and solved it:...
Forum: BOOK: Professional ASP.NET MVC 5 January 25th, 2015, 03:06 AM
Replies: 3
Views: 1,266
Posted By JonGalloway
Which code sample are you referring to that shows...

Which code sample are you referring to that shows lower case? Looking through Chapter 12, I only see upper case for Title and Id.
Forum: BOOK: Professional ASP.NET MVC 5 January 25th, 2015, 02:59 AM
Replies: 2
Views: 1,505
Posted By JonGalloway
Did you install the EntityFramework package and...

Did you install the EntityFramework package and run the Enable-Migrations command (bottom of page 361)?
Forum: BOOK: Professional ASP.NET MVC 5 January 25th, 2015, 02:56 AM
Replies: 1
Views: 617
Posted By JonGalloway
Dave, assuming you called the Web API controller...

Dave, assuming you called the Web API controller MovieController (page 363, step 3) then the api endpoint should be /api/movie/ as shown in Figure 12-9. If you called it MoviesController, the...
Forum: BOOK: Professional ASP.NET MVC 5 January 25th, 2015, 02:52 AM
Replies: 2
Views: 960
Posted By JonGalloway
Sorry, that's uploaded now here:...

Sorry, that's uploaded now here: https://www.nuget.org/packages/Wrox.ProMvc5.Validation.MaxWordsAttribute/

It's also available in the code download for the book, and was the exact same as the...
Forum: BOOK: Professional ASP.NET MVC 5 January 19th, 2015, 04:35 AM
Replies: 4
Views: 1,471
Posted By JonGalloway
Glad you found this, Dave. More info on local...

Glad you found this, Dave. More info on local package sources here: http://docs.nuget.org/docs/start-here/managing-nuget-packages-using-the-dialog#Package_Sources
Forum: BOOK: Professional ASP.NET MVC 5 January 19th, 2015, 04:32 AM
Replies: 3
Views: 1,038
Posted By JonGalloway
The code on page 83 is just an example to explain...

The code on page 83 is just an example to explain the concept. You don't need to type it in anywhere yet. The scaffolding steps beginning on page 85 (Executing The Scaffolding Template) will have you...
Forum: BOOK: Professional ASP.NET MVC 5 January 11th, 2015, 01:27 AM
Replies: 3
Views: 1,066
Posted By JonGalloway
Alan, as Rod said you're definitely missing the...

Alan, as Rod said you're definitely missing the jQuery library. It's possible that you have a different version of jQuery in your scripts folder (other than 1.10.2). Do you see a jQuery file in your...
Forum: BOOK: Professional ASP.NET MVC 5 January 11th, 2015, 01:24 AM
Replies: 1
Views: 968
Posted By JonGalloway
Google deprecated their OpenID authentication,...

Google deprecated their OpenID authentication, switching to OAuth. You'll not that your code sample shows Google OAuth2.

https://developers.google.com/accounts/docs/OpenID

More info here:...
Forum: BOOK: Professional ASP.NET MVC 5 January 7th, 2015, 04:25 AM
Replies: 2
Views: 673
Posted By JonGalloway
The simplest approach is to just delete the...

The simplest approach is to just delete the controller and views and re-scaffold everything. If you've made modifications to some of the views that you don't want to lose, you can delete individual...
Forum: BOOK: Professional ASP.NET MVC 5 January 7th, 2015, 04:21 AM
Replies: 2
Views: 1,206
Posted By JonGalloway
If you're having trouble, I recommend directly...

If you're having trouble, I recommend directly downloading the Chapter 4 sample code here: http://www.wrox.com/WileyCDA/WroxTitle/productCd-1118794753,descCd-DOWNLOAD.html

You should see a...
Forum: BOOK: Professional ASP.NET MVC 5 October 31st, 2014, 01:22 AM
Replies: 1
Views: 1,172
Posted By JonGalloway
I think the simplest way to check the MVC version...

I think the simplest way to check the MVC version is to look in packages.config. You'll see a line like this:

<package id="Microsoft.AspNet.Mvc" version="5.2.0" targetFramework="net45" />
Forum: BOOK: Professional ASP.NET MVC 5 October 31st, 2014, 12:53 AM
Replies: 1
Views: 972
Posted By JonGalloway
The controller will be created in whichever...

The controller will be created in whichever folder you initiate scaffolding from, so if you right clicked the Models folder when you created the controller, that's where it goes.

The good news is...
Forum: BOOK: Professional ASP.NET MVC 5 October 31st, 2014, 12:28 AM
Replies: 1
Views: 1,939
Posted By JonGalloway
Thanks for taking the time to leave your...

Thanks for taking the time to leave your feedback.

As the lead author, I can tell you with certainty that several hundred hours of work were involved in updating from MVC 4 to MVC 5. Some of the...
Forum: BOOK: Professional ASP.NET MVC 5 October 31st, 2014, 12:20 AM
Replies: 3
Views: 1,346
Posted By JonGalloway
This can indicate a variety of problems with your...

This can indicate a variety of problems with your database connection. Which version of Visual Studio are you using? In you web.config, what does you data connection look like?

There are a lot of...
Forum: BOOK: Professional ASP.NET MVC 5 September 15th, 2014, 04:46 AM
Replies: 2
Views: 919
Posted By JonGalloway
Thanks for posting the solution, glad it's...

Thanks for posting the solution, glad it's working for you now.

Jon
Forum: BOOK: Professional ASP.NET MVC 5 September 15th, 2014, 04:44 AM
Replies: 1
Views: 1,859
Posted By JonGalloway
Stephen, Really sorry about that, it looks...

Stephen,

Really sorry about that, it looks like those code samples didn't get uploaded correctly. I resubmitted them and hope they'll be up soon. In the meantime, I've uploaded them temporarily to...
Forum: BOOK: Professional ASP.NET MVC 5 September 15th, 2014, 04:23 AM
Replies: 2
Views: 821
Posted By JonGalloway
Thanks for posting the update - all the code...

Thanks for posting the update - all the code samples in the book are in C#, and I honestly haven't written much VB.NET for several years (although it was my first .NET language) so I'd have been...
Forum: BOOK: Professional ASP.NET MVC 5 September 15th, 2014, 04:20 AM
Replies: 2
Views: 1,008
Posted By JonGalloway
Hi, Alan! Glad you're excited about the book and...

Hi, Alan! Glad you're excited about the book and hope it is meeting your expectations. I'll try to check in here regularly, but if I miss a thread you can ping me at jon.galloway@microsoft.com and...
Forum: BOOK: Professional ASP.NET MVC 4 August 21st, 2013, 03:25 AM
Replies: 1
Views: 1,666
Posted By JonGalloway
You might want to just include a Web Froms...

You might want to just include a Web Froms (.aspx) page in the site to display the SSRS report. You can add a Web Forms page to an ASP.NET MVC page - routing will see the page and render it just like...
Forum: BOOK: Professional ASP.NET MVC 4 August 21st, 2013, 03:21 AM
Replies: 14
Views: 3,123
Posted By JonGalloway
Sorry you're frustrated and unhappy. You might...

Sorry you're frustrated and unhappy. You might want to try Rick Anderson's Intro To MVC tutorial first. http://www.asp.net/mvc/tutorials/mvc-4/getting-started-with-aspnet-mvc4/intro-to-aspnet-mvc-4
Forum: BOOK: Professional ASP.NET MVC 4 August 21st, 2013, 03:18 AM
Replies: 14
Views: 3,123
Posted By JonGalloway
JD, I think you're posting in the wrong forum....

JD, I think you're posting in the wrong forum. This book isn't about Wordpress.
Forum: BOOK: Professional ASP.NET MVC 4 May 7th, 2013, 12:50 PM
Replies: 7
Views: 4,621
Posted By JonGalloway
Recompile

Rohan -

Glad you got that to work. Visual Studio determines the types that show up in the dropdown by reflecting over the assemblies, so it only sees the classes (or changes to the classes) when...
Forum: BOOK: Professional ASP.NET MVC 3 December 11th, 2011, 12:11 AM
Replies: 10
Views: 8,273
Posted By JonGalloway
@vvboyd I'm sorry you're having problems. Make...

@vvboyd I'm sorry you're having problems. Make sure you've got the software prerequisites installed (e.g. Visual Studio 2010 SP1 and MVC 3 Tools Update). Chapter 1 of the book - starting at page 11 -...
Showing results 1 to 25 of 35

 




Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.