![]() |
VOOZH | about |
dotnet add package LambdaSharp.App --version 0.8.4.1
NuGet\Install-Package LambdaSharp.App -Version 0.8.4.1
<PackageReference Include="LambdaSharp.App" Version="0.8.4.1" />
<PackageVersion Include="LambdaSharp.App" Version="0.8.4.1" />Directory.Packages.props
<PackageReference Include="LambdaSharp.App" />Project file
paket add LambdaSharp.App --version 0.8.4.1
#r "nuget: LambdaSharp.App, 0.8.4.1"
#:package LambdaSharp.App@0.8.4.1
#addin nuget:?package=LambdaSharp.App&version=0.8.4.1Install as a Cake Addin
#tool nuget:?package=LambdaSharp.App&version=0.8.4.1Install as a Cake Tool
This package contains interfaces and classes used for building Blazor WebAssembly applications that connects with AWS services for logging and events.
Visit LambdaSharp.NET to learn more about building serverless .NET solutions on AWS.
The ALambdaComponent base classes includes logging methods to make it easy to report information to CloudWatch Logs and optionally to an error aggregator, such as Rollbar. Each application instance creates a new CloudWatch Log stream. All logging is directed to the same stream until the application is reloaded.
LogDebug(): Log a debugging message. This message will only appear in the log when debug logging is enabled and will not be forwarded to an error aggregator.LogInfo(): Log an informational message. This message will only appear in the log and not be forwarded to an error aggregator.LogWarn(): Log a warning message. This message will be reported if an error aggregator is configured for the <c>LambdaSharp.Core</c> module.LogError(): Log an exception as an error. This message will be reported if an error aggregator is configured for the <c>LambdaSharp.Core</c> module.LogErrorAsInfo(): Log an exception as an information message. This message will only appear in the log and not be forwarded to an error aggregator.LogErrorAsWarning(): Log an exception as a warning. This message will be reported if an error aggregator is configured for the <c>LambdaSharp.Core</c> module.LogFatal(): Log an exception with a custom message as a fatal error. This message will be reported if an error aggregator is configured for the <c>LambdaSharp.Core</c> module.LogMetric(): Log a CloudWatch metric. The metric is picked up by CloudWatch logs and automatically ingested as a CloudWatch metric.The LambdaSharpEventBusClient class provides a client to subscribe to a pre-configured subset of EventBridge events.
The following code subscribe a handler to EventBridge events that have Sample.BlazorEventsSample::MyBlazorApp as their source.
protected override async Task OnInitializedAsync() {
base.OnInitialized();
// create subscription
EventBus.SubscribeTo<TodoItem>("Sample.BlazorEventsSample::MyBlazorApp", TodoItemEvent);
}
private void TodoItemEvent(TodoItem todoEvent) {
// TO-DO: add logic to handle EventBridge event
// update user interface
StateHasChanged();
}
Copyright (c) 2018-2022 LambdaSharp (λ#)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.8.4.1 | 434 | 4/18/2023 |
| 0.8.4 | 680 | 3/10/2022 |
| 0.8.3.5 | 712 | 3/4/2022 |
| 0.8.3.4 | 592 | 7/15/2021 |
| 0.8.3.3 | 561 | 7/15/2021 |
| 0.8.3.2 | 570 | 6/17/2021 |
| 0.8.3 | 586 | 5/19/2021 |
| 0.8.2.4 | 621 | 4/30/2021 |
| 0.8.2.3 | 561 | 4/2/2021 |
| 0.8.2.2 | 608 | 3/18/2021 |
| 0.8.2 | 570 | 2/16/2021 |
| 0.8.1.3 | 746 | 10/21/2020 |
| 0.8.1.2 | 733 | 10/21/2020 |
| 0.8.1 | 686 | 8/28/2020 |
| 0.8.1-rc1 | 558 | 8/24/2020 |