Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

WebUtils Members

WebUtils overview

Public Static (Shared) Methods

CombineVirtualPaths Combines a rooted base path with a relative path.
CreateAbsolutePath Returns absolute path that can be referenced within plain HTML.
GetAppRelativePath Gets the application-relative virtual path portion of the given absolute URL.
GetLogicalParent Returns the 'logical' parent of the specified control. Technically when dealing with masterpages and control hierarchy, the order goes controls->masterpage->page. But one often wants the more logical order controls->page->masterpage.
GetPageName Extracts the bare ASPX page name without any extension from the supplied url.
GetRelativePath Gets the virtual path portion of the given absolute URL relative to the given base path.
GetVirtualDirectory Returns only the directory portion of a virtual path
UrlEncode Encode value for use in URLs.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

WebUtils Class | Spring.Util Namespace