p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning ASP.NET 4 : in C# and VB (http://p2p.wrox.com/forumdisplay.php?f=560)
-   -   good book, I wished it has something about writing a search feature (http://p2p.wrox.com/showthread.php?t=82625)

coffeemixers February 16th, 2011 03:31 AM

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?

Imar February 16th, 2011 04:31 AM

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

coffeemixers February 16th, 2011 04:48 AM

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.

Imar February 16th, 2011 04:54 AM

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

coffeemixers February 16th, 2011 05:06 AM

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?

Imar February 16th, 2011 05:12 AM

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

coffeemixers February 16th, 2011 05:14 AM

Thanks Imar, and I hope that you will write another book about asp.net 4.0
practical component based book [:o]

coffeemixers February 16th, 2011 05:44 AM

Is it for free Imar? I read that I will pay $100 for every 20,000 searches. Or this is something else?

Imar February 16th, 2011 12:37 PM

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

coffeemixers February 16th, 2011 05:04 PM

Thanks Imar


All times are GMT -4. The time now is 08:42 PM.

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