Searching for ( RAZOR )

Using MVC Model in javascript

Added by Nasir Mahmood updated on Friday, November 7, 2014

Previously while working on Mapping project, I need to pass model of razor view to javascript function because function parameters change any time, there is a solution to pass parameters individually but handling these parameters is another issue more over situation is more worst when number of parameters grows up .So I decided to find a way to pass whole model as a parameter to javascript function.

Step by Step Tutorial to Make Paging using Bootstrap & MVC ASP.NET

Added by Nasir Mahmood updated on Thursday, October 24, 2013

Websites often required implementing paging solution due to increasing amount of data. At the same time eye catching UI is also required. This is step by step guide for such developers who want to implement paging using ASP.Net MVC & Bootstrap.

  • ASP.Net MVC Project Setting
  • Implementation of PostModel & PostViewModel
  • Implementation of Post Repository
  • Data generation for site
  • Implementation of PageInfo Model
  • Implementation of BootstrapPager
  • Glue up all components

Razor View Tips, Tricks & Hacks

Added by Nasir Mahmood updated on Thursday, October 24, 2013

Razor View Tips, Tricks & Hacks
This tutorial contain detail of ...

  • Code Nuggets & Code Blocks
  • Mixing Text and Code
  • Server Side Comments
  • Render HTML as Code
  • Character escaping
  • Data Type conversion and testing
  • ... and more ...


32 Tutorials
27 Snippets
6 Products


Contact Us

Contact us

Stay Connected