Showing all posts tagged: '.NET Core'

A 20-post collection

EF Core migrations with existing database schema and data

I'm currently working on an inherited .NET Core project and I'm loving the experience. I'm still using the project.json project format instead of the newer *.csproj & msbuild one. For now I'll leave it as it is but going forward I'll use the new format for subsequent ASP.NET Core projects. The project also makes use of the newest [EF Core](https://docs.microsoft.com/en-gb/ef/" target="_blank) so it's all running on the edge of the .NET technology. EF Core Code First is great but the tooling is still rough around the edges. Some things …[read more]


Getting started with testing in .NET Core

.NET Core has been in production (RTM) since June 2016, when it was officially released at the Red Had Summit by Scott Hanselman. What a glorious moment! Announcing an open source framework at a conference for Linux! Who would have thought that this would be possible some years ago? .NET Core 3.1 is the current (LTS) version but I'm also really looking forward to .NET 5, the one that unifies all .NET frameworks and becomes the next best version of .NET. You can download .NET 5 and take it for a spin today! Unit testing your apps is an …[read more]


Entity Framework Core 1.0 - Table Valued Functions and LINQ Composition

Entity framework Core (EFCore) has been out for a few weeks now after hitting RTM on June 27th 2016. That was also the same day that ASP.NET Core was released. EFCore has brought many changes, to say the least. It was renamed to Core instead the logical continuation from Entity Framework, because it's a total rewrite. Very similar to ASP.NET Core. The rewrite brought many benefits with speed being the biggest one. EF Core is simpler and a lot more powerful, even though it's still early days and some things are not working as expected or are missing. …[read more]


Fix OmniSharp error 'No default runtime found' in Visual Studio Code on Windows

I wanted to mess around with [.NET Core](https://dotnet.github.io/getting-started/#/windows" target="_blank) on my machine and create a simple application. I'm not talking about [ASP.NET Core 1.0](https://get.asp.net/" target="_blank) but .NET Core 1.0. And yes, they are different! Very different. The .NET Core applications rely on the dotnet toolchain whereas ASP.NET Core ones rely on the dnx, dnvm, dnu toolchain. Can it get any more confusing? Of course it can, just wait until you have to start targeting frameworks in your libraries. It's awesome( …[read more]