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: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 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
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 2nd, 2010, 02:02 PM
Registered User
 
Join Date: Jun 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Bug Base

Hi Imaar,
I wish i had seen this book before. one of the best books for beginners. Well done.....!!
My question might look rubbish but being beginner...i cant help.
I have installed BugBase successfully and trying to understand the flow for the past 5 days but in vein.
Now i want to make it on my own from scratch. i want to know
1) how will i create aspnetdb?
2) how will i create roles?
3)can i have different menus for person of same roles??
4)in the blank user database how will i login without creating users? Do i need to create users in back end?
5) and last......if u have,can u share the flow diagram for this application?

Regards
Ajay
  #2 (permalink)  
Old June 2nd, 2010, 02:15 PM
Imar's Avatar
Wrox Author
Points: 71,768, Level: 100
Points: 71,768, Level: 100 Points: 71,768, Level: 100 Points: 71,768, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,031
Thanks: 80
Thanked 1,580 Times in 1,557 Posts
Default

Hi there,

Besides this book you may want to pick up another beginners book like Beginning ASP.NET 3.5 / 4 or Beginning Security as these topivs are dealt with in those books extensively. ASP.NET Instant Results isn't meant as a beginners book and as such I briefly answer your questions with some follow up pointers:

1) how will i create aspnetdb?
It's created automatically by the ASP.NET Application Services once you use one of the Login controls. Search this forum or Google for aspnet_regsql for a tool to modify an existing database with the security schema.

2) how will i create roles?
Use the API (Roles.CreateRole) or the Web Site Administration Tool

3)can i have different menus for person of same roles??
Yes, you can use Roles.IsUserInRole to determine if a user is in a specific role and act accordingly.

4)in the blank user database how will i login without creating users? Do i need to create users in back end?
You can't. You log in with a user. Check the book for the user name and password or use the Web Site Administration Tool to create users,

5) and last......if u have,can u share the flow diagram for this application?
Nope, don't have it.

You can find more information on most of my answers by entering the relevant terms in a search engine such as Google.

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!
  #3 (permalink)  
Old June 5th, 2010, 08:52 AM
Registered User
 
Join Date: Jun 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default BugBase

Hi Imar,
I am working on BugBase with scratch.
After creating ASPNETDB, i made a default page. After this, through Website Administration Tool i created five user and five roles.
But when i opened the tables in ASPNETDB, those users/roles were not there in any of the tables?
I wonder where they were stored?
I didnt write a single code for default page.
Regards
Ajay
  #4 (permalink)  
Old June 5th, 2010, 10:37 AM
Imar's Avatar
Wrox Author
Points: 71,768, Level: 100
Points: 71,768, Level: 100 Points: 71,768, Level: 100 Points: 71,768, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,031
Thanks: 80
Thanked 1,580 Times in 1,557 Posts
Default

Hi there,

Take a look at page 410 and 411....

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!
  #5 (permalink)  
Old May 11th, 2011, 03:43 PM
Registered User
 
Join Date: May 2011
Location: Los Angeles Ca
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Arrow My project centers around the concepts used in the Asp.Net 2.0 Instant Results princ

My project centers around the concepts used in the Asp.Net 2.0 Instant Results principally, the material in connection with Chapter 12.

My interest is on using the concepts in that chapter to build a similar concept with different business sources approaching the idea in chap 12; or its pattern .

At present, I am using trial edition of the sql server 2010, with an instance that has successfully map to my [Sql database]. However, net program does not allow me to retrieve the contents inside my App _code folder ; as it is not showing up in my aspx designer application (or wizard).

Essentially , the designer mode will not bind the controls to Object Data Source or even recognize the pertinent class files located in my program. It only recognizes the Sql data sources.
  #6 (permalink)  
Old May 12th, 2011, 04:51 AM
Imar's Avatar
Wrox Author
Points: 71,768, Level: 100
Points: 71,768, Level: 100 Points: 71,768, Level: 100 Points: 71,768, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,031
Thanks: 80
Thanked 1,580 Times in 1,557 Posts
Default

Hi there,

I am not sure what the problem is? Can you elaborate and provide us with the following information:

1. The steps you're carrying out in VS, what you are expecting to see, and what you see instead

2. Structure of your site (location on disk, App_Code folder and so on)

3. Whether you're using a Web Site Project or a Web Application Project.

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!
 


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
Bug Base In C# vasancer BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 3 October 22nd, 2008 01:20 PM
Bug Base jackandjo BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 2 January 22nd, 2008 01:31 PM
bug base/DAL ursinho99 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 3 July 23rd, 2007 01:07 AM
Bug Base Query cf2006 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 7 December 23rd, 2006 09:55 AM
Editing Bug Base cf2006 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 6 August 19th, 2006 05:56 PM



All times are GMT -4. The time now is 02:17 AM.


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