-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blazor for the project #21
Comments
SQL Server with docker-compose guidance at https://docs.docker.com/compose/aspnet-mssql-compose/ |
State management discussion and libs at dotnet/aspnetcore#5467 |
Support Rest actions for current HttpClient. The same at https://github.com/aspnet/AspNetCore/blob/a6bc6ce23dad5a9d02596cf2e91e3c4f965c61bc/src/Components/Components/src/HttpClientJsonExtensions.cs |
Trying with SSR with Blazor so that we can be easy to do debug and other stuffs |
State management (circuit) for blazor at https://gist.github.com/SteveSandersonMS/ba16f6bb6934842d78c89ab5314f4b56 |
Staring at Cool thing for gRPC on DataContract at https://github.com/protobuf-net/protobuf-net.Grpc |
/// <summary>
/// Ref to https://github.com/GoogleCloudPlatform/dotnet-docs-samples/blob/8a942cae26/monitoring/api/AlertSample/Program.cs
/// </summary>
public class ProtoMessageConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return typeof(IMessage).IsAssignableFrom(objectType);
}
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
{
var converter = new ExpandoObjectConverter();
var o = converter.ReadJson(reader, objectType, existingValue, serializer);
var text = JsonConvert.SerializeObject(o);
var message = (IMessage)Activator.CreateInstance(objectType);
return JsonParser.Default.Parse(text, message.Descriptor);
}
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
{
writer.WriteRawValue(JsonFormatter.Default.Format((IMessage)value));
}
} Usage: JsonConvert.SerializeObject(data, new ProtoMessageConverter());
var data = JsonConvert.SerializeObject<TData>(data, new ProtoMessageConverter()); |
The Blazor road map with a lot of features need to investigate dotnet/aspnetcore#8177
And priority items to work on: https://github.com/aspnet/AspNetCore.Docs/projects/35#card-23892118
What news with Blazor: Docs and .NET Core 3.0 Preview 6 news
Microsoft samples:
Blazor features:
Blazor validation & FluentValidation:
==> have an issue with is-invalid style which needs to customize the https://github.com/aspnet/AspNetCore/blob/master/src/Components/Components/src/Forms/InputComponents/InputBase.cs
UI:
Real projects:
The text was updated successfully, but these errors were encountered: