Posts

C# Clean code book

Remember last week, I presented the website https://leanpub.com/ One interesting & free book recently published is https://leanpub.com/cleancsharp/ . You will find in there a lot of good tips to write clean C# code. Some tips are really useful. If the professional applications I work on would have be written by people who have read this book, my life would be easier! It is only question of "good sense" in my opinion, plus a set of established rules, like proven efficiency stuff. But I have to say that most of them are not applied, even in "top" french companies.

Publishing and/or Reading books

I would like to share with you a platform I found few weeks ago. I've already mentionned SyncFusion ebooks in an earlier post ( http://kampeki-factory.blogspot.fr/2015/03/syncfusion-free-eboks.html) . Notice that they still add free books regulary. The platform I discovered is called Leanpub ( https://leanpub.com/ ). As an author, you can propose your book, writen using your favorite tool. They are doing the publication in different formats (pdf, iPad, kindle...) on their side. An other interesting thing is that you set the price. In fact, you set two prices: the first one the is minimum price, and the second one is a suggested price. As a reader, you are informed of those two prices. You can pay the minimum price (which can be 0$). Or you can follow the author advice and give him the price he thinks his book is really.

Create a startup with DotNet tools?

Here is a pretty good article if you plan to create your startup. Will you choose Microsoft tools? http://rlacovara.blogspot.fr/2012/03/should-you-use-net-for-your-statup.html

Swagger IO

If you are building a WebAPI, I recommend the usage of swagger IO to document your API. It is incredibly simple to setup & provide you (and your clients) a very good way to expose and describe your data. The website: http://swagger.io/ To see a demo: http://petstore.swagger.io/

Visual Studio Code: a new IDE is born!

One important announcement at the Build conference is the release of a new IDE. It is called Visual Studio Code and it is a cross platform editor. It runs on Mac Linux and... Windows ;). It has Intellisense, supports multiple languages, has debugging and git built-in. Visit https://code.visualstudio.com/ to get more information & download.

[Fast&Furious guide] Setup a continuous integration process with TFS2013

Image
The goal of this post is to present you ( very quickly ) how to set up a TFS server (give you the steps) in order to get a continuous build integration environment. We will also talk about continuous deployement. For all the details, please take a look at the bottom of this post for the reference links... To summarize, the continuous integration process will help your team to merge their working copies  of your application code and to discover faster when a build fails. The reasons why a build fail can be multiple: - errors in code - a test fails - code analysis fails... We will take a look at the following points: - Configure the TFS Server - Create a new build definition - Insert tests in your build process - Manage team project's check-in policies - Deal with NuGet packages - Automatically deploy your project with MsDeploy. Setup your TFS 2013 server First you need to have a server that will manage and build your code. Install a TFS server and configu

//Build 2015

The Build 2015 is now over. To view the best announcements, you can visit the website: https://www.build15.com/ Microsoft is doing a tour of the Build event in most important cities. Don't hesitate to register!

Retryable pattern with C# 6

Thanks to the new "when" keyword in C# 6, we can easily implement a retryable pattern when an exception is thrown. http://geekswithblogs.net/BlackRabbitCoder/archive/2015/04/09/c.net-little-wonders-exception-filtering-in-c-6.aspx