Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Beginning ASP.NET 4 : in C# and VB
|
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
 
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?
 
Old February 16th, 2011, 04:31 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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!
 
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.
 
Old February 16th, 2011, 04:54 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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!
 
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?
 
Old February 16th, 2011, 05:12 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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!
 
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
 
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?
 
Old February 16th, 2011, 12:37 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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!
 
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





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





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