Using Dependency Injection in .NET Core Console Apps
The Dependency Injection (DI) Container used in ASP.NET Core is not limited to ASP.NET Core. You are able to use it in any kind of .NET Project. This post shows how to use it in an .NET Core Console...
View ArticleBrowserLink causes an error in a new ASP.NET Core web
Using the latest bits of Visual Studio 2017 and the latest SDK of .NET Core, you will possibly get an error while starting your ASP.NET Core Web in Visual Studio 2017 or using dotnet run.In Visual...
View ArticleCreating a Word document OutputFormatter in ASP.NET Core
In one of the ASP.NET Core projects we did in the last year, we created an OutputFormatter to provide a Word documents as printable reports via ASP.NET Core Web API. Well, this formatter wasn't done by...
View ArticleActiveRoute TagHelper
I recently read the pretty cool blog post by Ben Cull about the IsActiveRoute TagHelper: http://benjii.me/2017/01/is-active-route-tag-helper-asp-net-mvc-core/. This TagHelper adds a css class to an...
View ArticleUsing dependency injection in multiple .NET Core projects
One of my last post was about Dependency Injection (DI) in .NET Core Console Applications. Some days after that post was published, I got a question about how to use the IServiceCollection in multiple...
View ArticleIntegrate Meetup events on your website
This is a guest post, written by Olivier Giss about integrating Meetup events on your website. Olivier is working as a web developer at algacom AG in Basel and also one of the leads of the .NET User...
View ArticleUsing xUnit, MSTest or NUnit to test .NET Core libraries
MSTest was just announced to be open sourced, but was already moved to .NET Core some months ago. It seems it makes sense to write another blog post about unit testing .NET Core applications and .NET...
View ArticleBlogging with Git Flow
Since a while we use Git Flow in our projects at the YooApps. Git Flow is a add-in for Git, that helps us to follow the feature branch process in a standard way. We usually use our Jira ticket number...
View ArticlePlease use a password manager
Since years, I'm using a password manager to store and manage all my credentials for all the accounts I use. The usage of such a tool is pretty common for me and it is a normal flow for me to create a...
View ArticleA first glimpse into CAKE
Since a couple of years I use FAKE (C# Make) to configure my builds. Also at the YooApps we use FAKE in some projects. One of the projects uses it since more than two years. FAKE is really great and I...
View ArticleError while starting Docker for Windows
The last couple of months I wanted to play around with Docker for Windows. It worked just twice. Once at the first try for just one or two weeks. Then I got an error, when Docker tries to initialize...
View ArticleHow to add custom logging in ASP.NET Core
ASP.NET Core is pretty flexible, customizable and extendable. You are able to change almost everything. Even the logging. If you don't like the built-in logging, you are able to plug in your own logger...
View ArticleAdding a custom dependency injection container in ASP.NET Core
ASP.NET Core is pretty flexible, customizable and extendable. You are able to change almost everything. Even the built-in dependency injection container can be replaced. This blog post will show you...
View ArticleASP.NET Core in trouble
ASP.NET Core todayCurrently ASP.NET Core - Microsoft's new web framework - can be used on top of .NET Core and on top of the .NET Framework. This fact is pretty nice, because you are able to use all...
View ArticleExploring GraphQL and creating a GraphQL endpoint in ASP.NET Core
A few weeks ago, I found some time to have a look at GraphQL and even at the .NET implementation of GraphQL. It is pretty amazing to see it in actions and it is easier than expected to create a GraphQL...
View ArticleA first glimpse into .NET Core 2.0 Preview 1 and ASP.NET Core 2.0.0 Preview 1
At the Build 2017 conference Microsoft announced the preview 1 versions of .NET Core 2.0, of the .NET Standard 2.0 and ASP.NET Core 2.0. I recently had a quick look into it and want to show you a...
View ArticleGraphQL end-point Middleware for ASP.NET Core
The feedback about my last blog post about the GraphQL end-point in ASP.NET Core was amazing. That post was mentioned on reddit, many times shared on twitter, lInked on http://asp.net and - I'm pretty...
View ArticleThree times in a row
On July 1st, I got the email from the Global MVP Administrator. I got the MVP award the third time in a row :)I'm pretty proud about that and I'm happy to be part of the great MVP community one year...
View ArticleLightCore is back - LightCore 2.0
Until now it is pretty hard to move an existing more complex .NET Framework library to .NET Core or .NET Standard 1.x. More complex in my case just means, e. g. that this specific library uses...
View ArticleNew Visual Studio Web Application: The ASP.NET Core Razor Pages
I think, everyone who followed the last couple of ASP.NET Community Standup session heard about Razor Pages. Did you try the Razor Pages? I didn't. I focused completely on ASP.NET Core MVC and Web API....
View Article