Fortsätt till huvudinnehåll

Inlägg

Wish to create services with .NET?

If you wish to create service based applications (microservices is the hype, right) using .NET I suggest taking a look at Windows Communication Foundation (WCF). Links can be found below. WCF is a .NET framework that makes it easy (relatively speaking) to build service based applications. It works well for sending both simple and very complex data between service endpoints that can be located both locally and remote. Take a look at the introduction to WCF presented here:  What is WCF And take the Getting Started Tutorial here:  Getting started tutorial Note that there are some minor errors in the tutorial text but I am sure you will be able to figure it out.

Back to Linux

I have been using Windows on my main computer for some time now in order to be able to try out different C# stuff. However, despite Visual Studio being a real nice IDE I think Linux gives a better overall development experience. To still be able to try out different C# stuff I have switched to Linux and installed .NET core and the Visual Studio Code IDE. Of course .NET core lacks a lot of functionality available in the complete .NET framework and Visual Studio Code is much less powerfull than the full fledged version. Still so far it feels sufficient for the tests I am writing outside of working hours. And it feels good to be back in Linux :).

Inter process communication with .NET Core using RabbitMQ

Did a hello world test with  RabbitMQ on .NET Core running under Linux. Must say it was really easy. Took no more than 15 minutes to set up the server, writing the code for the sender and the receiver and sending the first message between the applications. Now lets see if this is something that can be used for creating event driven microservices...

Microsoft releases Visual Studio for Mac

It seems like Microsoft is putting a lot of effort in getting .NET available for more platforms than Windows. The release of  .NET core  made some basic .NET functionality available on both Mac and Linux and the upcoming release will add quite a lot more functionality to the core packages. Now, in order to develop in .NET you might want a good IDE. Latest news is that Microsoft releases  Visual Studio for Mac . Currently available as downloadable preview. In the future this might be a better alternative than running Visual Studio inside Windows on a Virtual Machine running on Mac that I've seen some developers are currently doing.

Be a Power(shell) user

In their latest development release of Windows 10 Microsoft has gone to great lengths to replace the well known command prompt with Powershell. Start -> Run -> "cmd" will start Powershell, shift + right-click in Explorer and selecting to open a command window will also start Powershell. If you are a Windows developer, this is a good time to start getting to know the Powershell. Check out this link  Getting started with Windows Powershell .