Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Beginning ASP.NET 4 : in C# and VB
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 Search this Thread Display Modes
  #1 (permalink)  
Old February 16th, 2011, 03:31 AM
Registered User
 
Join Date: Feb 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default good book, I wished it has something about writing a search feature

Hi,

Very informative book, delivery through amazon is good. But I didn't find what I wanted, I want to know how to write code for implementing a ASP.NET search feature at the website. Not a database search, I want search the .aspx pages using the search keywords.
Where would I find that?
Reply With Quote
  #2 (permalink)  
Old February 16th, 2011, 04:31 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

It depends on what you want to do, and how you want to do it.

Once option is to use Microsoft Search Server which can crawl your pages and make them searchable.

If you're looking for a simpler solution, you could also use Google's client side search facilities. This allows you to implement search in no-time, leaving crawling, indexing and searching to Google. For this to work, you do need to have a public web site of course.

There are other alternatives as well. What exactly are you trying to accomplish? When you say "search the .aspx pages" do you mean their contents on disk, or their http output?

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 February 16th, 2011, 04:48 AM
Registered User
 
Join Date: Feb 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar,

I want have a search box into my website so that readers would type any keyword and get a result from within my website. I don't have a database in my asp.net website. it's all aspx pages
I want implement my own search engine is it difficult? I have 400 pages in my website and it's growing.
Reply With Quote
  #4 (permalink)  
Old February 16th, 2011, 04:54 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Quote:
I want implement my own search engine is it difficult?
it is, if you really want to create your own engine. You need to crawl and index your pages, and build a query and search engine.

Is the Google client search an option for you?

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 February 16th, 2011, 05:06 AM
Registered User
 
Join Date: Feb 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I really don't know Imar, I'm not familiar with how search engines work. What do you suggest? google search client?
But I would love to build my own engine though, could you refer me to a book or a chapter about that? an article maybe?
Reply With Quote
  #6 (permalink)  
Old February 16th, 2011, 05:12 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Take a look here and see if it fits your needs:

http://code.google.com/apis/customsearch/
http://www.google.com/support/custom...py?topic=11444

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
  #7 (permalink)  
Old February 16th, 2011, 05:14 AM
Registered User
 
Join Date: Feb 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Imar, and I hope that you will write another book about asp.net 4.0
practical component based book
Reply With Quote
  #8 (permalink)  
Old February 16th, 2011, 05:44 AM
Registered User
 
Join Date: Feb 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is it for free Imar? I read that I will pay $100 for every 20,000 searches. Or this is something else?
Reply With Quote
  #9 (permalink)  
Old February 16th, 2011, 12:37 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

I think it depends on the version you choose and your requirements. On this page:

http://www.google.com/cse/manage/create

you can choose the free addition, which also features ads. Commercial versions start at $ 100 a year.

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
  #10 (permalink)  
Old February 16th, 2011, 05:04 PM
Registered User
 
Join Date: Feb 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Imar
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
This book is very good. Shawdren BOOK: Professional ASP.NET Design Patterns 6 February 5th, 2011 11:04 AM
Good In-between book? wilbo ASP.NET 2.0 Basics 0 April 18th, 2008 09:37 AM
Want to implemtn Search feature vinu123 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 February 9th, 2007 02:36 AM
search feature Adam H-W Classic ASP Databases 1 July 17th, 2003 05:20 AM



All times are GMT -4. The time now is 09:15 PM.


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