sparc-coop / blossom Goto Github PK
View Code? Open in Web Editor NEWBlossom is an opinionated framework-of-a-framework for .NET 7.0 Web, Mobile, and Desktop development using a single shared codebase (C# and Blazor).
License: MIT License
Blossom is an opinionated framework-of-a-framework for .NET 7.0 Web, Mobile, and Desktop development using a single shared codebase (C# and Blazor).
License: MIT License
Create templates for each project and Multi-project templates for Maui/Web project
Currently the only options are Api.
and PublicApi().
, which force an access token to be available, or don't pass the access token at all. So the UI has to always distinguish between whether an access token is available and call the right thing for the right circumstance.
For use in PublicFeature
that also needs access to the User
object if available.
@antoniocorreia has created a base feature that inherits the ApiEndpoint directly to be able to have more direct control over the [Authorize] attribute. Will be published to Sparc.Kernel this week.
Order of priority:
entity.OwnedEntities.Remove(x);
await Repository.UpdateAsync(entity);
Owned entity is not removed
Create a new Sparcify extension method for WebAplication
based on the existing one for IApplicationBuilder
on the ServiceCollectionExtensions
to be used with the new .NET 6 web template.
Ideal: If Sparc.Platforms.Web can be the hosted server project for Sparc.Platforms.UI, which serves as "the WASM project" in addition to the Razor Class Library for the MAUI project
Goals:
In .NET 6, .AddScoped(typeof(IRepository<>), typeof(CosmosDbRepository<>))
has to be added to the Sparc project's Startup file in order for the repository to be registered in DI. Otherwise the repository lookup fails at runtime. This line of code already exists in both ServiceCollectionExtensions for Cosmos & SQL, so it seems .NET 6 might have messed w/ some DI things as far as ordering and parallel registration.
.AddAuthentication().AddJwtBearer()
has to be added to Startup.cs in order for Sparc.Features features to work at all.
This is added automatically if you configure an authentication provider (SelfHosted or B2C), but not before.
We should figure out a way to have a "default" authentication provider, so that a working project isn't reliant on adding one of the Sparc authentication plugins, and so both Features and Public Features work out of the box.
See https://stackoverflow.com/a/65427467 for potential guidance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.