The following table outlines the detailed functional requirements of The Urlist website.
| Requirement ID | Description | User Story | Expected Behavior/Outcome |
|---|---|---|---|
| FR001 | Creating a New URL List | As a user, I want to be able to start a new, empty list so I can begin adding URLs. | The system should provide a clear way for the user to initiate the creation of a new list, potentially presenting an empty list view or an "add new list" button. |
| FR002 | A |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class CSSIsolationActionFilterAttribute : ActionFilterAttribute | |
| { | |
| public CSSIsolationActionFilterAttribute() | |
| { | |
| } | |
| public override void OnResultExecuted(ResultExecutedContext filterContext) | |
| { | |
| ViewResult viewResult = filterContext.Result as ViewResult; | |
| RazorView view = viewResult?.View as RazorView; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "showSecondCTA": true | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| const express = require('express'); | |
| // Constants | |
| const PORT = 8095; | |
| const HOST = '0.0.0.0'; | |
| // App | |
| const app = express(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private static readonly AzureKeyCredential Credentials = new AzureKeyCredential("KEY"); | |
| private static readonly Uri Endpoint = new Uri("ENDPOINT"); | |
| private static readonly string SearchApiKey = "KEY"; | |
| private static readonly string BitlyKey = "KEY"; | |
| private static readonly string TwitterConsumerKey = "CONSUMERKEY"; | |
| private static readonly string TwitterConsumerSecret = "CONSUMERSECRET"; | |
| private static readonly string TwitterAccessToken = "ACCESSTOKEN"; | |
| private static readonly string TwitterAccessTokenSecret = "ACCESSTOKENSECRET"; | |
| private static readonly string[] searchTerms = new[] { "Application Technology", "Architecture", | |
| "Artificial Intelligence", "Open Source", "SAAS", "Business Transformation", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Add reference of Microsoft.Azure.CognitiveServices.Search.NewsSearch Package | |
| using Microsoft.Azure.CognitiveServices.Search.NewsSearch; | |
| public static async Task<News> GetSearchResults(string searchTerm) | |
| { | |
| var searchClient = new NewsSearchClient(new ApiKeyServiceClientCredentials(SearchApiKey)); | |
| return await searchClient.News.SearchAsync(query: searchTerm, market: "en-us", count: 5); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Add reference of Tweetinvi | |
| using Tweetinvi; | |
| using Tweetinvi.Models; | |
| public static void CreateTweet(string text) | |
| { | |
| var credentials = new TwitterCredentials(TwitterConsumerKey, | |
| TwitterConsumerSecret, | |
| TwitterAccessToken, | |
| TwitterAccessTokenSecret); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Add reference of Azure.AI.TextAnalytics | |
| using Azure; | |
| using Azure.AI.TextAnalytics; | |
| using Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models; | |
| public static async Task<string> GetKeywords(string text) | |
| { | |
| var client = new TextAnalyticsClient(Endpoint, Credentials); | |
| var response = await client.ExtractKeyPhrasesAsync(text); | |
| var tags = new List<string>(); |
NewerOlder