Class UmbracoWebService
An abstract web service class exposing common umbraco objects
Inheritance
System.Object
System.ComponentModel.MarshalByValueComponent
System.Web.Services.WebService
Namespace: Umbraco.Web
Assembly: Umbraco.Web.dll
Syntax
public abstract class UmbracoWebService : WebService, IComponent, IDisposable, IServiceProvider
Constructors
View SourceUmbracoWebService()
Declaration
protected UmbracoWebService()
UmbracoWebService(IProfilingLogger, IUmbracoContextAccessor, UmbracoHelper, ServiceContext, IGlobalSettings)
Declaration
protected UmbracoWebService(IProfilingLogger profilingLogger, IUmbracoContextAccessor umbracoContextAccessor, UmbracoHelper umbraco, ServiceContext services, IGlobalSettings globalSettings)
Parameters
Type | Name | Description |
---|---|---|
IProfilingLogger | profilingLogger | |
IUmbracoContextAccessor | umbracoContextAccessor | |
UmbracoHelper | umbraco | |
ServiceContext | services | |
IGlobalSettings | globalSettings |
Properties
View SourceGlobalSettings
Gets the global settings.
Declaration
public IGlobalSettings GlobalSettings { get; }
Property Value
Type | Description |
---|---|
IGlobalSettings |
Logger
Gets the logger.
Declaration
public ILogger Logger { get; }
Property Value
Type | Description |
---|---|
ILogger |
ProfilingLogger
Gets the ProfilingLogger.
Declaration
public IProfilingLogger ProfilingLogger { get; }
Property Value
Type | Description |
---|---|
IProfilingLogger |
Security
Gets the web security helper.
Declaration
public WebSecurity Security { get; }
Property Value
Type | Description |
---|---|
WebSecurity |
Services
Gets the services context.
Declaration
public ServiceContext Services { get; }
Property Value
Type | Description |
---|---|
ServiceContext |
Umbraco
Gets the Umbraco helper.
Declaration
public UmbracoHelper Umbraco { get; }
Property Value
Type | Description |
---|---|
UmbracoHelper |
UmbracoContext
Gets the Umbraco context.
Declaration
public UmbracoContext UmbracoContext { get; }
Property Value
Type | Description |
---|---|
UmbracoContext |
UmbracoContextAccessor
Gets the Umbraco context accessor.
Declaration
public IUmbracoContextAccessor UmbracoContextAccessor { get; }
Property Value
Type | Description |
---|---|
IUmbracoContextAccessor |
Url
Gets the URL helper.
Declaration
public UrlHelper Url { get; }
Property Value
Type | Description |
---|---|
UrlHelper |
Remarks
This URL helper is created without any route data and an empty request context.