.Net Core
Matters related to .Net Core
-
Dot Net 5 is Here… Check it out.
Wow… some most excellent videos on what is what in .Net 5! Check it out on [visual-link-preview encoded=”eyJ0eXBlIjoiZXh0ZXJuYWwiLCJwb3N0IjowLCJwb3N0X2xhYmVsIjoiIiwidXJsIjoiaHR0cHM6Ly93d3cuZG90bmV0Y29uZi5uZXQvIiwiaW1hZ2VfaWQiOjAsImltYWdlX3VybCI6IiIsInRpdGxlIjoiLk5FVCBDb25mIDIwMjAiLCJzdW1tYXJ5IjoiSm9pbiB0aGUgLk5FVCBDb25mIDIwMjAgZnJlZSB2aXJ0dWFsIGV2ZW50IE5vdmVtYmVyIDEwLTEyIHRvIGxlYXJuIGFib3V0IHRoZSBuZXdlc3QgZGV2ZWxvcG1lbnRzIGFjcm9zcyB0aGUgLk5FVCBwbGF0Zm9ybSwgb3BlbiBzb3VyY2UsIGFuZCBkZXYgdG9vbHMuIE1hcmsgeW91ciBjYWxlbmRhciEiLCJ0ZW1wbGF0ZSI6InVzZV9kZWZhdWx0X2Zyb21fc2V0dGluZ3MifQ==”] You can also find these on You Tube… search on .Net 5. The Conf 2020 Days 1-3 will be there… ~ScottGeek.
-
Dotnet EF tools updating
I don’t know why this is always hard to find…. EF Core Tools ## To Install dotnet tool install --global dotnet-ef ## To Update dotnet tool update --global dotnet-ef ~ScottGeek
-
Dot Net Hell by any other name?
Just when I think Dot Net Hell days are coming behind us… I run across the reality of the fact that those that created this in the first place are… well… still doing it? Take this little gem: public static async IAsyncEnumerable<string> GetContent(string[] urls) { } Yes, we now have IAsyncEnumerable… or do we. In my little experiment, I have a .Net 4.8 console app with C#8.0 language stuff turned on. So, I wanted to mess about with the Async Enumerable…. But in my console app that IAsyncEnumerble goes all red line of crap on me. So what’s the deal? Well it’s simple once you do the digging. .Net…
-
Dotnet Core Templates – The Revisit
So a while back I penned an article (Dotnet new Magic), but now with the latest VS 2019 and Dotnet Core 3.x release… it’s time to revisit. In case we forgot – the command is: dotnet new -i “–The Template Reference Name Here–” The list of templates can be found in the old place but also here – Dotnet New Templates What ones do I add: dotnet new –install “Microsoft.AspNetCore.SpaTemplates” dotnet new –install “Microsoft.Azure.WebJobs.ProjectTemplates” dotnet new –install “Microsoft.Azure.WebJobs.ItemTemplates” dotnet new –install “NUnit3.DotNetNew.Template” dotnet new –install “Microsoft.AspNetCore.Blazor.Templates” **Some of these already exist, but this one adds the webassembly type. dotnet new –install “Microsoft.Azure.IoT.Edge.Module” dotnet new –install “Microsoft.Azure.IoT.Edge.Function” dotnet new –install “RaspberryPi.Template”…
-
.Net Core ASP Tag Helpers
I has to be one of the most useful things added… You got Tag Helps… Consider the simplest example… <img src="/images/somePng.png" /> Not hard and very common. But consider the task of versioning your images for a web page… Enter Tag Helpers <img src="/images/somePng.png" asp-append-version = "true"/> This gives us a Hash version appended, so if an image changes? Indeed yes the hash value changes and this will trigger a cached page to update the image. Wow, Tag Helpers… very handy. ScottGeek
-
Port Desk Top UI App
Not really ready for prime time , but here’s an article stepping through the how-to and the workaround for the fact that Core has yet to add the visual designer for, ya you guessed the actual Windows Form- that seems to be a rather glaring miss if we are talking about porting and doing traditional windows UI forms development going forward. .NET Blog | How to port desktop applications to .NET Core 3.0 In this post, I will describe how to port a desktop application from .NET Framework to .NET Core. I picked a WinForms application as an example. Steps for WPF application are similar and I?ll describe what needs…
-
Play with dotnet tool and a BOT
I was poking about with cleaning up my DotNet Core sdks and in my travels a found this thing call dotnet tools… Let the experiment begin… To credit the source of an article on Microsoft go here: dotnet tool Do a console project with dotnet: dotnet new console -o botsay Then, of course, cd into the botsay directory… and edit the Program.cs (yeap you can do this in VS 2017) Here’s the main method: using System.Reflection; static void Main(string[] args) { if (args.Length == 0) { var versionString = Assembly.GetEntryAssembly() .GetCustomAttribute<AssemblyInformationalVersionAttribute>() .InformationalVersion .ToString(); Console.WriteLine($"botsay v{versionString}"); Console.WriteLine("-------------"); Console.WriteLine("\nUsage:"); Console.WriteLine(" botsay <message>"); return; } ShowBot(string.Join(' ', args)); } The ShowBot method is this:…
-
.Net Core 3 the next version
I still have not gone down the full .Net Core 3 path- but soon yes… Meanwhile MSDN mag has good preview on the topic: .NET Core – What’s Coming in .NET Core 3.0 msdn.microsoft.com
-
Time to talk Net Core 3?
Is it time to talk… some good looking things coming for .Net Core 3 – the deeper reach into the UI with added compatibility for Windows Forms and WPF. Have a read…. Are your Windows Forms and WPF applications ready for .NET Core 3.0? A first-hand look from the .NET engineering teams blogs.msdn.microsoft.com
-
.net Core 2.1 and SQL via EF Core 2.1 -The revisit
Let us Revisit a walk-through using .net Core 2.1 and SQL via EF Core 2.1 to scaffold up data models with an existing Database. New SDK's tend to alter slightly how the tools are used and what one see's.



