Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Something like Smarty in ASP.NET?

Recently, I was working with PHP.
In PHP we have a powerful template engine like Smarty.

Do we have something like Smarty in ASP.NET ?

like image 885
Mohammad Dayyan Avatar asked Apr 18 '10 16:04

Mohammad Dayyan


2 Answers

Quick google search :

Try one of these :) http://csharp-source.net/open-source/template-engines

like image 197
Shuwaiee Avatar answered Sep 27 '22 16:09

Shuwaiee


Well, you could argue that all ASP.NET webform pages are similar to templates, as they don't need to (and usually don't) have any application logic within the .aspx pages (it all goes in the codebehind). However, you might find that ASP.NET MVC is even more like what you are familiar with. ASP.NET MVC supports a number of view engines, too.

like image 31
Dan Diplo Avatar answered Sep 27 '22 17:09

Dan Diplo