ASP.NET and Search Engines: friends or foes ?

ASP.NET and Search Engines are friends or foes ? It should be a wide doubt among the web application developers. This blog of mine, will share with you the facts and myths about the puzzle.

First of all, Let me recall some terms about search engine optimization.

Indexing is the technique used by the search engines to find out the relevant contents on your website for particular keywords.To be elaborate,whenever a new website it created or the contents of an existing site is updated, the search engine will navigate through the site for collecting the possible combinations of the search keywords.This is known as Indexing.

Ranking is another popular term in the SEO circle. The technique based on which the search engines rate the pages for a particular search query is known as Ranking. The search engines displays the results for the keywords in chronological order of the rank generated on raking. The factors influencing the ranking are, accuracy of search key, number of hits on your page, activity (how often the site is updated and visited), etc.

Your site can be optimized for the search engines, if they are easy to index and ranked better. In my previous post on SEO, i gave the basic things to be done for better visibility of your sites.

Let us go into our topic now, Whether ASP.NET is search engine friendly?

No, It is not. There was a claim that the ASP.Net is not as friendly as other web technologies for creating the web application. The major arguments to support their claim are complex and unfriendly URL, Huge page size due to the over range state management techniques like hidden files. So it is recommended to give meaningful URLs and optimal the use of hidden fields. The search engines does not like duplicate contents(especially Google),Server errors those are unhandled by the code, clumsy meaningless URLs, huge page sizes due to hidden state and other server based state management techniques that makes indexing a headache.Also, unreachable content due to inefficient use of AJAX, Poor quality content, poor usage of web standards like missing the page title,poor usage of tagging make indexing tough. Shouldn’t it give us millions of related results in seconds instead of trying to index a poorly managed page?

So, how can we make them Search engine friendly? Obviously by eliminating those mistakes while developing our site. Make you site more visible,

  • by making appropriate use of tags
  • by giving a proper title for your page
  • by creating meaningful URLs that makes indexing simple
  • by updating the site with appropriate information often
  • by making the right use of hidden fields and by making use of alternative state management principles instead of hidden fields.
  • by effective placement of AJAX calls(recommended to call the script once the page is completely loaded).

Apart from all that, quality content has no substitute to increase your hits. Unique keywords is the key for your better visibility.

Look forward for more information about SEO in my future blog post on MVC and SEO. Happy coding!


Tethering : Have you tried it on your Android handset?

The mobile phones are the fastest evolving species of the technology world since their invention. Today’s hand-phones (apart from telecommunication) can Play you music, capture your best moments as high quality pictures, edit and share them instantly, make video calls, share your thoughts to your community and the rest of the world, make your office truly distributed and portable and a lot more things in affordable prices. They have truly shrunken the size of the world, aren’t they?

In this blog, I would like to write about one of the really useful but ignored feature by most of us on your Android devices,Tethering.

Tethering is a technique of sharing the data connection of your mobile with the other devices. This can be done  in two ways:

  1. USB Tethering
  2. Portable Wi-Fi hotspot

They are more like using your handset as a router or a wireless modem.

In this post, let us see how to do this on your Android handsets:

  • Navigate to the settings icon of your Android set.
  • go to the WiFi and network settings.


  • navigate to tethering and portable hotspot as shown below


  • It gives you two choices to choose from :  USB tethering and Portable Wi-Fi hotspot.
  • USB tethering requires your mobile phone to be connected with the pairing device using a USB cable, otherwise the option will be disabled.
  • Check the check-box next to the USB tethering menu once after connecting your device with another device using USB cable. Now you can connect to your Mobile phones’ Internet connection from the other device directly. The status bar will notify the USB symbol once the tethering is successful(as shown in the image below).
  • Now comes, portable Wi-Fi hotspot. The USB tethering can connect only two devices with the help of  a USB cord. But in case of portable Wi-Fi tethering, many devices can share your data connection simultaneously(Unless your connection is too slow).
  • Check the check-box adjacent to the Portable Wi-Fi hotspot as shown in the figure below:


  • You can edit the security settings for your Wi-Fi hot spot from the  Portable Wi-Fi hotspot settings.


  • If you choose a Open connection, it will be visible and accessible to all without any authentication.
  • If you want your connection to be secured, choose the WAP2 SPK instead of open. That can help you to choose password to connect with the Wi-Fi hotspot.
  • You can configure the connection timeout, if you want to disable the availability of the network in desired time.


Its pretty easy, right? The one big drawback is, your mobile phones’ battery will run out very soon by enabling this service.

Happy Hacking!

A life, uninfluenced by Technology – Possible?

Technology has become invincible in everyone’s life. In my case, it must be one step up(May be few more steps up ;)). I don’t want to call myself as a Tech Savvy or Geeky Kind of kid. I did not just dig what was going around me in the name of technology; I did not just studied how things are made in the name of technology; I did not just experimented and operated things (Some hardware and software) that came around me in the name of technology; I did not just got impressed by the wonders done in the name of technology; I did not just got addicted to the name “Technology”; I am living with it for more than 6 years now. (Computers, are of course, My soul-mates!)

Now, Its time for me to imagine a life without technology. (Heart-breaking! Its not just a momentary addiction, after all. Let me not hurt by thinking too much about the pain! 😉 )

The Pre-Technology era of my life was filled with so much of liveliness and eventfulness. Had been a School student, notably good at studies with some interests for fine arts, oration, writing, drawing, dancing , philately, numismatics, watching cricket and some badminton, was good, in deed.

The Technology era of my life has been filled with my computers and smartphone, for installing different operating systems and software , social networking, reading, writing, drawing, watching Korean dramas and movies, experimenting various mobile applications, books on computers and electronics (Graduated as a Computer Engineer,after all),deriving some business ideas, presentations, magazines and articles on technologies and programming with no much time for my family and friends. I cannot remember a day without gadgets. I could literally feel those curses from my friends for not spending time with them. How about saying goodbye to Technology as a cost of their anger! Possible? (If you really want it, Find out how to do it in the article on the page 24 of sutherlandliving.)

If yes, how will my Post-Technology era be? Without computers 😮 Without Smartphones 😮 Oh No! I don’t want to imagine it.

I don’t think a permanent cut down is possible,unless all my memories clear or we return to the caves or the sun darken! But taking periodic breaks is possible. I hope to work on it. What about you?

Making SEO happen : Basics of Search Engine Optimization

This time, I wanted to share with you about few things I have learnt about Search Engine Optimization, SEO , that can make your business sell better on the Internet.

What is SEO?

SEO stands for Search Engine Optimization and it is a technique that brings your site visible and navigable for the search engines and rank your site based on the users search queries and the content accuracy in your site.Bringing your site front during the search has several advantages like promoting your business, Increases your chances to earn money through ads, etc.

How to make SEO happen?

Though there are several SEO tools and organizations doing this job for you, there are few basic things that will help you to bring your website front during the searches. I will list the few below.

  1. The more meaningful the URL is, the more likely for the search engines to bring your site front. The title of the site should be appropriate.
  2. The more the number of hits, the more the likelihood to bring up your site ranking.
  3. The content has no substitute.The more appropriate the content is, the more hits it will get. The more hits it gets, the higher the possibility to bring your site ranking up.
  4. The site’s title should be highly appropriate.
  5. Usage of keywords, tags, categories are very important, especially for the blogs. because they bring down the search engines’ time while navigating your sites for search keywords. They often return the sites with highly appropriate terms given in the query.
  6. Make sure, your site is live and not dormant. Based on the latest visits, the search engines will rank your pages.
  7. Page size is one thing we should highly concentrate on. Because, if the page takes time to load, it will lose its probability of visits by the users. Make an optimal use of hidden fields, since they increases the loading time of your pages.
  8. Coming to the AJAX and JavaScript calls, Make sure to call your AJAX functionality and JavaScript methods once the elements of the page gets loaded completely. Because there are chances for the search engines to miss certain elements used by AJAX and JavaScript, if they are handled simultaneously while loading.

Let me meet you with some exciting things about SEO in my next few posts on my blog. Happy reading!

Model binding on dynamic controls using JQuery on MVC

This blog post travels through a sample code to create HTML dynamic controls bound with model properties using jQuery and MVC’s HTML helper classes.

The below snapshots are written to implement the logic to create dynamic text boxes on button click event and also populate the available values in the respective Dynamic text boxes. Note that this also carry the logic for displaying the text boxes with values in database while the document is ready and add text box work for the consecutive button clicks till the text box number reaches 10.

Please find the descriptions below the snapshots.


The above div, “TextBoxesGroup” will be appended with the dynamic text boxes with the model values bound and add Dynamic text boxes during the button click event.


The above snapshot consists of the hidden div hard-coded with the div with the controls to be displayed on the button click. The div, “TextBoxDyn” will get appended to the div where we need the dynamic control is to be displayed and the div, “DynDate” will be helpful to check if the model holds any value respective to your textbox. Note that the model consists of the properties already that are assigned to the controls.


The steps followed in the above jQuery code are as follows:

1) “$(document).ready” ensures whether all the DOM objects got loaded

2) The variable “counter” is initiated to 1 and it is made to increment on every append or button click

3) The variable “divParentId” refers to the id of “TextBoxDyn” which will be concatenated with the counter for every iteration for append when the model already holds the value for the property respective to the controls.

4) The variable “divId” refers to the id of the “DynDate” which will be concatenated with the counter for every iteration for append when the model already holds the value for the property respective to the controls.

5) The for loop iterate to check if the property holds the value already till the model property is null.

6) After the iteration, the latest value of “i” is assigned to the  counter, so that the button click event can happen only for 10 times and the append happens for the next div following the div with id appended last.

7) There will be an alert message after all the 10 controls got appended.

Now you can see your dynamic controls working perfectly with model binding.

Hope it helps. Happy coding!