vijay

welcome Netizen

Share Your Knowledge.It is a way to achieve immortality

Tuesday, August 12, 2014

How to earn money by posting articles and Link in blogger?

i would like to share the different ways to earn money through online.There are many ways to work through online.Here i share method those who are ready to write content articles.
If you are good writers then don't sit idle,its time to get popularize yourself through tech world.
 

Recently i found the site by posting content and your own URl links to popularize your blog or site.
Already they are many sites doing certain type of work www.vdsite.com is the Indian site.they ready to popularize your writing skills and you blog site.

Thing you have to do add your article or blog site URl to earn points from this site to improve your user level.
Site address  www.vdsite.com

Monday, July 28, 2014

Show popup window to user when leaving from page in asp.net

Thursday, June 19, 2014

How to use Google map to show multiple location in Asp.net

How AJAX works with Advantage and Disadvantages in Asp.net

Thursday, April 24, 2014

Enhance webpage performance by caching images,CSS in asp.net

Tuesday, January 14, 2014

How to Redirect to non-www-url to www domain with ASP.NET?

Hi 
you have to update to this setting in web.config file........

public class SeoUrls : IHttpModule
{
  #region IHttpModule Members

  public void Init(HttpApplication context)
  {
      context.PreRequestHandlerExecute += OnPreRequestHandlerExecute;
  }

  public void Dispose()
  {
  }

  #endregion

  private void OnPreRequestHandlerExecute(object sender, EventArgs e)
  {
    HttpContext ctx = ((HttpApplication) sender).Context;
    IHttpHandler handler = ctx.Handler;

    // Only worry about redirecting pages at this point
    // static files might be coming from a different domain
    if (handler is Page)
    {
      if (Ctx.Request.Url.Host != WebConfigurationManager.AppSettings["FullHost"])
      {
        UriBuilder uri = new UriBuilder(ctx.Request.Url);

        uri.Host = WebConfigurationManager.AppSettings["FullHost"];

        // Perform a permanent redirect - I've generally implemented this as an 
        // extension method so I can use Response.PermanentRedirect(uri)
        // but expanded here for obviousness:
        response.AddHeader("Location", uri);
        response.StatusCode = 301;
        response.StatusDescription = "Moved Permanently";
        response.End();
      }
    }
  }
}
Then register the class in your web.config:
<httpModules>
  [...]
  <add type="[Namespace.]SeoUrls, [AssemblyName], [Version=x.x.x.x, Culture=neutral, PublicKeyToken=933d439bb833333a]" name="SeoUrls"/>
</httpModules>