How to get the absolute root folder path of a ASP .NET website / MVC website.

0 Comments

  The following code result in my case to rootFolderPath = "C:\inetpub\wwwroot\MvcApplication1". Uri uri = new System.Uri(Assembly.GetAssembly(typeof(MvcApplication)).CodeBase); string binFolderPath = Path.GetDirectoryName(uri.LocalPath); string rootFolderPath = new DirectoryInfo(binFolderPath).Parent.FullName;

Fontawesome is awesome!

0 Comments

  Fontawesome can be found at: http://fontawesome.io Icons based on a font, gives you infinite scale, icon color adjustment with CSS etc.:   <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Font awesome</title> <link href="css/font-awesome.css" rel="stylesheet" /> </head>