// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Mvc;
namespace RazorWebSite.Controllers;
// Views returned by this controller use #ifdefs for defines specified in the project
// The intent of this controller is to verify that view compilation uses the app's compilation settings.
public class ViewsConsumingCompilationOptionsController : Controller
{
public IActionResult Index()
{
return View();
}
}
|