if use form authentication, need to change two places
Friday, January 11, 2013
Thursday, January 10, 2013
How to fix error "project type is not supported by this installation" while open a ASP.NET MVC 3 project?
Install ASP.NET MVC3
http://www.asp.net/mvc/mvc3
http://www.asp.net/mvc/mvc3
Creating a Pinterest Like Layout in ASP.NET
http://techbrij.com/asp-net-pinterest-infinite-scroll-jquery-masonry
Wednesday, January 9, 2013
How to sovle loading XmlDocument throwing “An error occurred while parsing EntityName”
The XML is not well-formed.
Maybe includes special characters.
Ampersand & &
Left angle bracket < < Right angle bracket > >
Straight quotation mark " "
Apostrophe ' '
http://support.microsoft.com/kb/316063
Maybe includes special characters.
Ampersand & &
Left angle bracket < < Right angle bracket > >
Straight quotation mark " "
Apostrophe ' '
http://support.microsoft.com/kb/316063
Function for checking if .net Framework installed
private static bool IsNetFrameWork45()
{
// Following are the different version for .Net 4.0
//4.0.30319.1 = .NET 4.0 RTM
// 4.0.30319.269 = most common .NET 4.0 version we're seeing in the data collected from our users
// 4.0.30319.544 = another .NET 4.0 version that a small portion of our users have installed
// 4.0.30319.17626 = .NET 4.5 RC
// 4.0.30319.17929 = .NET 4.5 RTM
// 4.0.30319.18010 = current version on my Windows 8 machine
Assembly assembly = typeof(System.String).Assembly;
System.Diagnostics.FileVersionInfo fvi = System.Diagnostics.FileVersionInfo.GetVersionInfo(assembly.Location);
if (fvi.FileMajorPart != 4) return false;
if (fvi.ProductPrivatePart < 17626) return false;
return true;
}
Subscribe to:
Posts (Atom)