Removed PdfViewController, HtmlViewRenderer and FakeView to be replaced with ViewEngineResult Render method

Added HttpException class for missing HttpException for net8

Wrapped HttpContext.Session, GetJsonResult, IsAjaxRequest and GetUserIdentityName in controllers for net8

Added AuthenticationService to test Fab2ApprovalMKLink code for net8

Compile conditionally flags to debug in dotnet core
This commit is contained in:
2025-05-23 12:51:42 -07:00
parent 184e97fce3
commit 7650bf2869
85 changed files with 3655 additions and 1259 deletions

View File

@ -4,7 +4,9 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
#if !NET8
using System.Web.Mvc;
#endif
namespace Fab2ApprovalSystem.Misc {
@ -16,7 +18,7 @@ namespace Fab2ApprovalSystem.Misc {
// check if session is supported
if (session[GlobalVars.SESSION_USERNAME] == null) {
if (GlobalVars.IsUserNameNull(session)) {
// check if a new session id was generated
// this will force MVC to use the standard login redirect, enabling ReturnURL functionality