Wrox Programmer Forums
BOOK: Professional ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Professional ASP.NET 4.5 in C# and VB by Jason N. Gaylord, Christian Wenz, Pranav Rastogi, Todd Miranda, Scott Hanselman; ISBN: 978-1-1183-1182-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 4.5 : in C# and VB 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
Old February 12th, 2014, 05:38 PM
Authorized User
Join Date: Dec 2011
Posts: 86
Thanks: 20
Thanked 3 Times in 3 Posts
Default JSON and EF Naming Issue

Perhaps you would like to address a problem related to these topics in your book:

Starting on page 405 you deal with LINQ to Entities
Starting on page 515 you address ASP.NET WEB API
On page 974 you reference $.getJSON

I'm creating a web site in VS2013 that needs to be based upon an html page but still needs DB access. I'm using JSON and the Web API to get data from an SQL Server 2012 DB using EF6 and linq in VB. I'm experiencing a failure with JSON related to DB field naming conflicts. The nearly identical code works perfectly if tested with an ASP page using a Gridview and code behind. I've posted the details of the problem on Stack Overflow at Here - I could repost the details here if preferred.

I've not found any way to deal with this problem and it seems it might be an actual limitation of these combined technologies. I'd greatly appreciate knowing if this is an actual limitation or there is something I'm failing to do. Thanks.

Similar Threads
Thread Thread Starter Forum Replies Last Post
integrate aspnet membership objects with EF sophia ASP.NET 4 General Discussion 9 August 15th, 2013 01:37 PM
connectionString using EF nanonerd ASP.NET 4 General Discussion 6 July 19th, 2012 01:28 PM
DataContext Lifetime : Structure Map + EF fillie76 BOOK: Professional ASP.NET Design Patterns 0 January 6th, 2012 02:20 PM
LINQ to EF eqiuvalent for SQL LIKE malie22001 BOOK: Beginning ASP.NET 4 : in C# and VB 2 December 13th, 2011 05:42 AM
Generic Question and EF vbboyd BOOK: Beginning ASP.NET 4 : in C# and VB 4 May 19th, 2011 04:14 PM

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