Exemplo 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();
            }
        }
Exemplo 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();
            }
        }