Reputation: 8553
I am trying to get a handle on Solrnet and interacting an ASP.NET site with a Solr server. However, the sample app (on the code repository) is MVC based ,does anyone know of a version in plain vanilla ASP.NET?
Thanks
Upvotes: 0
Views: 3679
Reputation: 139
This is little late. But for people still looking for Solrnet /ASP.NET sample without MVC can look at the following: http://crazorsharp.blogspot.com/2010/01/full-text-search-using-solr-lucene-and.html http://blog.dileno.com/archive/201009/get-started-using-solr-for-search-with-aspnet/
Upvotes: 1
Reputation: 99740
There aren't any major differences really:
var solr = ServiceLocator.Current.GetInstance<ISolrOperations<MyDocumentClass>>()
), (in MVC it's easy to instead inject the interface using an IoC container)Upvotes: 4