Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Long URL in SMS

Posted on 2016-11-20
Medium Priority
Last Modified: 2017-01-25
Dear Experts,

We are sending both email and SMS to survey repondents.  Our main issue is the long URL in SMS where we are sending in plain text,  that looks like this:
CLICK HERE FOR SURVEY: http://www.xxxxxxxxx.org/yyyyyyyyyyyy/xxxxxxx-yyyyyyyy-zzzzzzzz/Resident-Edit-MAIN-CUSTOMER-SATISFACTION-SURVEY-Mobile.aspx?MAIN_CUSTOMER_SATISFACTION_SURVEY=%3ckey%3e%3ccv%3e%3cc%3eDCS+ID%3c%2fc%3e%3cv%3e251%3c%2fv%3e%3c%2fcv%3e%3c%2fkey%3e

Now this is my question, is there any tool or utility similar to HMTL to represent it with a short meaningful name? Any suggestion would be highly appreciated.

Question by:JimiJ13
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 83

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 400 total points
ID: 41895280
There are many url shorteners available i.e. bit.ly
LVL 30

Expert Comment

by:Pawan Kumar
ID: 41895300
Another option could be TinyUrl.com

Author Comment

ID: 41895313
Hi David/Pawan,

Thanks for your prompt response.

Is there a way I can integrate it with C# web app?

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 30

Accepted Solution

Pawan Kumar earned 1600 total points
ID: 41895340


using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication3
    public partial class _Default : System.Web.UI.Page
        protected void Page_Load(object sender, EventArgs e)
            System.Uri YourURLAddress = new System.Uri("http://tinyurl.com/api-create.php?url=" + " http://www.xxxxxxxxx.org/yyyyyyyyyyyy/xxxxxxx-yyyyyyyy-zzzzzzzz/Resident-Edit-MAIN-CUSTOMER-SATISFACTION-SURVEY-Mobile.aspx?MAIN_CUSTOMER_SATISFACTION_SURVEY=%3ckey%3e%3ccv%3e%3cc%3eDCS+ID%3c%2fc%3e%3cv%3e251%3c%2fv%3e%3c%2fcv%3e%3c%2fkey%3e");
            System.Net.WebClient client = new System.Net.WebClient();
            string SmallURL = client.DownloadString(YourURLAddress);


Open in new window



Hope it helps !!

Author Closing Comment

ID: 41895408
Thanks Pawan for nice, easy and complete solution.
LVL 30

Expert Comment

by:Pawan Kumar
ID: 41895412
Welcome !!

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question