File: Application.cs

package info (click to toggle)
xsp 3.8-2.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 5,352 kB
  • ctags: 2,452
  • sloc: cs: 13,500; sh: 12,512; xml: 8,279; perl: 1,189; makefile: 765; ansic: 299; php: 6
file content (18 lines) | stat: -rw-r--r-- 365 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;
using System.Web;
using System.Web.Configuration;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Samples
{
	public class Application
	{
		public Application (HttpContext ctx)
		{
			SiteMapSection sms = WebConfigurationManager.GetSection ("system.web/siteMap") as SiteMapSection;
			if (sms != null)
				sms.Enabled = true;
		}
	}
}