Skip to content

ciroque/My-Garage-Solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Name

Overview

This project demonstrates the deployment process of a Blazor WebAssembly application and an ASP.NET Core Web API to Azure. The Blazor WebAssembly app interacts with the ASP.NET Core Web API to perform various functionalities. This README serves as a guide to set up, deploy, and contribute to this project.

Features

  • Blazor WebAssembly frontend
  • ASP.NET Core Web API backend
  • Demonstrates Azure deployment process
  • Open source and accepting contributions

Prerequisites

Before getting started, ensure you have the following installed:

Getting Started

  1. Clone this repository to your local machine:

    git clone https://github.com/yourusername/your-project.git
  2. Navigate to the project directory:

    cd your-project
  3. Build the solution:

    dotnet build
  4. Run the application locally:

    dotnet run
  5. Open your web browser and navigate to https://localhost:5001 to view the Blazor WebAssembly app.

Deployment to Azure

To deploy the application to Azure, follow these steps:

  1. Log in to Azure CLI:

    az login
  2. Set the Azure subscription:

    az account set --subscription <subscription-id>
  3. Navigate to the project directory.

  4. Publish the Blazor WebAssembly app:

    dotnet publish -c Release
  5. Navigate to the publish directory:

    cd bin/Release/net5.0/publish
  6. Create an Azure App Service:

    az webapp up --sku F1 --name <app-name> --location <location>
  7. Deploy the ASP.NET Core Web API to Azure App Service:

    az webapp deploy --name <app-name> --src-path <path-to-api-publish-folder> --type zip
  8. Once the deployment is complete, you can access the application at https://<app-name>.azurewebsites.net.

Contributing

Contributions are welcome! To contribute to this project, follow these steps:

  1. Fork the repository.

  2. Create a new branch:

    git checkout -b feature/your-feature
  3. Make your changes and commit them:

    git commit -m "Add your feature"
  4. Push to the branch:

    git push origin feature/your-feature
  5. Create a pull request.

License

This project is licensed under the Apache License 2.0.

Contact

For any questions or support, please contact [maintainer's email].

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages