how to convert .aspx extension to .html extension

convert .aspx extension to .html extension

Solution

Type following code in web.config file

<system.web>
    <urlMappings enabled="true">
            <add url="~/index.html" mappedUrl="~/Default.aspx"/>
    </urlMappings>
</system.web>

 

 

About the Author

avatar