29/02/2016 by Nitesh

Remove Roslyn support from ASP.NET Project

Friends, VS2015 has been launched and if you’re using .net Framework 4.5.2 to create projects using VS2015, you might have noticed that the project templates use Roslyn by default. In this post we will see How To Remove Roslyn support from ASP.NET Project. If you’re not aware of Roslyn, it is a set of open-source…

Continue Reading »

17/08/2015 by Nitesh

301 Redirect Non WWW to WWW Using Web.config in ASP.Net

Friends, Whenever we host a domain on server, we are able to access the webpage from http://www.mydomain.com as well as http://domain.com. For SEO purposes, this is not good as Google and other search engines penalises the website as duplicate content. To resolve this, we can redirect the non-www domain to www domain.  In this post, we…

Continue Reading »

07/08/2015 by Nitesh

Solution: No Entity Framework provider found for the ADO.NET provider with invariant name ‘System.Data.SqlClient’

Friends, In this post we will see the solution to a common problem when we use Entity Framework in our project. The error message is as below – Schema specified is not valid. Errors: XYZ.ssdl(2,2) : error 0152: No Entity Framework provider found for the ADO.NET provider with invariant name ‘System.Data.SqlClient’. Make sure the provider…

Continue Reading »

10/06/2015 by Nitesh

Solution: The URL for Web project ‘X’ is configured to use IIS as the web server but the URL is currently configured on the IIS Express web server

Friends, While working on a web project, I started getting this error while loading the project in VS2012 this morning. I did a Bing search on the problem and came across the following solutions. Different solutions work for different users so I am listing down all at a single point. Below is the list of…

Continue Reading »

25/04/2015 by Nitesh

How To Clear Items of ASP.Net DropDownList Control Using jQuery

Friends, In this post, we will see how can we clear all items of a ASP.Net DropDownList control using jQuery. To start with, we will define a ASP.Net DropDownList control on our .aspx page and a button with the help of which we will be clearing the items of the DropDownList control. We assign it…

Continue Reading »

1 2 3 4 8