Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5 > BOOK: Beginning ASP.NET 4.5 : in C# and VB
| 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 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 5th, 2014, 12:16 PM
Authorized User
Points: 416, Level: 7
Points: 416, Level: 7 Points: 416, Level: 7 Points: 416, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2013
Posts: 84
Thanks: 29
Thanked 2 Times in 2 Posts
Default Ch 17 Provider functionality in Web Application Projects

Hi Imar,

The opening text in Ch 17 cautions that the profile feature doesn't work in Web Application Projects. That raises a few questions/requests for confirmation:

1 - Please confirm that the Provider features of Membership, Role Manager and Session State (not sure what this is yet) function the same in Application Projects as they do in Website Projects.

2 - Is there an easy explanation why Profile doesn't work in Application Projects?

3 - Will we learn in the Professional ASP.NET 4.5 : in C# and VB book how to perform the profile task in an Application Project?

4 - It is clear from the progress of the exercises in this book that the Website Project was far easier to work with for this purpose. But it seems if we want to have a more controlled and automatic process for managing a website we will need to use the Application Project. Do you agree with this or have some other considerations to add regarding the decision to use Application versus Website Projects?

Thanks.

Best Regards,
Alan
 
Old February 5th, 2014, 05:48 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Alan,

1) Yes, those all work exactly the same.

2) Short version: web sites use run-time compilation and as such your specific Profile can be compiled into the Page class. Web Application Project compile at design time.

3) I don't know.

4) It depends on what you mean with "controlled and automatic process". You can certainly build web sites in a controlled and automatic way as well, using things like TFS for source control, the Web Publish Wizard (that is now available in VS 2013 for Web Site Projects) and more.

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!
The Following User Says Thank You to Imar For This Useful Post:
AlanWheeler (February 5th, 2014)
 
Old February 5th, 2014, 08:05 PM
Authorized User
Points: 416, Level: 7
Points: 416, Level: 7 Points: 416, Level: 7 Points: 416, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2013
Posts: 84
Thanks: 29
Thanked 2 Times in 2 Posts
Default

Hi Imar,

Thanks. Especially the reminder about source control, etc.

Before your course I would have thought I needed to use a Web Application Project, but now I think for starting up, the Website Project will be significantly more time efficient and still afford most of what is needed to maintain good control of the site for some time to come. It also doesn't seem worth it to complicate the Profile capability early on since, as you point out, profiles are so important to a good UX.

Best Regards,
Alan




Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch. 17, Exercise 1, p. 652 krzys18asp BOOK: Beginning ASP.NET 4 : in C# and VB 2 May 15th, 2013 05:12 AM
Ch 17 LINQ to SQL sirmilt BOOK: Beginning Microsoft Visual Basic 2008 ISBN: 978-0-470-19134-7 0 May 29th, 2011 05:37 PM
CH 17 - Assemblies equintana71 BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8 1 May 17th, 2011 09:20 PM
Browsed web projects don't appear in recent projects list? Ron Howerton Visual Studio 2008 0 June 23rd, 2010 12:52 PM
Having problems with the Group Projects Panel Ch.9 Bo.B.B BOOK: Beginning VB.NET Databases 4 October 21st, 2005 05:27 PM





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