I'm little confused by the simple task )) We have to create Filters on the category page, similar to the filters in uBlogsby(tags, category, author). How we could do that ? Best Way and Faster ?
For example, take a look at "uBlogsy/Source/uBlogsy.Web/Views/Partials/uBlogsy/Landing/uBlogsyLandingListPosts.cshtml" in the Mvc branch.
It is completly possible to wire up a very simple filtering system using just a querystring variable and a .Where method on a collection in a Razor script. If this is what you're looking for, please let me know if you are using a Razor Macro or a Mvc View and I'll see if I have a example.
Filter Articles Performance
He everybody,
I'm little confused by the simple task )) We have to create Filters on the category page, similar to the filters in uBlogsby(tags, category, author). How we could do that ? Best Way and Faster ?
Thanks,
Alex
Hi Alex,
Seeing as you like how uBlogsy does what you need already have to taken a look at the source of uBlogsy to see if you could base what you need off it?
You can get the full source for uBlogsy from here https://bitbucket.org/anthonydotnet/ublogsy/
For example, take a look at "uBlogsy/Source/uBlogsy.Web/Views/Partials/uBlogsy/Landing/uBlogsyLandingListPosts.cshtml" in the Mvc branch.
It is completly possible to wire up a very simple filtering system using just a querystring variable and a .Where method on a collection in a Razor script. If this is what you're looking for, please let me know if you are using a Razor Macro or a Mvc View and I'll see if I have a example.
Thanks,
Jeavon
is working on a reply...