Example #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (dbBag.State == ConnectionState.Closed)
            {
                dbBag = baglan.dbBaglanti();
            }

            if (!IsPostBack)
            {
                filmlerGetir();
                sayfaBasligi();

                MetaTags = new MetaTagInfo
                {
                    Description = Page.MetaDescription,
                    Image       = "http://" + Request.Url.Host.ToLower() + "/images/screen.png",
                    Site_Name   = Page.Title,
                    Title       = Page.Title,
                    Type        = "article",
                    Url         = "http://" + Request.Url.Host.ToLower()
                };
            }

            MetaTagGenerator metaTagGenerator = new MetaTagGenerator();

            metaTagGenerator.Generate(MetaTags);
        }
Example #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (dbBag.State == ConnectionState.Closed)
            {
                dbBag = baglan.dbBaglanti();
            }

            if (!IsPostBack)
            {
                filmlerGetir();
                BaslikGetir();
            }

            MetaTagGenerator metaTagGenerator = new MetaTagGenerator();

            metaTagGenerator.Generate(MetaTags);
        }
Example #3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (dbBag.State == ConnectionState.Closed)
            {
                dbBag = baglan.dbBaglanti();
            }

            if (!IsPostBack)
            {
                filmgetir();
                partGetir();

                yildizGetir();
                incelemeYukselt();

                YorumlarGetir();
            }

            MetaTagGenerator metaTagGenerator = new MetaTagGenerator();

            metaTagGenerator.Generate(MetaTags);
        }