DotNetShoutout - Stories tagged with Razor
7
Shouts

The Razor View Engine Basics

published 946 days, 1 hour, 15 minutes ago posted by shayfriedmanshayfriedman 948 days, 22 hours, 45 minutes ago
Saturday, October 23, 2010 11:48:23 AM GMT Wednesday, October 20, 2010 2:18:10 PM GMT
This post takes you through the basics of the new ASP.NET MVC view engine - the razor view engine. (more)
category: Web Dev | clicked: 1 | comment | | source: www.ironshay.com
tags: ASP.NET MVC 3, ASP.NET MVC, Razor
5
Shouts

ASP.NET MVC 3 Beta: Using WebMail helper to send e-mail

published 948 days, 16 hours, 12 minutes ago posted by gpeipmangpeipman 949 days, 14 hours, 48 minutes ago
Wednesday, October 20, 2010 8:51:26 PM GMT Tuesday, October 19, 2010 10:16:04 PM GMT
This far I have blogged about WebImage and Chart helpers. Now let’s see another new helper – WebMail – that you can easily use to send e-mails. WebMail is easy to configure and extremely easy to use. In this posting I will show you simple feedback form that uses WebMail to send feedback messages. (more)
category: Web Dev | clicked: 55 | comment | | source: weblogs.asp.net
tags: e-mail, Razor, MVC, ASP.NET
5
Shouts

Taking steps in the right direction: The learning path from WebMatrix/Razor to Visual Studio/ASP.NET - Rachel Appel

published 948 days, 16 hours, 12 minutes ago posted by KluggerKlugger 949 days, 16 hours, 4 minutes ago
Wednesday, October 20, 2010 8:51:26 PM GMT Tuesday, October 19, 2010 8:59:20 PM GMT
If you’ve been using WebMatrix as a springboard to software development with Visual Studio you’ll at some point wonder what steps you’ll want to take to get there.  Visual Studio is meant for more complex applications and tasks than WebMatrix/Razor. Applications written in VS tend to be enterprise or larger apps that would benefit from separation of concerns, unit testing & TDD, and needing management like Agile practices. I’ve written a blog post with the list of technologies/languages for getting u... (more)
category: Web Dev | clicked: 0 | 4 comments | | source: rachelappel.com
tags: Visual Studio, Razor, WebMatrix, ASP.NET
5
Shouts

Getting Started w/Helpers for the Razor View Engine & WebMatrix - Rachel Appel

published 948 days, 16 hours, 12 minutes ago posted by iftekharahmedamitiftekharahmedamit 949 days, 17 hours, 42 minutes ago
Wednesday, October 20, 2010 8:51:26 PM GMT Tuesday, October 19, 2010 7:22:05 PM GMT
Both ASP.NET MVC and the Razor View Engine have a language element called a helper.  Helpers In ASP.NET Web Pages are components that are stored as .cshtml files, and are meant to promote reusability by allowing other ASP.NET Web Pages to access them using the familiar object.method([args…]) syntax in views.  ASP.NET Web Pages has many built in helpers or you can choose to create your own. Check out some of the popular types of helpers baked into ASP.NET Web Pages:Social NetworkingAnalytics... (more)
category: Web Dev | clicked: 1 | comment | | source: rachelappel.com
tags: ASP.NET MVC, WebMatrix Beta, Razor, View Engine, WebMatrix, MVC, ASP.NET
3
Shouts

ASP.NET MVC 3 Beta: Razor views support comments now

published 950 days, 22 hours, 28 minutes ago posted by gpeipmangpeipman 951 days, 3 hours, 38 minutes ago
Monday, October 18, 2010 2:36:01 PM GMT Monday, October 18, 2010 9:25:25 AM GMT
Sometimes we need server-side comments in ASP.NET MVC views. New version of Razor view engine supports comments in views and in this posting I will show you example of view with multiline comments. (more)
category: Web Dev | clicked: 0 | comment | | source: weblogs.asp.net
tags: Razor, MVC, ASP.NET
7
Shouts

WebMatrix - Working With The JSON Helpers

published 951 days, 22 hours, 19 minutes ago posted by MikesdotnettingMikesdotnetting 953 days, 14 hours, 54 minutes ago
Sunday, October 17, 2010 2:44:08 PM GMT Friday, October 15, 2010 10:09:59 PM GMT
WebMatrix - Working With The JSON Helpers   Javascript Object Notation (JSON) is a data exchange format which really grew in popularity as AJAX libraries took off. It's lightweight and human readable, and is a great way of transferring data structures between the browser and the server. JSON Helpers were added in WebMatrix Beta 2, and this article looks at them, and how they can be used.   The 3 main helper methods within Web Pages are Json.Encode(), Json.Decode() and Json.Write(). The ... (more)
category: Web Dev | clicked: 26 | comment | | source: www.mikesdotnetting.com
tags: asp net web pages, Razor, WebMatrix
7
Shouts

ASP.NET MVC 3 Beta: Strongly-typed views in Razor

published 953 days, 22 hours, 12 minutes ago posted by gpeipmangpeipman 955 days, 20 hours, 46 minutes ago
Friday, October 15, 2010 2:51:37 PM GMT Wednesday, October 13, 2010 4:17:40 PM GMT
One of the new features of Razor view engine is support for strongly-typed models. In this posting I will show you how to use strongly-typed model with Razor using simple view page. (more)
category: Web Dev | clicked: 2 | 2 comments | | source: weblogs.asp.net
tags: Razor, MVC, ASP.NET
3
Shouts

ASP.NET MVC 3 Beta Support for Code Runs before Views and Strongly Typed Models in Razor Views - Shiju Varghese's Blog

posted by http://shijucv.myopenid.com/http://shijucv.myopenid.com/ 957 days, 5 hours, 29 minutes ago
Tuesday, October 12, 2010 7:34:36 AM GMT
Code that Runs Before Views Run In ASP.NET MVC 3 Beta, we can add a file named viewstart.cshtml in the views directory  and this will be shared among the all views with in the Views directory. The below code in the _viewstart.cshtml, sets the Layout page for every Views in the Views folder  @{    Layout = "~/Views/Shared/Layout.cshtml";}   You can put a _viewstart.cshtml file on the any subfolders of Views folder and it will be shared only for that sub folder.   Specify Strongly Typed Models in R... (more)
category: Web Dev | clicked: 0 | comment | | source: weblogs.asp.net
tags: ASP.NET MVC 3, ASP.NET MVC, Razor, ASP.NET
3
Shouts

Using the WebGrid Helper in ASP.NET MVC 3 Beta - Shiju Varghese's Blog

posted by http://shijucv.myopenid.com/http://shijucv.myopenid.com/ 957 days, 5 hours, 30 minutes ago
Tuesday, October 12, 2010 7:33:14 AM GMT
ASP.NET MVC 3 Beta is now supports to using ASP.NET Web Pages helpers in the Razor views. In this post, let us discuss on how to use WebGrid helper in our Razor view page of an ASP.NET MVC 3 application. Let us create a view page using Razor syntax@model List (more)
category: Web Dev | clicked: 4 | comment | | source: weblogs.asp.net
tags: ASP.NET MVC 3, ASP.NET MVC, Razor, ASP.NET
7
Shouts

ASP.NET MVC 3 Beta: View start files for Razor view engine

published 956 days, 22 hours, 36 minutes ago posted by gpeipmangpeipman 959 days, 17 minutes ago
Tuesday, October 12, 2010 2:27:34 PM GMT Sunday, October 10, 2010 12:46:46 PM GMT
To follow better DRY (Don’t Repeat Yourself) principle Razor views support now defaults that are applied to all views in ASP.NET MVC web application. Default can be applied by special file so you have one place where everything common is defined. In this posting I will show you how defaults work and how to use them. (more)
category: Web Dev | clicked: 5 | comment | | source: weblogs.asp.net
tags: Razor, MVC, ASP.NET
7
Shouts

Razor Syntax Highlighter for MVC 3 Beta

published 959 days, 22 hours, 43 minutes ago posted by http://morder.myopenid.com/http://morder.myopenid.com/ 962 days, 8 hours, 5 minutes ago
Saturday, October 09, 2010 2:20:14 PM GMT Thursday, October 07, 2010 4:58:45 AM GMT
All new Razor Syntax Highlighter available for MVC 3 Beta. Please update as the new razor syntax introduces some breaking changes. We've also added syntax error support! (more)
category: Architecture | clicked: 1 | comment | | source: buildstarted.com
tags: MVC3, C#, Razor
7
Shouts

Razor View Engine without MVC at all

published 966 days, 16 hours, 37 minutes ago posted by http://morder.myopenid.com/http://morder.myopenid.com/ 968 days, 23 hours, 33 minutes ago
Saturday, October 02, 2010 8:26:24 PM GMT Thursday, September 30, 2010 1:30:31 PM GMT
Using the razor view engine without mvc. Great for making email templates or using razor outside of just plain html. (more)
category: Architecture | clicked: 2 | comment | | source: buildstarted.com
tags: C#, Razor
8
Shouts

MVC 3 Razor View Engine without a Controller

published 970 days, 45 minutes ago posted by http://morder.myopenid.com/http://morder.myopenid.com/ 970 days, 19 hours, 29 minutes ago
Wednesday, September 29, 2010 12:18:45 PM GMT Tuesday, September 28, 2010 5:34:34 PM GMT
A question posted on stackoverflow caught my attention the other day that asked about using the Razor View Engine outside of MVC that would return a string value from a string template rather than a view. This post is a hacked together example of accomplishing that. (more)
category: Architecture | clicked: 8 | comment | | source: buildstarted.com
tags: MVC3, C#, Razor
3
Shouts

RAZOR: View Engine In ASP.NET MVC 3

published 992 days, 11 hours, 39 minutes ago posted by http://prashantmx.myopenid.com/http://prashantmx.myopenid.com/ 992 days, 16 hours, 51 minutes ago
Tuesday, September 07, 2010 1:24:33 AM GMT Monday, September 06, 2010 8:12:20 PM GMT
A new view engine is introduced in ASP.NET MVC 3 called RAZOR. You can download Preview 1 from Microsoft's download center and get it running on your machine to check the new features in MVC 3. Just in case if you are thinking that installing MVC 3 will mess your current MVC 2 installation....No, it won't. I came across a Webcamp video where Phil Haack with James Senior demonstrate this view engine. My this post is also based on the same talk. So when you install MVC 3 Preview 1 on your machine, jump st... (more)
category: Web Dev | clicked: 0 | comment | | source: midnightprogrammer.net
tags: Razor, ASP.NET MVC 3 Preview 1
9
Shouts

ASP.NET MVC 3 preview analyze

published 997 days, 22 hours, 33 minutes ago posted by http://agafonovslava.blogspot.com/http://agafonovslava.blogspot.com/ 1000 days, 2 hours, 19 minutes ago
Wednesday, September 01, 2010 2:30:56 PM GMT Monday, August 30, 2010 10:44:44 AM GMT
ASP.NET MVC 3 is new version of cool Framework and it is available for download as preview. ASP.NET MVC 3.0 compatible with ASP.NET MVC 2 – which means it will be easy to update projects you are writing with MVC 2 to MVC 3 when it finally releases. New Razor syntax analyze advantages and disadvantages. ASP.NET MVC 3 features and best practices in Visual Studio 2010. (more)
category: Web Dev | clicked: 1 | 1 comment | | source: blog.agafonov.net.ua
tags: ASP.NET MVC 3, ASP.NET MVC Framework, Razor, ASP.NET
10
Shouts

ASP.NET MVC 3: Introducing Razor view engine

published 1014 days, 11 minutes ago posted by gpeipmangpeipman 1015 days, 11 hours, 50 minutes ago
Monday, August 16, 2010 12:52:46 PM GMT Sunday, August 15, 2010 1:13:25 AM GMT
ASP.NET MVC 3 brings us new view engine called Razor. Razor view engine was made available with WebMatrix first beta. Razor brings us new and very short syntax for writing views. In this posting I will introduce you shortly ASP.NET MVC Razor view engine. (more)
category: Web Dev | clicked: 4 | 1 comment | | source: weblogs.asp.net
tags: Razor, MVC, ASP.NET
8
Shouts

With Each Step Forward, Microsoft Takes Two Back - Nick Berardi's Coder Journal

published 1020 days, 2 hours, 31 minutes ago posted by http://managedfusion.com/http://managedfusion.com/ 1020 days, 22 hours, 51 minutes ago
Tuesday, August 10, 2010 10:32:44 AM GMT Monday, August 09, 2010 2:13:01 PM GMT
So why is Microsoft continuing to target PHP 3 users, when they should be targeting PHP 5 and Ruby on Rails users for the mind share of rapid application development? I am calling on Microsoft to take this abomination of a document down, and just put up a simple Razor syntax language reference at the very least, and at the very most gut this document and create a document that doesn’t perpetuate bad software development practices and becoming a shining star to software developers and not a rusty anchor. (more)
category: Web Dev | clicked: 1 | comment | | source: coderjournal.com
tags: Bad Programming, Programming, Microsoft, rant, Razor, WebMatrix
6
Shouts

First Look at the Razor CSharp HTML File in MVC 3

published 1027 days, 44 minutes ago posted by KodefuGuruKodefuGuru 1027 days, 20 hours, 57 minutes ago
Tuesday, August 03, 2010 12:19:31 PM GMT Monday, August 02, 2010 4:07:07 PM GMT
The day before I left for IEEE ICCSIT 2010, there was a huge announcement about a new view engine for ASP.NET: Razor. It was old news by the time I returned, but I couldn’t help but sit down and play with it. I skimmed a few a blog postings on it, but I wasn’t getting anything good. So, I downloaded the ASP.NET MVC 3 Preview 1 and began playing with it myself. After installing the preview, I created a new ASP.NET MVC 3 Razor application. I then proceeded to open the Views/Home/Index.cshtml to see what i... (more)
category: Web Dev | clicked: 3 | comment | | source: www.kodefuguru.com
tags: MVC3, Cshtml, Razor
8
Shouts

Inline Razor Syntax Overview

published 1027 days, 44 minutes ago posted by MikesdotnettingMikesdotnetting 1028 days, 6 hours, 8 minutes ago
Tuesday, August 03, 2010 12:19:31 PM GMT Monday, August 02, 2010 6:55:22 AM GMT
Inline Razor Syntax Overview   With the launch of WebMatrix, and the announcement of the new Razor View Engine for the next version of ASP.NET MVC, here's a quick guide to Razor syntax.   All code blocks must appear within @{ ... } brackets. As soon as you type @, you are assumed to have started writing code. Everything that follows is assumed to be code, unless you tell Razor otherwise: If you want to render the variable number within the loop above, you have to prefix it with an @ ... (more)
category: Web Dev | clicked: 1 | comment | | source: www.mikesdotnetting.com
tags: asp net mvc, ASPNETMVC, asp net web pages, Razor
8
Shouts

HanselMinutes - Show #224 - ASP.NET MVC 3 Preview 1 with Phil Haack

posted by rajuraju 1032 days, 7 hours, 23 minutes ago
Thursday, July 29, 2010 5:40:16 AM GMT
ASP.NET MVC matches forward. Scott talks to Phil Haack about today's Preview 1 release. There's new features to make dependency injection easier, an all new "Razor" ViewEngine, and much more. How do they choose these features and how can the community help? (more)
category: Podcast | clicked: 0 | comment | | source: www.hanselminutes.com
tags: ASP.NET MVC, Razor, View Engine