sample code or API to create a search page in IIS to use Windows Search (formely Index Service)

Antoine Grier 1 Reputation point
2021-03-04T20:01:35.11+00:00

Hi All, I'm not a coder so forgive me in advance if i use some incorrect terms here.... I have a task where I am trying to find sample code or API for creating a search page that will use the Windows Search Service on a windows 2012 server. I understand prior to Win2012, this was called indexing service and a web interface could be created to call the Index engine through HTML. I've been searching with little luck finding an example of this for win2012 windows search so any help would be greatly appreciated.

Developer technologies ASP.NET ASP.NET Core
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sam Wu-MSFT 7,561 Reputation points Microsoft External Staff
    2021-03-05T02:16:17.183+00:00

    Hi @Antoine Grier

    Here is a link about Windows Search Code Samples you can use as a reference: Windows Search Code Samples.

    And here is a link about how to enable the Windows Search service in Windows Server 2012: How to enable the Windows Search service in Windows Server 2012.


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.