Inline code in .Net application.

G

Guest

Hi,
I've working with a web app someone else has written. It contains inline code.
For example:

<html><body topmargin="0">
<%If Session("mySession") = "bla" Then%>
// html code in here
<%End if%>
</body></html>

My question is, in .Net, when is appropriate to use inline code? From what
I understand, traditional asp is inline code and .net changed this. (I have
no traditional asp experience) Where are the advantages, disadvantages of
inline code in .Net? Is it ever recommended / frowned upon?

Many thanks, I'll be interested to hear your comments.

CR

Its interesting to see a different approach that I wouldnt have thought of.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top