vb.net - Is this proper in .NET? -
I am in the beginning. NET One of my first work is to dynamically change the meta tag for pages that are dynamically generated.
So, I have come with it, but I am also not sure what the "proper" way to do it is the net.
& lt; Head & gt; & Lt; Title & gt; & Lt;% = Title% & gt; & Lt; / Heading & gt; & Lt; Meta name = "description" content = "& lt;% = metadata% & gt;" / & Gt; ... & lt; / Head & gt; This function resides in my masterpap code and I have set a default title etc. on the page in the input (not shown below)
protected Title string = "" sub-subtitle title (in the form of sub-title title) title = ending title sub I used to assign this function to a proper dynamic title to any product detail pages Also called in.
Is it OK in the Net? Is not it good or hack or you will say, "If this works, then does it work?"
I tried to use ranat = "heading to server" Then added once found, this line is decoded to & lt; Meta name = "description" content = "& lt;% = metadata%> / / gt;
& lt; meta name = "description" content = "& amp; Lift;% = Metadalysis%> and above my code do not work to change the meta description.
If the header is marked as root = "server" then the page's page will have a Tetall property for you to automatically replace in the title.
The second one for the Meta tag, I do the same thing, because it works.
Comments
Post a Comment