Questions tagged [razor]

Razor is a template language used by ASP.NET Web Pages and ASP.NET MVC (since version 3). It supports seamless transitions between HTML markup and C# or VB code. Transitions between markup and code are indicated by the "@" sign.

5 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
14
votes
0answers
1k views

PowerShell module for formatting objects using Razor

I managed to get something up and running, but I've no idea whether there are better ways to do this. I've spent all morning trying to figure out the best way to use parameters (allowing objects from ...
2
votes
0answers
220 views

Umbraco Macro-Script to grab Contour Form and Node Properties

When it comes to the Umbraco CMS, there are components called "Macro-Scripts" which are essentially a Razor View (.cshtml). They allow you to code a bunch of C# and ...
1
vote
0answers
56 views

Volume control with using asp mvc 6

General purpose of this training project is to control sound volume on remote machine (which exposes ISystemControlClient through web service). It's created using ...
1
vote
0answers
56 views

Get typed results for examine indexer using Umbraco

Continuing on this question on Stack Overflow, I've found a working solution. The case The case I'll create is that I've got a lot of persons and a knows person get 0, 1 or multiple languages. The ...
1
vote
0answers
250 views

Mail service implementation using Razor engine a MailMessage

This is a very basic Mailer service that I put together after finding out that MVC Mailer doesn't play nice with MVC 5. ...