devo fare il controllo Request.ServerVariables("https") in un file aspx ed inserirlo in una variabile per la costruzione di un indirizzo.
non sono pratico di asp.net
in asp faccio così:
come si scrive in asp.net?codice:if request.serverVariables("HTTPS") = "on" then httpVar = "https" else httpVar = "http" end if address= httpVar&"://www.ecc.tld"
credo che serva sapere il linguaggio dichiarato:
codice:<%@ Page Language="C#" LCID=1040 Debug="false" Trace="false" %>