Create BlogProject solution
Create domain classes
Create data access classes and methods
Create interface IBlogRepository.cs.
Create class with name BlogRepository in the core project and implement the interface
Configure Ninject for BlogSolution.Core project
Create an Ninject module class with name RepositoryModule that bind both interfaces: NHibernate ISession and ISessionFactory in the BlogSolution.Core project
Configure Ninject for MVC project
Create controller and actions BlogController.cs and ListViewModel.cs
Setting up the theme and layout
Fixing anchor links
Create a partial view that displays the details of a single post _PostTemplate.cshtml
Create the html-helpers for post heading, category and tag (single) links in ActionLinkExtensions.cs
For reusable declarative html helpers we have to create a cshtml file in the App_Code folder
In the List iterate the posts collection and render each post using the _PostTemplate partial view
Create a partial view _Pager.cshtml under the Shared folder to show on the pages links: next and previous
Fixing Routes
Specifying connection string in web.config
First start of the project
Create repository methods to fetch posts, total posts and category based on slug
Create an action to return posts belongs a particular category
Define a new route in RouteConfig.cs file
Create repository methods to fetch posts, total posts and tag based on slug
Create an action to return posts for a particular tag
Define a new route in RouteConfig.cs file
Create a partial view to display the search textbox