Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7927029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T19:06:07+00:00 2026-06-03T19:06:07+00:00

A customer has passed us some docs to aid us in styling up our

  • 0

A customer has passed us some docs to aid us in styling up our product (asp.net 4.0 web forms) to match their corporate website. Bread and butter stuff.

In one of the markup samples they provided, they’re using tags that look to be pulling a html fragment into the page using JS.

Markup looks like this:

<server>
        var client = new HttpClient();
        client.sendRequest("http://www.fakedomain.info/foo.html");
        if(client.content) write(client.content.toString()); 
</server>

Visual Studio puts up an ‘Element is not supported’ validation warning on the tags, and I’ve only managed to find one place on the net that agrees this is a valid HTML element.

When we run the app (through IIS), the contents of the tag are rendered as text.

We’ve got workarounds, but I’m curious about what this element is and why IIS is refusing to render it.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T19:06:15+00:00Added an answer on June 3, 2026 at 7:06 pm

    <server> is not a valid HTML element, nor is it defined in ASP.NET code.

    Your client is not using IIS – the documentation you linked to seems to suggest they are using a Netscape web server which understands this element.

    I would also guess they are using Javascript as the server side language – again, not something native to IIS.

    You can convert it to IIS server side code and preserve the meaning using normal C#.

    <script runat="server">
        var client = new WebClient();
        byte[] data = client.DownloadData("http://www.fakedomain.info/foo.html");
        string html = Encoding.Utf8.GetString(data);
        if(!string.IsNullOrWhitespace) Response.Write(html); 
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our customer has a requirement to extend the functionality of their existing large government
I have a basic Customer/Order/OrderItem/Product object graph. Customer has Many Orders, Order has Many
I have a list of Customers. Each customer has an address and some customers
In my app I have to display some information about customers (a customer has
I am implementing Google Analytics for a customer that has part of their site
Our app (before authentication) has Customers and Widgets. As you'd expect each customer has
The Problem 1. Our customer has a networked printer that is configured to print
A customer has asked this morning why he isn't showing up at all in
Good Afternoon, A customer has provided me with a spreadsheet file his team uses
I have 3 abstract classes (Customer, Tender, Site). For Customer has inherited class such

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.