Click here to Skip to main content
15,886,518 members
Articles / Web Development

Build Your Own Web Server

Rate me:
Please Sign up or sign in to vote.
4.88/5 (92 votes)
9 Oct 2012CPOL4 min read 387.7K   20K   227  
Let's build a simple web server and make it accessible from the internet
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <configSections>
        <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
            <section name="SimpleWebServer.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
        </sectionGroup>
    </configSections>
    <userSettings>
        <SimpleWebServer.Properties.Settings>
            <setting name="start" serializeAs="String">
                <value>False</value>
            </setting>
            <setting name="path" serializeAs="String">
                <value>C:\</value>
            </setting>
            <setting name="ip1" serializeAs="String">
                <value>127</value>
            </setting>
            <setting name="ip2" serializeAs="String">
                <value>0</value>
            </setting>
            <setting name="ip3" serializeAs="String">
                <value>0</value>
            </setting>
            <setting name="ip4" serializeAs="String">
                <value>1</value>
            </setting>
            <setting name="port" serializeAs="String">
                <value>80</value>
            </setting>
        </SimpleWebServer.Properties.Settings>
    </userSettings>
</configuration>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Engineer
Turkey Turkey

Comments and Discussions