Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/persteenolsen/blazor-signup-mssql
Blazor App WebAssembly Web Client - towards a .NET 6 Web API with remote MS SQL Server serving as a Membership system
https://github.com/persteenolsen/blazor-signup-mssql
blazor dotnet webassembly
Last synced: about 2 months ago
JSON representation
Blazor App WebAssembly Web Client - towards a .NET 6 Web API with remote MS SQL Server serving as a Membership system
- Host: GitHub
- URL: https://github.com/persteenolsen/blazor-signup-mssql
- Owner: persteenolsen
- License: mit
- Created: 2024-03-15T07:29:31.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-20T17:32:30.000Z (11 months ago)
- Last Synced: 2024-11-07T09:46:28.436Z (3 months ago)
- Topics: blazor, dotnet, webassembly
- Language: C#
- Homepage: https://blazor.signup.mssql.persteenolsen.com
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# blazor-webassembly-signup-mssql
ASP.NET Core Blazor WebAssembly - User Registration and Login Example & Tutorial
# Create a global json
dotnet new globaljson --sdk-version 6.0.320 --force
# Functionality of the Web App
- JWT Authentication
- CRUD Functionality# Tech used for creating the Web App
- A Blazor Webassembly Client towards a .NET 6 Web API
- C#
- Razor Pages
- SQLite for the local DB - At The Server Side
- MS SQL for the remote DB - At The Server Side
- A traditional Webhotel for hosting
- VS Code# Development
dotnet run
# Production
Create a self contained build for production at the remote server / traditionel web hotel
dotnet publish blazorapp.csproj --configuration Release --runtime win-x86 --self-contained
Upload the build to remote server
At my remote servers the web.config needs to be without the folowing:
hostingModel="inprocess"
# Some issues to handle
_imports.razor seems not to take of the loading of the Razor files
To solve that issue I have been loading the folders / files needed like in "app.razor":
@using BlazorApp.Shared
@using Microsoft.AspNetCore.Components.Routing
@using BlazorApp.HelpersAdded the below in Blazorapp.csproj
RootNameSpace - BlazorApp - RootNameSpace