Skip to content

SAIF.Framework.Web.Mvc dependencies

SAIF.Framework.Web.Mvc declares no <ProjectReference> elements — every internal SAIF dependency is consumed as a NuGet PackageReference, alongside external ASP.NET MVC/Web API and third-party packages; the nuspec manifest also diverges from the csproj's declared dependency set (src/SAIF.Framework.Web.Mvc.csproj, src/SAIF.Framework.Web.Mvc.nuspec).

Internal dependencies

Dependency Reference Type Usage
SAIF.Framework.Core (2.0.25119.2) NuGet Package Supplies SAIF.Core.Contracts.* (IWebContextService, IWebContext, IMenuService, BusinessOnlineMenu), SAIF.Core.Services.* (IEnvironmentService, ILogService, IMessageContainer, IUserProfileService, IApplicationUserProfile), SAIF.Common.Extensions, and SAIF.Services.* (WCF client proxy base, environment service, DB connection manager) consumed throughout controllers, filters, and web context services (src/SAIF.Framework.Web.Mvc.csproj)
SAIF.Framework.Data.NHibernate (2.0.22130.1) NuGet Package Supplies IRepository<T>, IUnitOfWorkFactory, NHibernateUnitOfWork, Repository<T>, OracleUnitOfWorkFactory, OracleConfigurationFactory, SqlServerUnitOfWorkFactory, SqlServerConfigurationFactory, and SAIF.Data.Model.Menu.BusinessOnlineMenuItem, used by AutofacExtensions.cs (unit-of-work/repository registration) and MenuService.cs (menu query) (src/SAIF.Framework.Web.Mvc.csproj)*
SAIF.HashUtil (2.0.22083.2) NuGet Package No symbol reference found in library source — declared as a transitive/runtime dependency pin only (src/SAIF.Framework.Web.Mvc.csproj)*
SAIF.Web.API.Clients (2.0.22307.1) NuGet Package No symbol reference found in library source — declared as a transitive/runtime dependency pin only (src/SAIF.Framework.Web.Mvc.csproj)*

External dependencies

Dependency Version Usage
Autofac.Mvc5 3.3.4 RegisterControllers, RegisterFilterProvider, RegisterModelBinders, InstancePerRequest (src/Web.Mvc/Extensions/AutofacExtensions.cs) (src/SAIF.Framework.Web.Mvc.csproj)
Autofac.WebApi2 3.4.0 RegisterApiControllers, RegisterWebApiFilterProvider (src/SAIF.Framework.Web.Mvc.csproj)
Grpc.Core 2.44.0 Declared with <ExcludeAssets>runtime;native;contentfiles;analyzers;buildtransitive</ExcludeAssets>; no Grpc symbol appears in library source — transitive/runtime pin only (src/SAIF.Framework.Web.Mvc.csproj)*
Microsoft.AspNet.Mvc 5.2.3 System.Web.Mvc types used pervasively (src/SAIF.Framework.Web.Mvc.csproj)
Microsoft.AspNet.Web.Optimization 1.1.3 StyleBundle, BundleCollection (src/Web.Mvc/Extensions/BundleTableExtensions.cs) (src/SAIF.Framework.Web.Mvc.csproj)
Microsoft.AspNet.WebApi.WebHost 5.2.3 GlobalConfiguration.Configuration (src/SAIF.Framework.Web.Mvc.csproj)
Microsoft.AspNet.WebPages 3.2.6 Razor/WebPages host support (src/SAIF.Framework.Web.Mvc.csproj)
WebGrease 1.6.0 WebGrease.Css.Extensions imported in src/Web.Mvc/Extensions/ModelStateExtensions.cs for ForEach (src/SAIF.Framework.Web.Mvc.csproj)
System.Web.Extensions (assembly reference, no NuGet version) Supplies System.Web.Script.Serialization.ScriptIgnore used in src/Web.Mvc/ViewModels/Bases/MenuViewModelBase.cs (src/SAIF.Framework.Web.Mvc.csproj)
Newtonsoft.Json 8.0.0.0 (binding redirect) [JsonIgnore] in src/Web.Mvc/ViewModels/Bases/MenuViewModelBase.cs; referenced but not declared as a PackageReference — resolved transitively (src/SAIF.Framework.Web.Mvc.csproj)*

Dependency risks and notes

  • The nuspec (src/SAIF.Framework.Web.Mvc.nuspec) declares a dependency on SAIF.Framework.Common [2,3), which is not a PackageReference in src/SAIF.Framework.Web.Mvc.csproj, and omits the Grpc.Core, SAIF.HashUtil, and SAIF.Web.API.Clients package references that the project file declares — the declared package dependency graph does not match the compile-time dependency graph (src/SAIF.Framework.Web.Mvc.nuspec, src/SAIF.Framework.Web.Mvc.csproj)*.
  • Grpc.Core, SAIF.HashUtil, and SAIF.Web.API.Clients are declared as PackageReference entries but no symbol from any of them is referenced in any source file in this library; the reason for their inclusion is unknown (src/SAIF.Framework.Web.Mvc.csproj).
  • The package-to-namespace attribution for Enforce, SAIF.Common.Extensions, SAIF.Common.IValidationResult, and SAIF.Services.WCF.* proxy base types is inferred from namespace prefixes; the Legends CLI dependency index was not queried for these specific types during Stage 1 (src/SAIF.Framework.Web.Mvc.csproj)*.
  • SAIF.Framework.Data.NHibernate did not appear in the current Legends CLI library index (legends list libraries) at documentation time, so its NuGet Package classification above reflects the csproj PackageReference declaration rather than a confirmed CLI index entry; treat exact transitive contents of this package as unverified*.
  • The library ships as C# source files (the nuspec's <file> element maps src="**\*.cs" to target="src") rather than a compiled assembly, so consuming applications compile against these dependencies directly rather than through a prebuilt binary (src/SAIF.Framework.Web.Mvc.nuspec).
  • SAIF.Framework.Web.Mvc declares no <ProjectReference> elements; all internal SAIF dependencies are consumed as NuGet packages (src/SAIF.Framework.Web.Mvc.csproj).

Sources

  • src/SAIF.Framework.Web.Mvc.csproj
  • src/SAIF.Framework.Web.Mvc.nuspec
  • src/app.config
  • src/Web.Mvc/Extensions/AutofacExtensions.cs
  • src/Web.Mvc/Extensions/BundleTableExtensions.cs
  • src/Web.Mvc/Extensions/ModelStateExtensions.cs
  • src/Web.Mvc/Classes/MenuService.cs
  • src/Web/WebContextService.cs
  • src/Web/WebContextServiceClient.cs
  • src/Web.Mvc/ViewModels/Bases/MenuViewModelBase.cs