Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : in C# and VB 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 15th, 2013, 08:40 PM
Friend of Wrox
Points: 1,905, Level: 17
Points: 1,905, Level: 17 Points: 1,905, Level: 17 Points: 1,905, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default Entity Framework

Just curious does Visual Studio 2012 require that you use NUGET package manager to make reference in your project for the latest version of entity framework? I have been working a lot lately with MVC 4.0 and I know that that is the way it is done. The latest version entity framework is referenced using NUGET Package Manager, then the data for the Models a is accessed via the interface for the DBContext method. Same thing right for web forms right?
Reply With Quote
  #2 (permalink)  
Old January 16th, 2013, 04:25 PM
Imar's Avatar
Wrox Author
Points: 71,078, Level: 100
Points: 71,078, Level: 100 Points: 71,078, Level: 100 Points: 71,078, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,931
Thanks: 79
Thanked 1,553 Times in 1,530 Posts
Default

Yes, but you don't have to add EF using NuGet. You can also add a normal reference, but NuGet is generally easier.

When you add a new EF model to your site, VS takes care of wiring things up for you.

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!
Reply With Quote
  #3 (permalink)  
Old January 16th, 2013, 08:35 PM
Friend of Wrox
Points: 1,905, Level: 17
Points: 1,905, Level: 17 Points: 1,905, Level: 17 Points: 1,905, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default Pluggins?

So does the cheap freebie edition of Visual Studio 2012 make provisions for installing add-ins like NuGet package manager, Ninject dependency injection containers, and MOQ unit testing? Can you set up unit test suites with the cheap, freebie edition of Visual Studio 2012? Also in your book do you go over in detail the installation process of downloading and installing the cheap, freebie edition of Visual Studio 2012? Are their any download glitches that we need to be made more aware of?

Thanks for being so responsive to all of our questions. You have been really great about it all. Kudos for you for doing that. Most of the other authors here on the Wrox P2P couldn't really spend more than two seconds responding to user questions. You go above and beyond the call of duty and you deserve some congrats for that.
Reply With Quote
  #4 (permalink)  
Old January 18th, 2013, 06:07 AM
Imar's Avatar
Wrox Author
Points: 71,078, Level: 100
Points: 71,078, Level: 100 Points: 71,078, Level: 100 Points: 71,078, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,931
Thanks: 79
Thanked 1,553 Times in 1,530 Posts
Default

Yes, the free Express edition supports NuGet. It doesn't support other extensions but they made an exception for NuGet.

Using NuGet you can install stuff like Ninject in your application, even in the free Express editions; Ninjectand the like are not VS extensions; they are just assemblies referenced by your project which is fully support in the Express editions.

And yes, unit testing is support in the Express edition and book shows how to acquire and install the free Express edition (you need to download the web installer and then hit Install).

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!
Reply With Quote
  #5 (permalink)  
Old January 18th, 2013, 10:09 AM
Friend of Wrox
Points: 1,905, Level: 17
Points: 1,905, Level: 17 Points: 1,905, Level: 17 Points: 1,905, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default Nuget comes automatically with Visual Studio Express?

Does Nuget come automatically with Visual Studio Experess or do you have to download that and install it separately?
Reply With Quote
  #6 (permalink)  
Old January 18th, 2013, 10:48 AM
Imar's Avatar
Wrox Author
Points: 71,078, Level: 100
Points: 71,078, Level: 100 Points: 71,078, Level: 100 Points: 71,078, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,931
Thanks: 79
Thanked 1,553 Times in 1,530 Posts
Default

Yes, it comes bundled with Visual Studio 2012, including the Express editions.

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!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Entity Framework Question nanonerd BOOK: Beginning ASP.NET 4 : in C# and VB 3 January 15th, 2012 06:59 AM
Entity Framework Code First 4.1 JackHerr BOOK: Professional ASP.NET MVC 3 3 September 16th, 2011 05:15 PM
Entity Framework with ACCESS? lsochia BOOK: Beginning ASP.NET 4 : in C# and VB 3 March 18th, 2011 04:07 PM
Switching To entity framework luckystar BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio 0 July 31st, 2009 09:52 PM



All times are GMT -4. The time now is 05:06 AM.


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