Archive for April 7th, 2008

What about Pay-Per-Click search engines? Is this a cost-effective method of advertising?

Monday, April 7th, 2008

Some search engines offer a pay-per-click model where you can bid for top placement. The highest bidder for a chosen term ranks highest in the “sponsored” search engine results for this term, the next highest appears second, etc. You pay your bid price each time a user clicks on your listing.
The more you bid, the higher your listing is ranked. PPC often turns into bidding wars driving the cost of some keywords to more than $5 per click.

The effectiveness of pay-per-click depends on how much gross profit you make per item sold and what your conversion ratio is: you may be able to turn a profit. If you are a small business owner, bidding wars may drive prices out of your reach. It is often difficult to compete with big businesses with larger budgets.

Posted by Mahesh ( Tryangled )

Link strategy

Monday, April 7th, 2008

Try choosing the right keywords. The search engine will rank highest those websites it feels are most “important”. This means you have to show that your website is most important. Make sure you have content. Text content equals importance on the Internet. Links, both coming in and going out, are key. Connectivity equals importance on the Internet.  Here are a fews best and powerful tips on links …

The total number of incoming and outgoing links
The importance of the sites you link to and from
The relevancy of the sites you link to and from
Which pages on their sites and on yours are being linked
What you include in the incoming and outgoing links
Where on the page the links are placed
How many links are on those pages
How many pages are linked to or have outgoing links
The ratio of links to content on the pages involved

Posted by Mahesh ( Tryangled )

Directory Submission - How to get better ratio of acceptance?

Monday, April 7th, 2008

There are some guidelines to follow while you submit your website to directories. It will help you to improve acceptance of your website. Here is guidelines for writing titles, descriptions, keywords and “How to submit” to get better rate of acceptance.
URL:
Make sure, what is your URL, weather it is with www or without www?
Many directories DO NOT allow internal pages, sub domains or subfolders. Many directories do not allow deep linking (More than one URL per site.)
Examples:
Good: http://www.tryangled.com/
Bad: http://www.tryangled.com/xyz.html
Bad: http://www.tryangled.com/xyz/
Title:
Ideal: Official name of site + Keywords/KeyPhrases.
Don’t use titles more than 4-5 words, don’t provide multiplie titles.
Don’t use all CAPITAL letters.
No promotional Language. like “Best SEO tips”, “No. 1 Real estate company” etc.. Many directories may reject your site.
Use more than one titles with varied keywords for better results.
Description.
Again, don’t use promotional language like “best”, “No1.”, “Excellent!!” etc..
Description should be between 150-250 characters. no less than 100 characters and no more than 400 characters.
Don’t repeat your keywords in description.
Use more than one description for better result.
Avoid capitalizing every word in a sentence.
Don’t copy your meta tags directly as title and description. They should be well formatted.
Keywords:
4-5 Keywords related to topic of your website are fine,
Email:
Avoid use of free emails. use either paid email addresses or email of same domain
Categories:
Many directories do not allow submission to top level. Try to submit best suitable category and if it is not available, use next most relevant category or suggest new category either by sending and email or by suggestion form if available.
Never submit to irrelevant categories.
Content of website:
Avoid:
Full with affiliate ads, Google adsense ads.
Sites with no content or crap articles.
adult content or content that links to adult sites.
Under construction sites.
Spam, Redirects, Meta Sites, and Links Only Pages.
Good:
Original and useful content.
Professional design/easy to navigate.

Posted by Mahesh ( Tryangled )

How to download the file using ASP.NET?

Monday, April 7th, 2008

  This example illustrates a simple technique to download files of any type from you web application to the client browser. In addition to setting the MIME types, the example shows how to force the Download File dialog that allows the user to either run or save the file, even if the file type would normally display in the browser’s window.

private void DownloadFile( string fname, bool forceDownload )
{
string path = MapPath( fname );
string name = Path.GetFileName( path );
string ext = Path.GetExtension( path );
string type = “”;
// set known types based on file extension
if ( ext != null )
{
switch( ext.ToLower() )
{
case “.htm”:
case “.html”:
type = “text/HTML”;
break;
case “.txt”:
type = “text/plain”;
break;
case “.doc”:
case “.rtf”:
type = “Application/msword”;
break;
}
}
if ( forceDownload )
{
Response.AppendHeader( “content-disposition”,
“attachment; filename=” + name );
}
if ( type != “” )
Response.ContentType = type;
Response.WriteFile( path );
Response.End();
}

Posted by Mahesh ( Tryangled )

How do I create an ASPX page that periodically refreshes itself?

Monday, April 7th, 2008

The following META tag can be used as a trigger to automatically refresh the page every n seconds:
<meta http-equiv=”Refresh” content=”nn”>

Posted by Mahesh ( Tryangled )

How to use Proxy Type Sharing in webservices?

Monday, April 7th, 2008

ASP.NET Web Services now supports proxy type sharing. This feature allows you to share identical types from different Web services within the client-side proxy class. For example, you can take a type instance returned from one web service and pass it to another, and vice versa.

In this sample, a product invoice is returned from the Ordering Center. The user then wishes to update the ship date on the order. To do so, the user passes the same ProductInvoice instance to the Shipping Center, which updates the order and returns the modified product invoice.

How do you identify identical types? Identical types have the same type name and namespace, and also share the same schema type definition.

In this sample we indicate that types should be shared by putting the wsdl and discomap from each service in the ‘App_WebReferences’ directory. If you wish to use wsdl.exe instead to create your client proxy here is the command to share types between TypeSharingService1 and TypeSharingService2:

<!– To share types, use the /sharetypes flag with wsdl.exe. For example (all in one line): –>
wsdl.exe /sharetypes
http://localhost/QuickstartV20/webservices/Samples/TypeSharing/
   cs/Server/TypeSharingService1.asmx
http://localhost/QuickstartV20/webservices/Samples/
   TypeSharing/cs/Server/TypeSharingService2.asmx


Posted by Mahesh ( Tryangled )