text: If you're curious about how the Visual Studio editor works behind the scenes with Razor templates, Andrew Nurse, the main developer of the ASP.NET Razor View Engine, has left a few hints in this blog post.
  Yes, a Web.config file, even if you're within a console, desktop or Windows Service project. The file will only be used at design-time by the Visual Studio editor and will be ignored at runtime.
  RazorEngine however provides its own base class RazorEngine.Templating.TemplateBase instead. Although TemplateBase implements many of the same properties and methods that WebViewPage has, there are some differences. For example, TemplateBase has an Include() method (used to render partials) that WebViewPage doesn't have. If you were to use the Include() method in your email template, the VS editor would highlight it as a syntax error even though it is a perfectly legal call if the template is meant to be parsed and compiled by RazorEngine.
  You can ask the VS editor to use a different base class. Add a Web.config file at the root of your project if you haven't already done so (and yes, again, a Web.config file even in a console, desktop or Windows Service project). Add this to it:
  You might have to close and re-open your .cshtml file after having done this for the VS editor to take the config into consideration.
  In the previous post, we mentioned that it was mandatory to always use fully-qualified type names for any class used in a Razor template (or explicitely import namespace with the @using directive). Failure to do so would result in a TemplateCompilationException at runtime.
  This can become tiring, especially if there are namespaces that you use in every single template (e.g. the namespace containing your model classes).
  Annoyingly, since the Visual Studio editor won't know about these default namespaces, it will still complain about unknown types if you don't excplicitely import all the namespaces in your template files.
  You can work around this by adding the extra namespaces in the <system.web.webPages.razor><pages><namespaces> section of the Web.config file (not App.config) as you would do with the ASP.NET MVC Razor View Engine:
  Note: RazorEngine also has a App.config-based configuration model. This would in theory allow you to define the default namespaces in your App.config instead of hardcoding them in code. In practice, RazorEngine's XML confguration code seems to be quite broken making it more trouble than it's worth to go down that route.
  Having to configure the default namespaces twice, once in code and once in the Web.config file as described above, is hardly ideal. Wouldn't it be nice if we could define the default namespaces just once in the ASP.NET MVC configuration section in Web.config as shown above and simply use this list to configure our TemplateService instance?
  First, we need to ensure that our Web.config file gets deployed alongside the application. If you're within a console, desktop or Windows Service project, the Web.config file is ignored by MSBuild and not deployed by default. All we need to do to fix this is set the Copy to Output Directory property of our Web.config file to Copy if newer:
  In the next post, we'll take a more detailled look at how the Razor parser and RazorEngine work behind the scene.
  
  Friday Yoga Foundations: Strength and Flexibility with Sarah O 2/5/21 | My Chaturanga: Online Sanctuary
  
  Loop a medium-sized towel around a pull-up bar and firmly grasp both ends of the towel. Allow your arms to hang in a fully extended position. Keeping your shoulders down and away from your ears, pull yourself up until your chin clears the bar. Pause, then slowly lower yourself to the starting position.
  This variation hits the chest as well as the arms and upper back, and you’ll have to engage your entire upper body and core to keep your body from trying to spin around out of position. Take an underhand grip with one hand and an overhand grip with the other. Pull your head to one side of the bar for one rep, and then to the other side of the bar on the next rep. Repeat for the desired number of repetitions. I suggest alternating which hand is over/under each set to avoid any muscle imbalances, being sure to perform an even number of sets. Try commando pull ups on a thick bar to really fry your grip.
  Hang two towels from the bar, spaced shoulder width apart, and grab each towel with one hand. Then perform standard pull ups while gripping them. This is a slightly more advanced exercise, as you’ll have to grip the whole towel (both sides) in each hand, as opposed to just one side in each hand when performing single towel pulls.
  Set-up as if you were going to perform a regular chin-up, except this time grab onto the wrist of your opposite arm. Keeping your core and glutes tight, and elbow close to the body, pull yourself up to the bar using one hand.
  Do as many rounds as pretty (AMRAP) of this circuit in 10 minutes. Take breaks as needed (but try to take them at the end of a round).