Razor and Wijmo

Posted by: richardcastro on 9 September 2017, 8:18 am EST

  • Posted 9 September 2017, 8:18 am EST

    I've just seen some of the sample of Wijmo and it seems it will make web programming easier and better. However, Razor is introduced by Microsoft to be the view engine for MVC. I'm just wondering if these two (Razor and Wijmo) can be used simultaneously in one project or these two will become one in the future. Any ideas to help me on the differences will be highly appreciated. Thanks.

    Ricky
  • Replied 9 September 2017, 8:18 am EST

    Ricky,

    Our tools use Razor. Here is how the tooling breaks down and the difference between Razor and Wijmo.

    Both Microsoft's and our tools use Razor to render HTML. It can be used to create things like a TextBox or Hyperlinks. Razor is just a clean programming syntax to make generating HTML cleaner and easier.

    Wijmo is then used as a jQuery syntax to turn the generated HTML into jQuery UI widgets. Wijmo widgets add style and interaction to simple HTML markup.

    So the two work in tandem. Razor renders the HTML from the server and Wijmo enhances it in JavaScript/jQuery on the client.

    Hope that helps. Let me know if you have any other questions.
  • Replied 9 September 2017, 8:18 am EST

    Hi ChrisB,

    Thanks a lot for your explanation. It's now clear to me the relations and functions of Razor and Wijmo in web application development. And those grid, chart, etc. used in the demos are jQuery UI widgets or Wijmo widgets as you called them. I really can't wait to try MVC Wijmo.
    Thanks again and keep up the good job.

    Ricky
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels