All Projects → csharpfritz → Fritz.HatCollection

csharpfritz / Fritz.HatCollection

Licence: MIT license
A static website that displays a collection of Fritz's Hats

Programming Languages

C#
18002 projects
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to Fritz.HatCollection

memealyzer
Memealyzer is an app built to demonstrate some the latest and greatest Azure tech to dev, debug, and deploy microservice applications.
Stars: ✭ 97 (+361.9%)
Mutual labels:  azure-functions, blazor
AspNetCore.Client
On Build client generator for asp.net core projects
Stars: ✭ 14 (-33.33%)
Mutual labels:  azure-functions, blazor
serverless-multicloud-example
An example Node Express app that can be deployed in any major cloud by the Serverless framework
Stars: ✭ 20 (-4.76%)
Mutual labels:  azure-functions
BlazorSvgHelper
All Blazor Demos
Stars: ✭ 36 (+71.43%)
Mutual labels:  blazor
MudBlazor
Blazor Component Library based on Material design with an emphasis on ease of use. Mainly written in C# with Javascript kept to a bare minimum it empowers .NET developers to easily debug it if needed.
Stars: ✭ 4,539 (+21514.29%)
Mutual labels:  blazor
BlazorEFCoreMultitenant
Examples of multitenancy using EF Core and Blazor.
Stars: ✭ 67 (+219.05%)
Mutual labels:  blazor
blazor-validation
Validation extensions for Microsoft Blazor / FluentValidation
Stars: ✭ 142 (+576.19%)
Mutual labels:  blazor
TabBlazor
Blazor admin template based on Tabler UI
Stars: ✭ 222 (+957.14%)
Mutual labels:  blazor
BlazorSimpleSurvey
Blazor Simple Survey
Stars: ✭ 39 (+85.71%)
Mutual labels:  blazor
Imgbot
An Azure Function solution to crawl through all of your image files in GitHub and losslessly compress them. This will make the file size go down, but leave the dimensions and quality untouched. Once it's done, ImgBot will open a pull request for you to review and merge. [email protected]
Stars: ✭ 1,017 (+4742.86%)
Mutual labels:  azure-functions
Blazor.PersianDatePicker
A free JavaScript Jalali (Persian) and Gregorian (Miladi) dual datepicker library for Blazor applications
Stars: ✭ 40 (+90.48%)
Mutual labels:  blazor
Fun.Blazor
Powered by .NET blazor!!! ❤ F#
Stars: ✭ 107 (+409.52%)
Mutual labels:  blazor
azure-functions-python-library
Azure Functions Python SDK
Stars: ✭ 95 (+352.38%)
Mutual labels:  azure-functions
hashflags-function
⚡ A collection of Azure functions related to Twitter hashflags
Stars: ✭ 15 (-28.57%)
Mutual labels:  azure-functions
serverlessnotifications
Serverless notifications with Azure Cosmos DB + Azure Functions + Azure SignalR
Stars: ✭ 60 (+185.71%)
Mutual labels:  azure-functions
NodaTimePicker
A Date/Time picker component library for Blazor using NodaTime
Stars: ✭ 49 (+133.33%)
Mutual labels:  blazor
BlazorVirtualScrolling
Blazor components for efficiently rendering large lists and data using virtual scrolling
Stars: ✭ 56 (+166.67%)
Mutual labels:  blazor
XAF Security E4908
This repository contains examples for Role-based Access Control, Permission Management, and OData / Web / REST API Services for Entity Framework and XPO ORM
Stars: ✭ 47 (+123.81%)
Mutual labels:  blazor
BlazoredLocalStorage
This library has been moved to the Blazored org
Stars: ✭ 26 (+23.81%)
Mutual labels:  blazor
AzureContainerInstancesManagement
Hosting game servers at scale using Azure Container Instances, using Azure Functions and Event Grid. Demo with OpenArena game server!
Stars: ✭ 41 (+95.24%)
Mutual labels:  azure-functions

Fritz's Hat Collection

Azure Static Web Apps CI/CD

This repository contains an example Blazor WebAssembly client application, a C# Azure Functions and a C# class library with shared code. Fritz wrote these to demonstrate a simple Blazor site showing off his collection of hats.

Screenshot of Fritz's HatCollection website

Re-using this project

Fork this repository from the and then clone it locally to your machine. This project is based on .NET Core 3.1 for the Azure functions and .NET 6 for the Blazor web-assembly application. Create a repository from the GitHub template and then clone it locally to your machine.

Once you clone the project, open the solution in Visual Studio and press F5 to launch both the client application and the Functions API app.

Data storage

This project uses Azure Storage to store data about the hats in a table named Hats and the images of those hats are stored in a blob container called hat-images. You will need to configure this Azure Storage service for yourself and place the connection string for the storage service in a Api/local.settings.json file with the key name AzureTableConnectionString. It should look something like this:

{
	"IsEncrypted": false,
	"Values": {
		"AzureTableConnectionString": "YOUR CONNECTION STRING"
	}
}

Additionally, you will need to set the base url for your images in the Program.cs/BaseImageUrl variable. This allows the HatUi.razor component to assemble a proper URL for the items in your collection.

Note: If you're using the Azure Functions CLI tools, refer to the documentation on how to enable CORS.

Repository Structure

  • Client: The Blazor WebAssembly application that displays the hat collection
  • API: A C# Azure Functions API, which the Blazor application will call to fetch the hats to display
  • Shared: A C# class library with a shared data model between the Blazor and Functions application
  • docs content to support this readme and other educational materials

Deploy to Azure Static Web Apps

This application can be deployed to Azure Static Web Apps, to learn how, check out our quickstart guide.

You can check out the various times this application has been deployed by reviewing the Actions tab at the top of the repository. The GitHub action definition that definies this deployment process is available in the .github/workflows folder

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].