Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 2.2 KB

README.md

File metadata and controls

43 lines (30 loc) · 2.2 KB

Essential C# Web Project

Projects Overview

For any bugs, questions, or anything else with specifically the code found inside the listings (listing examples code), please submit an issue at the EssentialCSharp Repo.

What You Will Need

  • Visual Studio (or your preferred IDE)
  • .NET 8.0 SDK
    • If you already have .NET installed you can check the version by typing dotnet --info into cmd to make sure you have the right version

Startup Steps

To get the site that is seen at essentialcsharp.com:

  1. Clone Repository locally.
  2. Set any needed secrets
  3. If you have do not have access to the private nuget feed, change the line <AccessToNugetFeed>true</AccessToNugetFeed> to <AccessToNugetFeed>false</AccessToNugetFeed> in EssentialCSharp.Web/EssentialCSharp.Web.csproj.

Environment Prequisites

Make sure the following secrets are set: In local development this ideally should be done using the dotnet secret manager. Additional information can be found at the documentation

AuthMessageSender:SendFromName = "Hello World Team" AuthMessageSender:SendFromEmail = "[email protected]" AuthMessageSender:SecretKey = alongstringofsecretsauce AuthMessageSender:APIKey = anapikey Authentication:Microsoft:ClientSecret = anotherimportantsecret Authentication:Microsoft:ClientId = anotherimportantclient Authentication:github:clientSecret = anotherimportantclientsecret Authentication:github:clientId = anotherimportantclientid HCaptcha:SiteKey = captchaSiteKey HCaptcha:SecretKey = captchaSecretKey

Testing Secret Values: Some Value Secrets for Testing/Development Purposes: HCaptcha: https://docs.hcaptcha.com/#integration-testing-test-keys

Please use issues or discussions to report issues found.