Integrate Search Into Your Site With ASP.NET

Windows Live™ Search crawls content on the Internet and also exposes search functionality to developers through a Web service that allows the search to be scoped down to just your site. You can then render the results however you see fit.

Microsoft® Office SharePoint® Server 2007 is another good choice. It's a complete site-building and management solution that also provides robust search functionality. Figure 1 shows the results of a SharePoint Search integrated into a custom ASP.NET page.

If you're only interested in enterprise search, you may opt for the Microsoft Office SharePoint Server (MOSS) 2007 for Search edition (rather than the Standard or Enterprise versions of MOSS). The main differences are the maximum number of documents they can index and the ability to index advanced content such as external databases. However, even with the Standard version of the Search edition you can index file shares, Exchange public folders, Windows SharePoint Services (WSS) sites, and external Web sites.

Comments

Popular posts from this blog

Last day I have faced a problem when working with "Anonymous Type". In development procedure I have got result from a service which return object made of anonymous type. The problem arise when I need to access property of anonymous type. After made some r&d I have got the solution. Now share with you ....

Solution 1: (use reflection to retrieve the values of the following anonymous type)

Today I have faced a problem when working with a previous developed ASP.NET MVC application. Just copy the database(.sdf) from previous version to new version. I have changed some validation and business logic. But when run the application it shows me the following error:

The model backing the 'MyDBContext' context has changed since the database was created. Either manually delete/update the database, or call Database.SetInitializer with an IDatabaseInitializer instance. For example, the DropCreateDatabaseIfModelChanges strategy will automatically delete and recreate the database, and optionally seed it with new data.

It was a running application after searching on community I have got the solution.

Solution 1:
However, even if you manually update the database to follow the model, this exception will still occur. The reason is that EF does not check model schema completely: tables, columns, keys, indexes etc.

It calculates a hash of the model and compares with the hash of model…

Very recently I have worked on asp.net MVC application. Everything is working fine for MVC v1. But when move to MVC v2 I have gotten this error-

"This request has been blocked because sensitive information could be disclosed to third party web sites when this is used in a GET request. To allow GET requests, set JsonRequestBehavior to AllowGet."

After making some r & d I have found the solution:

Reason:

In MVC v2 they block Json for GET requests (as you can tell from the error) for security reasons.

If your JSON payload:

1.Contains sensitive non-public data
2.Returns an Array
3.Responds to a GET request
4.Browser making the request has JavaScript enabled (very likely the case)
5.Browser making the request supports the __defineSetter__ method.

Then the data is vulnerable to a JSON hijacking. Typically, it's not *your* data but the data of the users of your website.

I am ex Microsoft Most Valuable Professional and work as a Senior Software Engineer having 10+ years of experiences in the
design, prototyping, development and deployment of various class of business solutions. I am interested on large scale business application, architectural design, algorithm etc. I am expertise at C#,ASP.NET,Dynamics 365,SharePoint,MS Dynamics CRM/AX ,Windows Azure, MSSQL,SSAS,SSIS and Oracle etc.