-
To compile a single program in dotnetcore , we obviously have to reference some assemblies, which implement at least the type system. Because the dotnetcore is build as set of nuget packages, it is required to explicitly (at least for now) reference all required assemblies. For example, take a look on...
-
After installing of Visual Studio 2015 you DVMN (.NET Version Manager) is usually automatically installed. You can verify this by entering following command in a command prompt: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC> dnvm If DNVM is installed during installation of Visual Studio...
-
After 15 years of .NET Framework and strategy called “Write Once Run Everywhere”, we obviously need to provide some clarification. You will probably not believe me, but we had 14 different versions of .NET. On the way to unify everything in the single story (I call it .NET One) Microsoft will make number...
-
You probably use Async-methods, but you don’t like the way how exceptions are handled? Remember, the async exception is typically an AggregatedException . In this case you have to dig into the list of exceptions etc., etc. Following peace of code shows how you can implement a very simple handler method...
-
After installing Visual Studio2013 Update 4 my C# Syntax Highlighting stopped working. This is what I get: public class MyClass : MyClass2 { } This is what I expect: public class MyClass : MyClass2 { } To fix the problem I executed following command in console with...
-
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...
-
One of probably most difficult situations is a need for debugging in production environment. After all you application and Windows traces cannot help you will have to debug in production. As long your application internal tracing mechanism is well designed, you will likely never run into this problem...
-
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...
-
When working with “async” I figured out, that during refactoring process in development of components statistically “async” can often and implicitly happen. That means, that small changes in method signatures can cause changing of “async” behavior. Mostly developers should and aware of...
-
As you might already now Windows Azure offers remote debugger for debugging of Cloud Services within Visual Studio. Good starting point to learn about debugging of cloud services is following article: http://msdn.microsoft.com/en-us/library/windowsazure/ff683670.aspx However before you attach the debugger...
-
.NET x86 JIT-er, was originally optimized to produce code quickly so that the program starts up fast. However at that point of time x64 architecture was mostly used for server, because it was just expensive. Because of that .NET 64-bit JIT-er was originally designed to produce efficient code throughout...
-
When working with async you will probable immediately notice that async programming is much easier then before. Unfortunately after a while you might notice, that that some things like ExecptionHandling are night mare now. In fact “ difficult things became easier, but easy things evaluated to more complicated...
-
As probably known the cloud messaging platform in Windows Azure is based on Service Bus technology. Few months ago Microsoft has published the Windows Azure Toolkit for Windows 8 which provided the same API for Windows RT. Unfortunately this library has been deprecated. The new WinRT library for Service...
-
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.