Compilation as a Service and the next generation plugins

Posted by Filip Ekberg on February 7 2013 3 Comments

I’ve written a lot about Compilation as a Service with Roslyn before on this blog and I just had a presentation about it, again. This time I talked about how to use Roslyn in order to create plugins. Actually how to create two different types of plugins; plugins using Roslyn to analyze code and plugins written for applications created in Visual Studio using Roslyn to compile code.

I’ve also written about Roslyn in my recently published book (which is currently on a discounted price!), be sure to check that out. For your information the book is available in Print, Kindle, PDF, ePub and Mobi; the three last ones here are included in a purchase of the printed copy!

Watch the below presentation and let me know what kind of ideas you get based on it and also let me know if you like it or not!

Enjoy these 50 minutes of Compilation as a Service with Roslyn!

Vote on HN

Friday with Filip – Dependency cycles & Spaghetti code

Posted by Filip Ekberg on November 2 2012 2 Comments

Welcome to this week’s Friday with Filip!

Last week I shared the first part in a very interesting session that I had the pleasure to do with Patrick over at NDepend. Having readable code and manageable solutions is very important but in some cases small changes that might see, trivial to you, might not be as trivial to someone else.

If you had to keep track of all dependencies in your head you are not going to have anything else on your mind; which is a pretty bad way to distribute your brain! Instead of keeping it all in your head, you can use a tool like NDepend to find out a lot of interesting things about your projects. If you’ve seen the previous posts and videos that I have done on NDepend, you know what kind of power this tool delivers.

The webinars that I have had the pleasure to do with Patrick has been very educating and I hope you like them as well, I would love to get some feedback!

So this week we are going to dig deeper with NDepend and spot dependencies, dependency cycles and spaghetti code! As we look on mscorlib, you can see that in some cases bi-directional dependencies are by design, but in other cases it might have been accidental. Sit back and enjoy the two parts below!

Part 2

Keeping our code base clean and understandable is important and as you might have seen now, there are tools that can help us along the way.

What are your tips on the subject?

Vote on HN

Friday with Filip – Demystify Spaghetti Code

Posted by Filip Ekberg on October 26 2012 1 Comment

Welcome to this week’s Friday with Filip!

Two weeks ago we looked at Dealing with Code Complexity using NDepend. This was the first episode in the webinar series on Code Quality.

This week I am happy to share that Patrick Smacchia and I have recorded the second episode! This week it’s about dependencies, dependency cycles and spaghetti code. I really enjoyed doing these sessions with Patrick and I really hope you will enjoy it just as much. Let me know what you think of it!

Vote on HN

Creating a NuGet Package

Posted by Filip Ekberg on February 26 2012 Leave a Comment

I put together a short video that shows how you can create your own NuGet Package. This requires that you download the NuGet Package Explorer. Be sure to check out the NuGet documentation, it is very good.

Vote on HN

Generic Programming in C#

Posted by Filip Ekberg on July 25 2011 5 Comments

This is my fourth screencast, talking about generic programming in C#. In this session I talk about how life was before we had Generics and then I talk about what generics solves for us.

If you have any questions please leave me a comment.

Vote on HN

C# 4.0 Using the Dynamic Keyword

Posted by Filip Ekberg on July 21 2011 Leave a Comment

This is my third screencast, talking about the dynamic keyword in C# 4.0. In this session I talk briefly about the dynamic keyword, where you might have seen it before and give some examples on how you can use it. I won’t go in to depth on the DRL, ExpandoObject or when/when not to use the Dynamic Keyword, that’s a whole other video.

As I stated in my last post I want to do short 8 – 15 minute videos scratching on the surface and then go in depth on the parts that most of you find interesting!

If you have any requests or questions regarding this or any other of my videos, don’t hesitate to leave a comment.

Vote on HN

C# 5 Async CTP – Old VS New – Video screencast

Posted by Filip Ekberg on June 20 2011 Leave a Comment

This is my second screencast, talking about the C# 5 async ctp. In this session I show how you can refactor old code that is using the task parallel library or a background worker to run time consuming operations asynchronously.

I also touch the surface on what continuation is and how it has been acheived using TPL and how it makes life easier when using async and await.

Vote on HN

C# 5 Async CTP – Async in Action – Video screencast

Posted by Filip Ekberg on June 11 2011 Leave a Comment

I recently recorded a screencast talking about the C# 5 Async CTP, keep in mind that this is my first screencast ever, so please give me your constructive comments.

Here’s the video, hope you like it:

Vote on HN