Skip to content

Brain2k-0005/BlazorWebAppInteractive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Project Setup

This document provides a step-by-step guide to set up the project, including database configuration and mail service setup.


Database Setup

  1. Open your project in your preferred IDE (e.g., Visual Studio).
  2. Navigate to the Package Manager Console.
  3. Run the following command to initialize the database:
    Update-Database
  4. The database path is specified in the appsettings.json file under the property DefaultConnection. Ensure the connection string is configured correctly.

Mail Service Setup

  1. Navigate to the backend of the project:

    Backend -> Services -> EmailSender.cs
    
  2. Open the EmailSender.cs file.

  3. Locate the Sender method.

  4. Update the method with your email credentials (e.g., Gmail credentials). Ensure the following information is provided:

    • Email address
    • Password or App-Specific Password

    Example configuration:

    smtpClient.Credentials = new NetworkCredential("[email protected]", "your-password");

    Note: For Gmail accounts, ensure you have enabled less secure app access or configured an app password.

About

Full Interactive Blazor Server App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published