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

January 15th, 2013, 09:40 PM
|
|
Friend of Wrox
|
|
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
|
|
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?
|
|

January 16th, 2013, 05:25 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

January 16th, 2013, 09:35 PM
|
|
Friend of Wrox
|
|
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
|
|
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.
|
|

January 18th, 2013, 07:07 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

January 18th, 2013, 11:09 AM
|
|
Friend of Wrox
|
|
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
|
|
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?
|
|

January 18th, 2013, 11:48 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Yes, it comes bundled with Visual Studio 2012, including the Express editions.
Cheers,
Imar
|
|
 |
|