Posts (async)

This is a demonstration of GenericServices' database CRUD (Create, Read, Update/Edit and Delete) services done asynchronously, i.e. using Entity Framework 6's Async commands. Async commands are designed to free up the current thread while something outside the web server is running, in this case a database access. This should make the site able to handle more users, but the individual action takes a little bit longer. (See Posts for normal versions of the same commands).

Below you will see a table of posts which can be manipulated. We have chosen a POST as an example as it has the following attributes:


Create New Post | Go to TagsAsync Page | Reset blogs data Explanation of the code
BloggerName Title Last updated TagNames
Ada Lovelace About Ada Lovelace 11/08/2020 About Me Edit | Details | Delete
Ada Lovelace Thoughts on programming with a spanner 11/08/2020 Programming, My Opinion Edit | Details | Delete
Ada Lovelace Babbage engine - the internals 11/08/2020 Programming, Education Edit | Details | Delete
Ada Lovelace An algrorithm for winning on the horses 11/08/2020 Programming, Vices and Foibles, Personal Edit | Details | Delete
Ada Lovelace Women in programming - we got here first 11/08/2020 Programming, My Opinion, Personal Edit | Details | Delete
Sherlock Holmes About Sherlock Holmes 11/08/2020 About Me Edit | Details | Delete
Sherlock Holmes Sound qualities of 221b Baker Street 11/08/2020 Personal, Entertainment Edit | Details | Delete
Sherlock Holmes Using urchins as an information source 11/08/2020 Business Edit | Details | Delete
Sherlock Holmes My considered option on the TV adaptions of my life 11/08/2020 My Opinion, Entertainment Edit | Details | Delete
Homer Simpson About Homer Simpson 11/08/2020 About Me Edit | Details | Delete
Homer Simpson I am in love with Beer, oh sorry I meant Marge 11/08/2020 Vices and Foibles, Personal Edit | Details | Delete
Homer Simpson Homer's Php... No, pph... D'oh, PhD. 11/08/2020 Education Edit | Details | Delete
Yoni the cat Why I only have three legs 11/08/2020 Personal Edit | Details | Delete
Yoni the cat I might allow you to pet me... 11/08/2020 Vices and Foibles, Personal Edit | Details | Delete
Yoni the cat The 17 things humans do that I find annoying 11/08/2020 My Opinion, Personal Edit | Details | Delete
Delay for 500ms (async) Useful for checking capacity of web server