Category: .NET Core
-
Presentation .NET Core3 Wha’s New
From the presentation: C# 8.0 What’s new Reference: https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-8 https://github.com/dotnet/csharplang/blob/master/meetings/2017/LDM-2017-03-08.md Demos: Default Interface Inheritance Multiple Interface Inheritance Switch Deconstruct Other demos: UsingUsage StaticLocalFunctions(); Nullable(); Version(); Indexes(); NullCoalescing(); .NET Core What’s new Reference: https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-core-3-0 https://devblogs.microsoft.com/dotnet/announcing-net-core-3-0/ Demos: AsyncEnumerable WPF COM Build ( trim,single file) Diamond hell with plugins See NetCore3WhatsNew.sln and AssemblyLoadingUnloadingDiamond.sln ASP.NET Core What’s new Reference:…
-
What’s new in .NET Core 3
If you want to see what is new in .NET Core 3,please join tomorrow at https://www.meetup.com/Bucharest-A-D-C-E-S-Meetup/events/264063550/ . We will have talk about C# 8.0 What’s new Reference: https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-8 Demos: Default Interface Inheritance Multiple Interface Inheritance Switch Deconstruct Other demos: UsingUsage StaticLocalFunctions(); Nullable(); Version(); Indexes(); NullCoalescing(); See NetCore3WhatsNew.sln .NET Core What’s new Reference: https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-core-3-0 https://devblogs.microsoft.com/dotnet/announcing-net-core-3-0/ Demos:…
-
.NET Core 3 – what impressed me
This are the things that have impressed me: Async Streams ( think in conjunction with about EFCore / SignalR / gRPC / Observables) .NET Default Interface members ( not appliable to classes – so multiple inheritance is a problem just for interfaces…) Deconstruct – see a class from his properties Switch – they improved Switch…
-
String interpolation for EFCore and Like
I have had a problem with EF Core and String Interpolation – until I realized that was a problem with sp_executesql But let’s see the whole problem. ta EFCore supports string interpolation – that means,if you give this code <context>.<table>.FromSql($”select blabla from table where id={id}”) it will transform into exec sp_executesql N’select blabla from table…
-
Dotnet Try
I have wrote a blog post about DotNet CLI Tools I did not mention one that is super important: DotNet Try : https://github.com/dotnet/try You can see at https://github.com/dotnet/try how to install it . Or,to use in Docker,check my files to install in Docker https://github.com/ignatandrei/Presentations/tree/master/2019/shorts/NetCoreGlobalTools/dotnetTry . To edit files in Docker,use Visual Studio Code with Docker and Remote Development and Docker extension.…
-
[PostEvent] Talks by Softbinator
The organizers from Talk from Softbinator were kind enough to select me for a presentation. Again,my presentation about .NET Core and Angular Everywhere. Source Code at https://github.com/ignatandrei/angNetCoreDemo/ The presentation was supposed to take 1/2 hour – and it took 1 hour with all the explanations. Video at https://www.facebook.com/softbinator/videos/459024768242391
-
Correct abstraction–.NET Core IFileProvider
Create the right abstraction and they will implement it. I was delighted by finding that the .NET Core has an IFileProvider : https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.fileproviders.ifileprovider?view=aspnetcore-2.2 . An obvious implementation is PhysicalFileProvider : https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.fileproviders.physicalfileprovider?view=aspnetcore-2.2 A not so obvious implementation,but normal from a programmers mind,is NullFileProvider: https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.fileproviders.nullfileprovider?view=aspnetcore-2.2 And,because we have already 2 providers,makes sense a CompositeFileProvider: https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.fileproviders.compositefileprovider?view=aspnetcore-2.2 And because…
-
[PostEvent] CodeCamp Timisoara
I have been a presenter and participant at CodeCamp Timisoara. There are a lot of tracks with good information! As a participant,I can mention: Things you did not know about C# and .NET – with Marius Bancila CALMS in DevOps – with Adrian Suteu Making E2E tests great again using Cypress – with Omri Ben…
-
Simple serialize of encoding
My problem was the serialize of the Encoding . Let’s suppose that we have a class that have a property Encoding( maybe to read a file ). We want to serialize this class in order to let the administrator/people to decide what will be the encoding. When we serialize( obvious,with NewtonSoftJson),we obtain this kind of…
-
[PostEvent] HackTalks 2019
I have been a presenter and participant at #HackTalks Timisoara. I have seen lots of interesting people that do great stuff. Also lots of programmers interested of how to do better programming. It is a good vibe and lots of knowledge sharing. As a participant,I can mention: https://www.facebook.com/hacktalks.ro/posts/823295824708035 : Container Orchestration in the cloud for…