|
| 1 | + |
| 2 | +<h1>RSCG nr 250 : Facet.Search</h1> |
| 3 | + |
| 4 | +<h2>Info</h2> |
| 5 | +Nuget : <a href="https://www.nuget.org/packages/Facet.Search/" target="_blank">https://www.nuget.org/packages/Facet.Search/</a> |
| 6 | + |
| 7 | +<p>You can find more details at : <a href="https://github.com/Tim-Maes/Facet.Search" target="_blank"> https://github.com/Tim-Maes/Facet.Search</a></p> |
| 8 | + |
| 9 | +<p>Author :Tim Maes</p> |
| 10 | + |
| 11 | +<p>Source: <a href="https://github.com/Tim-Maes/Facet.Search" target="_blank">https://github.com/Tim-Maes/Facet.Search</a> </p> |
| 12 | + |
| 13 | +<h2>About</h2> |
| 14 | + |
| 15 | +Generating search from C# clasess and propertiesIntegrating search in .NET applications |
| 16 | + |
| 17 | +<h2> |
| 18 | + How to use |
| 19 | +</h2> |
| 20 | +<h3> |
| 21 | + Add reference to the <a href="https://www.nuget.org/packages/Facet.Search/" target="_blank">Facet.Search</a> in the csproj |
| 22 | +</h3> |
| 23 | +<img src="images/Facet.Search/SearchDemo.csproj.png" width="580" height="580" /> |
| 24 | + |
| 25 | +<h3>This was for me the <b>starting</b> code</h3> |
| 26 | + |
| 27 | + <br /> |
| 28 | + I have <b>coded</b> the file Program.cs |
| 29 | + <br /> |
| 30 | + <img src="images/Facet.Search/csFiles/Program.cs.png" width="580" height="580" /> |
| 31 | + <hr /> |
| 32 | + |
| 33 | + <br /> |
| 34 | + I have <b>coded</b> the file Person.cs |
| 35 | + <br /> |
| 36 | + <img src="images/Facet.Search/csFiles/Person.cs.png" width="580" height="580" /> |
| 37 | + <hr /> |
| 38 | + <h3>And here are the <i>generated</i> files</h3> |
| 39 | + |
| 40 | + <br /> |
| 41 | + The file <i>generated</i> is PersonFacetAggregations.g.cs |
| 42 | + <br /> |
| 43 | + <img src="images/Facet.Search/generated/PersonFacetAggregations.g.cs.png" width="580" height="580" /> |
| 44 | + |
| 45 | + <br /> |
| 46 | + The file <i>generated</i> is PersonSearchExtensions.g.cs |
| 47 | + <br /> |
| 48 | + <img src="images/Facet.Search/generated/PersonSearchExtensions.g.cs.png" width="580" height="580" /> |
| 49 | + |
| 50 | + <br /> |
| 51 | + The file <i>generated</i> is PersonSearchFilter.g.cs |
| 52 | + <br /> |
| 53 | + <img src="images/Facet.Search/generated/PersonSearchFilter.g.cs.png" width="580" height="580" /> |
| 54 | + |
| 55 | + <br /> |
| 56 | + The file <i>generated</i> is PersonSearchMetadata.g.cs |
| 57 | + <br /> |
| 58 | + <img src="images/Facet.Search/generated/PersonSearchMetadata.g.cs.png" width="580" height="580" /> |
| 59 | + |
| 60 | +<p> |
| 61 | + You can download the code and this page as pdf from |
| 62 | + <a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/Facet.Search'> |
| 63 | + https://ignatandrei.github.io/RSCG_Examples/v2/docs/Facet.Search |
| 64 | + </a> |
| 65 | +</p> |
| 66 | + |
| 67 | + |
| 68 | +<p> |
| 69 | + You can see the whole list at |
| 70 | + <a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG'> |
| 71 | + https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG |
| 72 | + </a> |
| 73 | +</p> |
| 74 | + |
0 commit comments