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 101323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T00:44:56+00:00 2026-05-11T00:44:56+00:00

So I totally buy into the basic tenents of ASP.NET, testability, SoC, HTML control…it’s

  • 0

So I totally buy into the basic tenents of ASP.NET, testability, SoC, HTML control…it’s awesome. However being new to it I have a huge hang up with the markup. I know it comes from my hatred of classic ASP, and I can’t help but feel like I’ve entered the twilight zone when I see this.

I don’t know what the alternative is (can I use server controls, databinding etc…?)

  • 1 1 Answer
  • 4 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. 2026-05-11T00:44:57+00:00Added an answer on May 11, 2026 at 12:44 am

    There are things you can do to help clean up the markup, but I agree it can get a bit tag-soupy.

    • You can make your own HTML helpers to output data using extension methods, so you can hide away some of the if/else logic, iteration, etc
    • Strongly type your views so you can do ViewData.Model.myProperty rather than (MyClasst)ViewData['foo'].myProperty

    For instance this is an extension I made to make an RSS-spitter-outer 🙂

      public static string RSSRepeater<T>(this HtmlHelper html, IEnumerable<T> rss) where T : IRSSable     {         StringBuilder result = new StringBuilder();          if (rss.Count() > 0)         {             foreach (IRSSable item in rss)             {                 result.Append('<item>').Append(item.GetRSSItem().InnerXml).Append('</item>');             }         }          return result.ToString();     } 

    So in my front end all I have is <%=Html.RSSRepeater(mydata)%> which is much nicer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Totally n00b question, Im making my first ASP.NET website, with the added twist of
i am totally a new in asp.net but for some reason, i have to
i'm totally confused about configure asp.net website to send email - hope you can
Totally stupid question, but I'm writing my first ASP.NET C# web forms application and
Totally a PHP noob here so sorry for the possibly basic question - here
Being totally new into node.js environment and philosophy i would like answers to few
Totally simple situation, but I can't make it work. I am running into an
I´m totally new to programming in java, and following some basic tutorials for my
Totally revising this question, since I fixed the first issue but have ran into
Totally new to custom control creation in Silverlight. I'm wanting a custom control that

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.