Esempio n. 1
0
        public void ProcessRequest(HttpContext context)
        {
            VCard myVCard = new VCard();
            myVCard.FirstName = "Robert";
            myVCard.LastName = "Mühsig";
            myVCard.Role = "Blogger";

            context.Response.ContentType = "text/x-vcard";
            context.Response.ContentEncoding = System.Text.Encoding.Default;
            context.Response.Write(myVCard.ToString());
        }