Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : 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 December 22nd, 2011, 07:04 PM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default Heavily typed dataset?

Do LINQ and Entity framework fall under the category of being heavily typed datasets? If not what is the difference?
 
Old December 22nd, 2011, 07:07 PM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default

I am sorry I meant to say strongly typed datasets. And also can you implement LINQ and ETF the same way for C# apps using windows forms as you do C# apps using webforms or are they different?
 
Old December 23rd, 2011, 03:54 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

No, on the contrary. Strongly typed datasets was Microsoft's previous solution to data access. The Entity Framework takes a different approach which creates entities based on your database (or the other way around if you use EF Code First).

LINQ is more of an umbrella name and is available for many data sources, such as LINQ to Objects, LNQ to XML, LINQ for EF and LINQ for DataSets.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old December 27th, 2011, 08:20 PM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default Please be patient with me.

I don't recall really well but when you create an ETF for a web based browser application do you use the mapping details window in Visual Studio 2010 project? Do you use the Model Browser? Do you create a .edmx file in Visual Studio 2010 that creates the class structure for the web application?
Thank you for your attention to this question.
 
Old December 27th, 2011, 08:25 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Take a look at Chaper 14, page 481 and further to see how to create a new model from a database. After that, you can use the tools you mention to manage the model.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old December 27th, 2011, 08:40 PM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default

Thanks for answering so promptly. I was currently reading Murachs book on ADO.NET database programming with C# 2010 in the book they strictly use ETF examples for windows forms in Visual Studio 2010 and not web based webforms so I was just curious if ETF applications for windows forms were created in much the same manner in which web forms were created, and if so do they use the same tool sets like the mapping details window, the model browser, and edmx files.
 
Old December 27th, 2011, 08:47 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

The best way to find that out is to simply try it: create various types of appliations, and experiment.... ;-) You'll see the tools are all the same.

The way you deal with the object context is different though. In a web app, you create one per request, while desktop apps tend to have object contexts that survive longer.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old December 27th, 2011, 08:55 PM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default Real quick question.

Is there a good book you can recommend on how to learn JQuery? Any suggestions? Thank you for your polite and kind attention to this matter.
 
Old December 28th, 2011, 04:26 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

You can take a look at Beginning JavaScript and CSS Development with jQuery from Wrox (http://www.wrox.com/WileyCDA/WroxTit...470227796.html).

Alternatively, Learning jQuery by Karl Swedberg and others might be an interesting option too.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old December 28th, 2011, 07:10 PM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default Cool JQuery Websites

Speaking of which, seeing as how your books makes work of JQuery Pluggins do you know of any websites that offer some really cool JQuery pluggins that can be downloaded and used?
Thanks for your attention to this matter!
PS
I was just curious why you didn't in your book make us of stored procedures?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with typed dataset. chobo2 ASP.NET 3.5 Basics 4 March 15th, 2009 05:00 PM
Create new row using a typed dataset humour ASP.NET 2.0 Professional 0 May 9th, 2008 09:49 PM
insert nulls using a typed dataset humour ASP.NET 2.0 Professional 3 April 16th, 2008 05:17 AM
Converting a untyped dataset to a typed dataset daphnean Visual Studio 2005 0 July 13th, 2006 01:16 AM
What Are Typed Dataset vinod_pawar1 ADO.NET 2 May 13th, 2005 04:52 AM





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