DotNetShoutout - Stories tagged with Razor
4
Shouts

Razor Themed View Engine for multi-themes site - Context is King

posted by thangchungthangchung 714 days, 5 hours, 33 minutes ago
Thursday, June 09, 2011 6:00:52 PM GMT
Have you ever implemented a multi-themes site using Razor view engine? Yes it is really good to do that. Specially, you can do it and make it work well with Razor. I spent a lot of time to investigate this problem. After searched on Google, I had found some of links very useful about this topic. But all of them also implemented in ASP.NET MVC 2.0 and custom a WebformViewEngine. So I know I must work with it from scratch. But no problem, I decided to... (more)
category: Web Dev | clicked: 10 | comment | | source: weblogs.asp.net
tags: Razor
4
Shouts

Ready, set, scaffold! Build ASP.NET MVC 3 applications quickly with MvcScaffolding - Rachel Appel

published 738 days, 11 hours, 44 minutes ago posted by StevesSteves 739 days, 10 hours, 18 minutes ago
Monday, May 16, 2011 11:49:14 AM GMT Sunday, May 15, 2011 1:15:03 PM GMT
If you're building ASP.NET MVC 3 applications, you'll want to know about the MvcScaffolding project on CodePlex. Software scaffolding is a way to template software applications so that you can easily get a site up and running, with complete CRUD functionality.  What is MvcScaffolding and why use it? MvcScaffolding is tool available to... (more)
category: Web Dev | clicked: 12 | 1 comment | | source: www.rachelappel.com
tags: ASP.NET MVC, Entity Framework, ASPNETMVC, MvcScaffolding, Razor, MVC, ASP.NET
7
Shouts

ASP.NET MVC 3 and the @helper syntax within Razor - ScottGu's Blog

published 738 days, 11 hours, 44 minutes ago posted by iftekharahmedamitiftekharahmedamit 741 days, 8 hours, 38 minutes ago
Monday, May 16, 2011 11:49:14 AM GMT Friday, May 13, 2011 2:55:13 PM GMT
ASP.NET MVC 3 supports a new view-engine option called “Razor” (in addition to continuing to support/enhance the existing .aspx view engine).  Razor minimizes the number of characters and keystrokes required when writing a view template, and enables a fast, fluid coding workflow. Unlike most template syntaxes, with Razor you do not need to interrupt your coding to explicitly denote the start and end of server blocks within your HTML. The Razor parser is smart enough to infer this from your code. This en... (more)
category: Web Dev | clicked: 10 | 1 comment | | source: weblogs.asp.net
tags: ASP.NET MVC 3, ASP.NET MVC, ASPNETMVC, MVC 3, Razor, ASP.NET
7
Shouts

Migrate to ASP.NET MVC 3 by leveraging your ASP.NET Web Forms skills - Rachel Appel

published 750 days, 10 hours, 39 minutes ago posted by iftekharahmedamitiftekharahmedamit 751 days, 9 hours, 49 minutes ago
Wednesday, May 04, 2011 12:54:12 PM GMT Tuesday, May 03, 2011 1:44:16 PM GMT
Whenever a new technology or product comes onto the developer scene, people want to know how to best leverage their existing skills to work with it, and nobody wants to have to abandon existing knowledge. Making the move from Web Forms to MVC is no different. Despite the fact that Web Forms & MVC are very different ways of... (more)
category: Web Dev | clicked: 2 | 1 comment | | source: www.rachelappel.com
tags: ASP.NET MVC 3, ASP.NET MVC, Caching, runtime, JavaScript, ASP.NET Web Forms, jQuery, Razor, core, ASP.NET
3
Shouts

ReSharper 6 Enhances Razor Support - JetBrains .NET Tools Blog

published 763 days, 22 hours, 26 minutes ago posted by iftekharahmedamitiftekharahmedamit 764 days, 7 hours, 38 minutes ago
Thursday, April 21, 2011 1:07:06 AM GMT Wednesday, April 20, 2011 3:55:19 PM GMT
Razor is the new View Engine introduced by Microsoft in ASP.NET MVC 3. If you have worked with ASPX View Engine, the default one up to version 2 of MVC, you’ll certainly appreciate the simplicity and ease of use of Razor. It makes the flow of HTML vs Code much easier to the eyes and to work with. In ReSharper 6, we are enhancing Razor support in Visual Studio by adding a series of features that will make it even better to work with. Importing Namespaces ReSharper 6 now automatically imports the specific... (more)
category: How To | clicked: 0 | comment | | source: blogs.jetbrains.com
tags: ReSharper 6, Razor Syntax, R#, JetBrains, JetBrains ReSharper, Razor, ReSharper
6
Shouts

Hacking jQuery-Validate in ASP.NET MVC - Matt Hamilton

published 766 days, 9 hours, 32 minutes ago posted by StevesSteves 768 days, 3 hours, 49 minutes ago
Monday, April 18, 2011 2:01:52 PM GMT Saturday, April 16, 2011 7:44:31 PM GMT
You'll remember from my last post that I've been working on a small order-entry program in ASP.NET MVC. This is my first "from scratch" ASP.NET MVC application, so I've been learning some MVC and jQuery tricks along the way. Here's a partial screenshot of the "new order" screen to refresh your memory: You'll notice that each silo has a "capacity", and I wanted to be able to limit the item quantity to that value. No sense in allowing a farm to order mo... (more)
category: Web Dev | clicked: 4 | 1 comment | | source: matthamilton.net
tags: ASP.NET MVC, Validation, ASPNETMVC, jQuery, Razor, ASP.NET
5
Shouts

Generating RSS and ATOM Feeds In WebMatrix

published 771 days, 57 minutes ago posted by MikesdotnettingMikesdotnetting 772 days, 11 hours, 54 minutes ago
Wednesday, April 13, 2011 10:36:26 PM GMT Tuesday, April 12, 2011 11:39:14 AM GMT
Generating RSS and ATOM Feeds In WebMatrix   I've previously looked at how to generate RSS feeds for both Web Forms and MVC using a variety of techniques, so it is only right that I look at a couple of ways to do this in Web Pages - the Razor based web development model supported by WebMatrix.   Just to recap, RSS, or Really Simple Syndication is an XML-based way to share or distribute content. ATOM was designed to overcome some of the perceived issues that afflicted RSS, and enjoys som... (more)
category: Web Dev | clicked: 5 | 1 comment | | source: www.mikesdotnetting.com
tags: ASP.NET Web Pages, Razor, WebMatrix
5
Shouts

The Difference Between @Helpers and @Functions In WebMatrix

published 794 days, 2 hours, 26 minutes ago posted by MikesdotnettingMikesdotnetting 795 days, 13 hours, 47 minutes ago
Monday, March 21, 2011 9:07:32 PM GMT Sunday, March 20, 2011 9:46:57 AM GMT
The Difference Between @Helpers and @Functions In WebMatrix   This is another post which was inspired by a recent question in the ASP.NET forums, when someone asked what the difference is between @functions and @helpers in ASP.NET Web Pages. Here, I look at both of these contructs and explain what they are, how they are different, and how each should be used appropriately.   Both @helpers and @functions do share one thing in common - they make code reuse a possibility within Web Pages. ... (more)
category: Web Dev | clicked: 1 | comment | | source: www.mikesdotnetting.com
tags: ASP.NET Web Pages, Razor, WebMatrix
8
Shouts

Creating a MVC 3 Application with Razor and Unobtrusive JavaScript - The Official Microsoft ASP.NET Site

published 795 days, 20 hours, 6 minutes ago posted by iftekharahmedamitiftekharahmedamit 797 days, 8 hours, 24 minutes ago
Sunday, March 20, 2011 3:27:49 AM GMT Friday, March 18, 2011 3:09:35 PM GMT
The User List sample web application demonstrates how simple it is to create ASP.NET MVC 3 applications using the Razor view engine. The sample application shows how to use the new Razor view engine with ASP.NET MVC version 3 and Visual Studio 2010 to create a fictional User List website that includes functionality such as creating, displaying, editing, and deleting users. This tutorial describes the steps that were taken in order to build the User List sample ASP.NET MVC 3 application. A Visual Stu... (more)
category: Web Dev | clicked: 9 | comment | | source: www.asp.net
tags: ASP.NET MVC 3, ASP.NET MVC, MVC 3, JavaScript, Razor, MVC, ASP.NET
5
Shouts

Upload Files In RAZOR With jQuery Uploadify Plugin

published 797 days, 8 hours, 19 minutes ago posted by http://prashantmx.myopenid.com/http://prashantmx.myopenid.com/ 799 days, 3 hours, 24 minutes ago
Friday, March 18, 2011 3:14:29 PM GMT Wednesday, March 16, 2011 8:09:24 PM GMT
A Few months back I wrote a post on how to use jQuery plugin Uploadify to upload single/multiple files without postback in ASP.NET. Now a few days back I was working on a demo project which is on MVC 3 Razor and I use the same plugin without any problems. But the files that are being uploaded are uploaded to the root folder instead of the folder I specified to upload the files. After a lot of head scratching, I was unable to find the actual problem as why the file was not being uploaded to the folder of ... (more)
category: Web Dev | clicked: 110 | 1 comment | | source: midnightprogrammer.net
tags: JQuery AJAX, MVC 3, jQuery, jquery aspnetmvc, Razor
4
Shouts

T4 vs Razor – what’s the skinny? - Gareth Jones

published 802 days, 20 hours, 28 minutes ago posted by iftekharahmedamitiftekharahmedamit 804 days, 8 hours, 32 minutes ago
Sunday, March 13, 2011 3:05:45 AM GMT Friday, March 11, 2011 3:01:51 PM GMT
You might have noticed in the recent storm of Web Tools releases that there’s a groovy new kid on the template engine block – Razor. A few customers have been asking folks on both teams some questions around this, such as the following. * Why do you have two engines? * When should I use each of these two engines? * When can I expect <feature X> from one engine to appear in the other one? So the T4 and Razor teams got ourselves together in a room and came up with a common way to express how we t... (more)
category: Web Dev | clicked: 3 | 1 comment | | source: blogs.msdn.com
tags: T4, Razor
7
Shouts

Razor Engine v2.x

published 807 days, 7 hours, 22 minutes ago posted by http://morder.myopenid.com/http://morder.myopenid.com/ 808 days, 7 hours, 7 minutes ago
Tuesday, March 08, 2011 4:11:34 PM GMT Monday, March 07, 2011 4:26:39 PM GMT
The RazorEngine was developed primarily by Matthew Abbott at fidelitydesign.net. The project originally started here but Matthew took it to a whole new level and made it full of awesome. With that little into I’m going to get into what the Razor Engine can do for you. (more)
category: Architecture | clicked: 1 | comment | | source: buildstarted.com
tags: C#, Razor, MVC
8
Shouts

Working With Microsoft Web Helpers In MVC 3 Razor View

published 807 days, 7 hours, 22 minutes ago posted by http://prashantmx.myopenid.com/http://prashantmx.myopenid.com/ 808 days, 17 hours, 43 minutes ago
Tuesday, March 08, 2011 4:11:34 PM GMT Monday, March 07, 2011 5:50:55 AM GMT
Building applications with ASP.NET MVC 3 and that too with RAZOR is easy. I believe most of the programmers out there found MVC 3 with RAZOR view engine found it easy. The best things I found in the new RAZOR view engine is the code is pretty much tidy no traditional code behinds and moreover you can work with the server-side code with the start of the @ symbol. What is a Helper Class? I am not going to copy and paste the definition from somewhere but I want to write my own thoughts on the helper class... (more)
category: Web Dev | clicked: 5 | comment | | source: midnightprogrammer.net
tags: MVC 3, Razor
2
Shouts

ASP.NET WebMatrix Part 1 « Powered By ALT.NET

published 830 days, 13 hours, 5 minutes ago posted by poweredbyaltnetpoweredbyaltnet 830 days, 21 hours, 45 minutes ago
Sunday, February 13, 2011 10:28:02 AM GMT Sunday, February 13, 2011 1:48:37 AM GMT
The best way to learn a new technology is to do something with it.  The last couple of posts I have made on ASP.NET Web Pages have been more of an intro to features instead of showing something practical.  While the application I am going to build in this series is not production ready, it will show off the features in an application. The application I am going to build is a simple address book. (more)
category: Web Dev | clicked: 2 | comment | | source: blog.poweredbyalt.net
tags: Razor, WebMatrix, ASP.NET
2
Shouts

Razor Syntax–Sections « Powered By ALT.NET

published 830 days, 13 hours, 5 minutes ago posted by poweredbyaltnetpoweredbyaltnet 831 days, 6 hours, 32 minutes ago
Sunday, February 13, 2011 10:28:02 AM GMT Saturday, February 12, 2011 5:01:09 PM GMT
My last blog post about Razor was a general intro to the syntax.  In this post, the concept of sections and layouts will be explained.  It is similar to the master pages in ASP.NET Web Forms and ASP.NET MVC ASPX views. (more)
category: Web Dev | clicked: 1 | comment | | source: blog.poweredbyalt.net
tags: ASP .NET MVC, Razor, WebMatrix
2
Shouts

The Razor View Engine « Powered By ALT.NET

published 830 days, 13 hours, 5 minutes ago posted by poweredbyaltnetpoweredbyaltnet 833 days, 5 hours ago
Sunday, February 13, 2011 10:28:02 AM GMT Thursday, February 10, 2011 6:33:05 PM GMT
9Feb/110The Razor View Engine Yesterday was the second MVCConf virtual conference.  Since version 3 of the ASP.NET MVC framework was released last month, it was one of the more popular topics.  Perhaps one of the most obvious additions to the framework is the Razor view engine.  One of the main design ideas behind the ASP.NET MVC framework is extensibility.  To demonstrate this, you can have Visual Studio start a minimal ASP.NET MVC project that includes almost no code as opposed to the default projec... (more)
category: Web Dev | clicked: 1 | comment | | source: blog.poweredbyalt.net
tags: ASP .NET MVC, Razor, WebMatrix
3
Shouts

The WebGrid Helper - Making Selections

published 858 days, 21 hours, 17 minutes ago posted by MikesdotnettingMikesdotnetting 861 days, 9 hours, 3 minutes ago
Sunday, January 16, 2011 2:16:11 AM GMT Thursday, January 13, 2011 2:30:25 PM GMT
The WebGrid Helper - Making Selections   The WebGrid helper, introduced via ASP.NET Web Pages, provides a means for displaying tabular data easily. This article examines how to enable selection within the WebGrid at row level.   The scenario is a common one - you want to display summary data within a table on a web page, and you want to provide your user with a means by which they can view more detailed information on a particular item in the table, or make changes, such as editing or d... (more)
category: Web Dev | clicked: 12 | comment | | source: www.mikesdotnetting.com
tags: WebGrid helper, asp net web pages, Razor, WebMatrix
4
Shouts

Developing web apps using ASP.NET MVC 3, Razor and EF Code First - Part 1 - Shiju Varghese's Blog

posted by http://shijucv.myopenid.com/http://shijucv.myopenid.com/ 868 days, 11 hours, 14 minutes ago
Thursday, January 06, 2011 12:19:40 PM GMT
In this post, I will demonstrate web application development using ASP. NET MVC 3, Razor and EF code First. This post will also cover Dependency Injection using Unity 2.0 and generic Repository and Unit of Work for EF Code First.You can download the source code from http://efmvc.codeplex.com.The following frameworks will be used for this step by step tutorial.ASP.NET MVC 3 EF Code First CTP 5 Unity 2.0 Define Domain Model Let’s create domain model for our simple web application Category classpubl... (more)
category: Web Dev | clicked: 8 | comment | | source: weblogs.asp.net
tags: Unity, ASP.NET MVC 3, ASP.NET MVC, ef code first, Razor, ASP.NET
2
Shouts

Razor, Cascading Select Lists and jQuery Templates - A New Twist

posted by MikesdotnettingMikesdotnetting 870 days, 1 hour, 7 minutes ago
Tuesday, January 04, 2011 10:26:07 PM GMT
Razor, Cascading Select Lists and jQuery Templates - A New Twist   jQuery Templates enable easy client-side generation of html. When combined with JSON data or other JavaScript objects, jQuery Templates provide a way to create a dynamic data-driven site without any server-side code whatsoever. However, in this article I will look at how they can be used to produce cascading select lists in a Razor Web Pages site.   jQuery Templates are an official jQuery plugin. That means that they a... (more)
category: Web Dev | clicked: 5 | comment | | source: www.mikesdotnetting.com
tags: jQuery Templates, jQuery, Razor, WebMatrix
8
Shouts

ASP.NET MVC Razor IsPost property with IF –Else loop

published 872 days, 18 hours, 42 minutes ago posted by dharadhara 876 days, 13 hours, 32 minutes ago
Sunday, January 02, 2011 4:51:00 AM GMT Wednesday, December 29, 2010 10:01:24 AM GMT
ASP.NET MVC Razor a new view engine from Microsoft looks very promising. Here are example of code where we can determine page is post back or not. It support a IsPost Property which will tell you whether page is post back or not. So based on that we can... (more)
category: Web Dev | clicked: 1 | comment | | source: beyondrelational.com
tags: ASP.NET MVC, .NET, Razor, ASP.NET