 |
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 18th, 2012, 07:41 AM
|
|
Authorized User
|
|
Join Date: Feb 2011
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Overriding the setting of the application servicese
I have one extra line, not mentioned in your changing of the code (pg 774):
Code:
<add name="AspNetWindowsTokenRoleProvider" applicationName="/" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
What do I do with it?
Also once I got the web config working with the code, do I remove all entries from machine config?
Regards
Lee
Last edited by friendl; December 18th, 2012 at 08:41 AM..
|
|

December 19th, 2012, 03:40 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi Lee,
>> I have one extra line, not mentioned in your changing of the code (pg 774)
You can remove it, as roles are handled by the Role provider.
>> Also once I got the web config working with the code, do I remove all entries from machine config?
No, you shouldn't modify the machine.config. Overriding stuff at the web.config level is enough for your apps to work just fine.
Cheers,
Imar
|
|

December 19th, 2012, 03:41 PM
|
|
Authorized User
|
|
Join Date: Feb 2011
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Does the clear command allow override?
|
|

December 19th, 2012, 03:49 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
I am not sure I understand what you're asking....
Imar
|
|

December 19th, 2012, 03:52 PM
|
|
Authorized User
|
|
Join Date: Feb 2011
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Imar
I am not sure I understand what you're asking....
Imar
|
Sorry, Having the code at Web.config always override machine.config?
|
|

December 19th, 2012, 04:10 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Yes. However, some settings are not overridable so you can have some stuff in Machine.config that you cannot change in web.config.
Cheers,
Imar
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| ASPNETDB.mdf |
zdb5000 |
BOOK: Professional ASP.NET 4 : in C# and VB |
3 |
July 14th, 2011 01:01 PM |
| about ASPNetDB.mdf |
bela_sush |
ASP.NET 3.5 Basics |
1 |
October 18th, 2010 12:14 PM |
| ASPNETDB.mdf |
Will |
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 |
3 |
April 27th, 2009 01:07 PM |
| aspnetdb.mdf |
Jackxxx |
ASP.NET 2.0 Basics |
0 |
January 9th, 2007 01:37 PM |
| ASPNETDB |
sanindia |
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 |
3 |
October 27th, 2006 05:56 PM |
|
 |
|