 |
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
|
|
|
|
|

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

December 22nd, 2011, 07:07 PM
|
|
Friend of Wrox
|
|
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
|
|
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?
|
|

December 23rd, 2011, 03:54 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

December 27th, 2011, 08:20 PM
|
|
Friend of Wrox
|
|
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
|
|
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.
|
|

December 27th, 2011, 08:25 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

December 27th, 2011, 08:40 PM
|
|
Friend of Wrox
|
|
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
|
|
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.
|
|

December 27th, 2011, 08:47 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

December 27th, 2011, 08:55 PM
|
|
Friend of Wrox
|
|
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
|
|
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.
|
|

December 28th, 2011, 04:26 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

December 28th, 2011, 07:10 PM
|
|
Friend of Wrox
|
|
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
|
|
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?
|
|
 |
|