Esempio n. 1
0
        protected void StemmingButton_Click(object sender, EventArgs e)
        {
            var client = new SEOService.RequiredServicesClient();

            try
            {
                StemmingResultLabel.Text = client.Stemming(StemmingTextBox.Text);
            }
            catch
            {
                StemmingResultLabel.Text = "SEO Services may not be running!";
            }
            finally
            {
                client.Close();
            }
        }
Esempio n. 2
0
        protected void WordFillterButton_Click(object sender, EventArgs e)
        {
            var client = new SEOService.RequiredServicesClient();

            try
            {
                WordFilterResultsLabel.Text = client.WordFilter(WordFilterTextBox.Text);
            }
            catch
            {
                WordFilterResultsLabel.Text = "SEO Services may not be running!";
            }
            finally
            {
                client.Close();
            }
        }