Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 35
Search took 0.02 seconds.
Search: Posts Made By: JonGalloway
Forum: BOOK: Professional ASP.NET MVC 5 January 28th, 2015, 03:22 PM
Replies: 3
Views: 1,135
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, 03:08 PM
Replies: 9
Views: 2,369
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, 02:06 AM
Replies: 3
Views: 1,135
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, 01:59 AM
Replies: 2
Views: 1,391
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, 01:56 AM
Replies: 1
Views: 548
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, 01:52 AM
Replies: 2
Views: 869
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, 03:35 AM
Replies: 4
Views: 1,288
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, 03:32 AM
Replies: 3
Views: 877
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, 12:27 AM
Replies: 3
Views: 949
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, 12:24 AM
Replies: 1
Views: 885
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...
Forum: BOOK: Professional ASP.NET MVC 5 January 7th, 2015, 03:25 AM
Replies: 2
Views: 576
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, 03:21 AM
Replies: 2
Views: 1,081
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,020
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: 850
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,578
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,178
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: 799
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,581
Posted By JonGalloway
Stephen, Really sorry about that, it looks like...

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: 659
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: 897
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,529
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: 2,794
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: 2,794
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,243
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 you...
Forum: BOOK: Professional ASP.NET MVC 3 December 10th, 2011, 11:11 PM
Replies: 10
Views: 7,800
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

 


All times are GMT -4. The time now is 08:36 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.