-
When implementing .NET Core dependency injection inside of ASP.NET Core or .NET Core. Assume you have implemented some class like 'IoTService.Config.GatewayConfig' and get following error on startup: {"message":"Unable to resolve service for type 'IoTService.Config.GatewayConfig'...
-
Most enterprise application soon or latter, have a requirement to trace out the version of a currently running application. This post shows few example, which demonstrates how to do this in .NET Core. var ver = Assembly .GetEntryAssembly().GetCustomAttribute< AssemblyInformationalVersionAttribute...
-
Maybe you know this great and informative error message "An error occurred while starting the application." from asp.net core when there was an exception during the startup. To identify and understand what happened, you must extend the Main method with the following things: UseSetting("detailedErrors"...
-
I ported an MVC WEB API project to ASP.NET Core and now the Service just returned StatusCode: 500 every time I called it. Visual Studio doesn't give me any information or Exception to indicate what happened. To find the error I disabled "Enable just my Code" in the visual studio settings...
-
When building Distributed Systems in Cloud or On-Prem, you will usually have to deal with token flow. That means, some application or user have to securely enter the system on some specific place. If you have distributed system if is not unusual that some applications in the system do not use authentication...
-
When working with ASP.NET Core, you might get following error on start of your application: Unable to start process C:\Program Files\dotnet\dotnet.exe. The web server request failed with status code 500, Internal Server Error. The full response has been written to C:\Users\***\AppData\Local\Temp...
-
Windows 10 IoT Core is a kind Windows Operative system, which is some incarnation of Windows 10. It enables us to develop .NET and Windows applications, by using common Visual Studio toolset. Even more interesting is a fact that Windows 10 IoT Core can run on PI2 ( Raspberry ). This enables us to build...
-
One of most often my personal issue when working with WebApi is routing. Sometimes I cannot explain myself how often one can repeat same mistake. This is something what is in SOAP based protocols also an issue. If you ever worked on extending of WCF channels you will know what I mean here. So, here is...
-
When working with NUGET in big projects (just a bit bigger than default hello-world) you might run into following issue: Could not load file or assembly ‘…’ The prominent of this error example is : Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken...
-
Here is the preliminary agenda for MSNetwork upcoming session next week. There are few important things which will unfortunately not be covered in this session. But if you really want to dive deeper behind Steaming and Push technologies, I would recommend you to read this post.
-
When you start debugging of a web application on IIS8 (Windows 8), you might experience following error: Unable to start debugging on the web server. IIS does not list a web site that matches the launched URL. To workaround it, right mouse click on Visual Studio Tile and start it as administrator.
-
At 01.09 12.30h I will give a session “ Building Distributed Web Systems ". Level 400. Because the session is currently still tracked under “ The Damir Dobric Session ”, my intension is to share a bit more information about the content. My intension is talk with you about hidden “ power platform...
-
We have an old project (WebApplication NET3.5) which hosts few SOAP WebServices and wanted to extend it to provide some REST services for mobile devices. To do that we installed the ASP WebApi by using the NuGet package provided here: http://www.nuget.org/packages/WebApi.All . Download and installation...
-
It is interesting how often and easy error described in this post can happen, but how many developers are shocked when they see it. When you start the project this happen: The Web Application Project XY is configured to use IIS. Could not find the server 'https://host/somepath’ on the local machine...
-
When the JavaScript renders script tag which includes/imports signal/rhubs the JavaScript proxy file will be generated. Commonly the JavaScript will include this virtual (none existing) script with following line: <script src="/Daenet.SignalR/signalr/hubs" type="text/javascript"><...