Table of Contents

Interface IServer

Namespace
Dynamicweb.Environment
Assembly
Dynamicweb.Core.dll

Interface IServer is an abstraction of HttpServerUtility. Provides helper methods for processing Web requests.

public interface IServer

Methods

MapPath(string)

Returns the physical file path that corresponds to the specified virtual path on the Web Server

string MapPath(string path)

Parameters

path string

The virtual path to get the physical path for

Returns

string

Physical file path

UrlEncode(string)

URL-encodes a string and returns the encoded string

string UrlEncode(string url)

Parameters

url string

The text to url encode

Returns

string

An url encoded string

To top