Posted on: 2/25/2015 11:55:11 PM | Views : 524

I am trying to access a Method from a .CS file in a C# Aspx Page.
What am I doing wrong?
namespace NTier.AppSettings { public class AppSettingsCentral { public static string GetSiteUrl() { return ConfigurationManager.AppSettings["SiteUrl"].ToString(); } } } Aspx Page:
<%@ Import Namespace="NTier.AppSettings" %> <asp:Content runat="server" ID="FeaturedContent" ContentPlaceHolderID="FeaturedContent"> <section class="featured"> <div class="content-wrapper"> <hgroup class="title"> <h1> <%= [Method is not showing up here in my aspx page? %> </h1> </hgroup> </div> </section> </asp:Content>

Go to the complete details ...