services
.AddSolrExpress<TechProduct>(builder => builder
.UseOptions(options =>
{
// ... Other settings
options.Security = new SecurityOptions
{
AuthenticationType = AuthenticationType.Basic,
Password = "<YOUR PASSWORD>",
UserName = "<YOUR USER NAME>"
}
})
// ... Other settings
);