End of support announcement for Internet Explorer and .NET Framework 4.x

Internet Explorer

Beginning January 12, 2016, only the most current version of Internet Explorer available for a supported operating system will receive technical support and security updates, as shown in the table below:
Windows Desktop and Server Operating Systems*
Internet Explorer Version
Windows Vista SP2
Internet Explorer 9
Windows 7 SP1
Internet Explorer 11
Windows 8.1 Update
Internet Explorer 11
Windows Server 2008 SP2
Internet Explorer 9
Windows Server 2008 R2 SP1
Internet Explorer 11
Windows Server 2012
Internet Explorer 10
Windows Server 2012 R2
Internet Explorer 11
* For more details on the support lifecycle, including the latest Windows Embedded operating system and Internet Explorer browser combinations, see the Microsoft Internet Explorer Support Lifecycle Policy Page.

.NET Framework

If your company is using a version of .NET 4.x, beginning January 12, 2016 only .NET Framework 4.5.2 will continue receiving technical support and security updates.  After this date, Microsoft will no longer support .NET 4, 4.5, or 4.5.1.  There is no change to the support timelines for any other .NET Framework version, including .NET 3.5 SP1, which will continue to be supported for the duration of the operating system lifecycle.  For more details on the .NET Framework support lifecycle, visit the Microsoft .NET Framework Blog Link or Microsoft .NET Support Lifecycle Policy page.
·         For customers running .NET Framework 4.x, test and deploy the .NET Framework 4.5.2, which offers improved functionality and performance improvements, by January 12, 2016.

URL routing not working in IIS? Getting 404?

When you try to host a website for the first time, there is a chance you might encounter HTTP 404 instead of desired output. Try/verify below steps:

1. Check whether “HTTP Redirection” is installed. (Go to Add/Remove programs -> Turn windows features on or off -> Internet information services -> World Wide Web Services -> Common HTTP Features) (steps might be different for different servers/versions)

2. Make sure you have something like below in <system.webServer> node:
    <modules runAllManagedModulesForAllRequests=”true” />
    <remove name=”ExtensionlessUrlHandler-Integrated-4.0″/>
     <add name=”ExtensionlessUrlHandler-Integrated-4.0″ path=”*.” verb=”GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS” type=”System.Web.Handlers.TransferRequestHandler” preCondition=”integratedMode,runtimeVersionv4.0″/>


ASP.NET – Post html/script without setting validateRequest=false

If you are an ASP.NET developer you might have encountered this famous error at least once in lifetime:

Error: A potentially dangerous Request.Form value was detected from the client

This can be easily avoided if you set directive validateRequest=false. But this is not a good approach as this opens the door to  hackers.Here is an alternate way to post HTML tags/script etc. “malicious” contents to server without turning off request validation.

1. In the submit button (or form onSubmit) add a client script click – OnClientClick=”return PreSubmit()

2. Do an “escape” of text using javascript in PreSubmit() function. Like, using jQuery: $(“.FAQEdit”).val(escape($(“.FAQEdit”).val())); here, FAQEdit is my textbox.

3. Now, at the code behind, do an “unescape”. You can use HttpUtility.UrlDecode(FAQEdit.Text) for this purpose.

4. Done! now you are free from the error


How to create .htaccess on windows?

If you try to type .htaccess (or any filename with . (dot) prefixing, you will get this error:


Solution: Just suffix one dot at the end of file name. like “.htaccess.”

image  Now it becomes => image

Now, don’t ask me why you want such a file in windows. It’s up to you.


Useful video tutorial links from Channel9 and PluralSight

Below are few useful video links to Channel9 and free courses from PluralSight:


  1. Channel 9 : Architecture in Practice


  1. Free Pluralsight : ASP.NET MVC 5 Fundamentals
  2. Free Pluralsight : Building Applications with ASP.NET MVC 4
  3. Channel 9 : Introduction to ASP.NET MVC
  4. Channel 9 : Building Web Apps with ASP.NET Jump Start

Big Data

  1. Channel 9 : Implementing Big Data Analysis
  2. Channel 9 : Big Data Analytics
  3. Channel 9 : Getting Started with Microsoft Big Data

Database / SQL Server

  1. Channel 9 : Database Fundamentals
  2. Channel 9 : Mission Critical Performance with SQL Server 2014
  3. Channel 9 : Querying Microsoft SQL Server 2012 Databases


  1. Channel 9 : .NET Debugging for the Production Environment
  2. Channel 9 : PerfView Tutorial


  1. Channel 9 : Software Development Fundamentals

.NET Languages

  1. Channel 9 : C# Fundamentals for Absolute Beginners
  2. Channel 9 : Programming in C# Jump Start
  3. Channel 9 : Twenty C# Questions Explained
  4. Channel 9 : Visual Basic Fundamentals for Absolute Beginners
  5. Channel 9 : Visual Basic Fundamentals: Development for Absolute Beginners


  1. Channel 9 : Getting Started with PowerShell 3.0


  1. Channel 9 : Developing SharePoint Server Advanced Solutions
  2. Channel 9 : Developing Microsoft SharePoint Server 2013 Core Solutions

Web Design / HTML / JavaScript / CSS

  1. Channel 9 : Developing HTML 5 Apps Jump Start
  2. Javascript Fundamentals: Development for Absolute Beginners
  3. Channel 9 : HTML5 & CSS3 Fundamentals: Development for Absolute Beginners

Windows Workflow Foundation

  1. Channel 9 : Workflow TV – Workflow Foundation Videos
  2. Channel 9 : Workflow TV – Lab Introduction to WF4: Getting Started


  1. Channel 9 : Designing Your XAML UI with Blend

A playlist for HTML5 Video tag

Here is a code snippet which allows you to play a list of media files.


Add attachments or inline images in Exchange Server mail (.NET)

Use: email.Attachments.AddFileAttachment