diff --git a/LinkValidator.sln b/LinkValidator.sln index 1238f8e..b9b73fe 100644 --- a/LinkValidator.sln +++ b/LinkValidator.sln @@ -4,6 +4,17 @@ Microsoft Visual Studio Solution File, Format Version 12.00 VisualStudioVersion = 17.0.31903.59 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{30006747-5ED8-4FAE-8444-C267675556C7}" + ProjectSection(SolutionItems) = preProject + global.json = global.json + build.ps1 = build.ps1 + README.md = README.md + RELEASE_NOTES.md = RELEASE_NOTES.md + src\Directory.Build.props = src\Directory.Build.props + src\Directory.Packages.props = src\Directory.Packages.props + src\NuGet.config = src\NuGet.config + EndProjectSection +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LinkValidator", "src\LinkValidator\LinkValidator.csproj", "{735F5CB0-2BD5-4BE4-86FF-794EF5519E78}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -13,4 +24,10 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {735F5CB0-2BD5-4BE4-86FF-794EF5519E78}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {735F5CB0-2BD5-4BE4-86FF-794EF5519E78}.Debug|Any CPU.Build.0 = Debug|Any CPU + {735F5CB0-2BD5-4BE4-86FF-794EF5519E78}.Release|Any CPU.ActiveCfg = Release|Any CPU + {735F5CB0-2BD5-4BE4-86FF-794EF5519E78}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection EndGlobal diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index b4bea76..9cefa44 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -3,6 +3,8 @@ true - + + + \ No newline at end of file diff --git a/src/LinkValidator/Actors/CrawlerActor.cs b/src/LinkValidator/Actors/CrawlerActor.cs new file mode 100644 index 0000000..97555ec --- /dev/null +++ b/src/LinkValidator/Actors/CrawlerActor.cs @@ -0,0 +1,12 @@ +using System.Collections.Immutable; + +namespace LinkValidator.Actors; + +public record CrawlUrl(string Url); +public record PageCrawled(string Url, int StatusCode, IReadOnlyCollection Links); +public record CrawlComplete(ImmutableDictionary Results); + +public class CrawlerActor +{ + +} \ No newline at end of file diff --git a/src/LinkValidator/Actors/IndexerActor.cs b/src/LinkValidator/Actors/IndexerActor.cs new file mode 100644 index 0000000..9d56a05 --- /dev/null +++ b/src/LinkValidator/Actors/IndexerActor.cs @@ -0,0 +1,11 @@ +using Akka.Actor; + +namespace LinkValidator.Actors; + +public sealed class IndexerActor : UntypedActor +{ + protected override void OnReceive(object message) + { + + } +} \ No newline at end of file diff --git a/src/LinkValidator/LinkValidator.csproj b/src/LinkValidator/LinkValidator.csproj new file mode 100644 index 0000000..daa27bb --- /dev/null +++ b/src/LinkValidator/LinkValidator.csproj @@ -0,0 +1,16 @@ + + + + Exe + net9.0 + enable + enable + + + + + + + + + diff --git a/src/LinkValidator/Program.cs b/src/LinkValidator/Program.cs new file mode 100644 index 0000000..c2036bd --- /dev/null +++ b/src/LinkValidator/Program.cs @@ -0,0 +1,9 @@ +namespace LinkValidator; + +class Program +{ + static void Main(string[] args) + { + Console.WriteLine("Hello, World!"); + } +} \ No newline at end of file