ASP.NET Core
LocalStorage
ASP.NET Core | LocalStorage | |
---|---|---|
1,637 | 13 | |
35,304 | 1,223 | |
0.6% | 2.0% | |
9.9 | 4.3 | |
4 days ago | 21 days ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ASP.NET Core
-
What it is like to work in Meta's (Facebook's) monorepo
Multiple repos make creating a list of matching packages surprisingly hard. I learned this when working on ASP.NET Core. The framework initially consisted of a couple of dozen of repos. Our build servers were constantly grinding because of what we called "build waves." A build wave was initiated by a single commit that triggered a build. When this build finished, it triggered builds in repos depending on it. This process continued until all repos were built. Not only was this process slow and fragile, but with a steady stream of commits across all the repos, producing a list of matching packages was difficult.
-
Diversify Your Tech Stack: Uncovering Powerful Node js Alternatives
Only in the .NET can you build web applications, APIs, microservices, and real-time applications in one stack. Its highly customizable nature is a good choice for startups with limited budgets. Additionally, being a Microsoft product, ASP.NET Core integrates well with other Microsoft products, such as Azure Active Directory, to deliver competitive products. You can begin building applications by reading the ASP.NET docs.
-
Cross-Origin Resource Sharing (CORS) in ASP.NET Core: A Comprehensive Guide
UseCors middleware should be placed before UseResponseCaching due to this bug.
-
20 Top C# Frameworks and Libraries on GitHub for Building Powerful Applications
1. ASP.NET Core
-
Asynchronous Programming in C#
> Just .GetAwaiter().GetResult() it.
That won’t work with various synchronization contexts, where doing this would cause a deadlock. There’s not much fun in trying to debug such issues.
And now that various libraries only provide async api, or worse an non-async version wrapping the async one with . GetAwaiter().GetResult(), you’ll be in for a treat updating your dependencies.
Async all the way is the answer, although various frameworks still don’t offer async hooks. Recently I ran into this for example trying to write an async validator in blazor, but that’s not possible and you have to work around it [1].
C# 5 introduced async/await almost 12 years ago. And we’re still not “async all the way”.
[1]: https://github.com/dotnet/aspnetcore/issues/40244
-
Middleware in .NET 8
This approach to organizing middleware enhances code readability, maintainability, and reusability. By following this encapsulation pattern, you're adhering to best practices in ASP.NET Core development, ensuring your application remains well-organized and scalable.
-
.NET Monthly Roundup - March 2024 - .NET 9 Preview 2, Smart Components, AI fun, and more!
🌟.NET 9 Preview 2 ➡️.NET 9 Preview 2 Discussion ➡️ASP.NET Core updates in .NET 9 Preview 2 ➡️ASP.NET Core updates in .NET 9 Preview 2 Release Notes ➡️EF Core updates in .NET 9 Preview 2 ➡️.NET Aspire preview 4 - .NET Aspire
-
Chrome Feature: ZSTD Content-Encoding
https://github.com/dotnet/aspnetcore/issues/50643
-
The Mechanics of Silicon Valley Pump and Dump Schemes
Even if you look at Microsoft’s by far most popular GitHub project, they’re still only half as big as SupaBase. If you believe “the SupaBase story”, SupaBase grew and became twice as large as Microsoft in 3 years. Below is their likes over time if you’re curious, together with a couple of additional “too good to be true” Silicon Valley projects.
-
Bug Thread
https://github.com/dotnet/aspnetcore/issues/10117
LocalStorage
-
Is there any way to link Blazor Webassembly PWA to an SQL database? if so how?
if its like less than 30 items u can just use https://github.com/Blazored/LocalStorage
-
Confused about security in Blazor Web Assembly App
You store the token in local storage. This is a library that will give you access to that. Blazored
-
Nightclub Website
Blazored LocalStorage - for Tokens and Authentication Stuff
-
Github
The library make use of Blazored LocalStorage for storing cache data.
-
WASM -> MAUI with a shared project
I use a library called Blazored LocalStorage for the WASM project to store client side data like preferences and auth stuff. This, it seems, is not supported in MAUI. Although MAUI starts a web server, it does not store data in the 'browser'. Instead it uses an API called "Preferences" (Which is a pretty sweet interface, props MS) but now I find myself struggling how I can use one, or the other depending on the project.
- Microsoft.JSInterop.JSDisconnectedException
-
Where do you store your jwt on the client?
I've built a few Blazor WASM apps and use Blazored LocalStorage to access it.
-
Announcing .NET Community Toolkit v8.0.0 Preview 1
For Blazor, you need to either use a third-party library to set up INPC, or do this yourself. I do the latter. For example, I have a settings class. I use https://github.com/blazored/LocalStorage to store the settings in the browser, and set them up as a singleton.
-
How to store client side data in a Blazor WASM app in 2021?
If you only need key/value, I've been using this one. https://github.com/Blazored/LocalStorage
- Pre-fetch data for next page
What are some alternatives?
Blazor.WebRTC
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.
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
Blazor.IndexedDB.Framework - A framework for blazor which acts as an interface to IndexedDB
deno - A modern runtime for JavaScript and TypeScript.
Fluxor - Fluxor is a zero boilerplate Flux/Redux library for Microsoft .NET and Blazor.
inertia-laravel - The Laravel adapter for Inertia.js.
Blazor.IndexedDB - A Blazor library for accessing IndexedDB
PuppeteerSharp - Headless Chrome .NET API
ant-design-blazor - 🌈A rich set of enterprise-class UI components based on Ant Design and Blazor.
CefSharp - .NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
Modal - A powerful and customizable modal implementation for Blazor applications.