dodyg / dodyg/practical-aspnetcore

Using Razor without MVC

Open
#115 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
10.4k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

Are there any samples of classes RazorProjectEngine and RazorProjectFileSystem to use a Razor engine in a console app without including MVC?

There is a 2.0 sample but 2.1 advises to use replacement classes and there seem to be no samples yet of how to use them.

Thanks

Contributor guide

Open the contributing guide

Research direction

Compare the existing 2.0 sample with the 2.1 replacement classes named in the issue, RazorProjectEngine and RazorProjectFileSystem. Add a console-app sample showing Razor use without MVC, and verify that it demonstrates the requested 2.1 approach.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.