Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4612670
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:26:02+00:00 2026-05-22T01:26:02+00:00

I have an existing website developped using ASP.NET MVC 3 and Entity Framework 4

  • 0

I have an existing website developped using ASP.NET MVC 3 and Entity Framework 4 querying an Sql Server 2008 database. It contains a search form with around 10 fields, and when the user clicks the submit button I dynamically create an Entity SQL request containing only the specified search fields, omitting the empty ones. It works. So far so good.

Now, the client wants a Full Text Search behavior for one of the fields. I see this request as being pretty complex because (AFAIK) :

  • Entity Framework does not natively supports full text search
  • I want to avoid stored procedures to wrap the FTS syntax because so far I’ve only used “static” SPs, keeping the logic in the .NET code. So I want to try to avoid building the query inside the procedure. And creating one procedure per possible search field combination is not an option.

Solutions I could think of so far :

  • Putting a stored procedure or user defined function as a seach preadicate in the WHERE clause (i’m not sure that’s possible though)
  • Getting the FTS results alone in a temporary table, and execute the other filters on that temporary table. I’m afraid of poor performances if there are a lot of FTS results with this technique…

What’s the best way for daeling with this ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T01:26:02+00:00Added an answer on May 22, 2026 at 1:26 am

    Can you not just use raw sql? then you can keep the logic in your .NET code.

    So, it would look something like:

    string sql = "DO FULLTEXT STUFF";
    MyObjectContext.ExecuteStoreQuery<MyEntity>(sql, .......);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an existing ASP.NET 2.0 website, stored in Team Foundation Server 2005. Some
I have an existing ASP.NET website which I would like to painlessly add CMS
I have an existing website using forms authentication with Sql provider. Now i am
I have an existing website using forms authentication with Sql provider. Now i am
I have a ASP.NET Website which was developed in ASP.NET 2.0. Now I want
Using IIS 7, I have an existing website, example.com, and I have added another
I have an ASP.NET web app where I use an ado sql connection to
I have built an ASP.NET MVC 3 web application (with exlusively Razor/cshtml pages) that
I have an existing asp.net c# application for which I'd like to implement a
I have an existing website that uses the same code base, but is deployed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.