- Posted by Shay Friedman on August 4, 2012
At this year’s NDC I had the honor to chat with Jon Galloway and Scott Allen, who are half of the Herding Code crew. We chatted about subjects related to my NDC talks – Roslyn, C#’s dynamic capabilities, and the DLR.
Last week our chat was published as an Herding Code episode, and it is available to hear and download at http://herdingcode.com/?p=463.
Enjoy the episode and thanks Herding Code for having me!
All the best,
- Posted by Shay Friedman on April 26, 2012
In the last few months I had the honor of presenting my session “What?!? C# Could Do That?!?” at different conferences and user groups around the world. The session is mainly about different things you can do with C#’s dynamic capabilities, IronRuby and also a bit about the upcoming Roslyn “Compiler as a Service” project.
I’ve received several requests to upload my sample code. Therefore, I’ve just made it available on my github page - https://github.com/shayfriedman/WhatCSharpCouldDoThat-Sample.
If you have any questions about the code, don’t hesitate to contact me through twitter or the contact page.
Additionally, if you want me to come and do this session (or others) at your user group/conference, let me know!
All the best,
- Posted by Shay Friedman on November 19, 2011
On Thursday I had the honor to do a virtual talk at LIDNUG – the LinkedIn .NET User Group. A stage where lots of .NET celebs like Scott Gu, Jeffery Richter, Jeff Prosise and others have talked in the past.
I’d like to thank all the attendees and the LIDNUG crew who made this possible – Inbar, Peter and Brian – you guys rock!
About the talk – I focused on the dynamic capabilities of C#. Started with some black magic done using the dynamic keyword, then moved on to practice witchcraft with the combination of IronRuby and C#, and ended with the new and shiny .NET spell-book also known as project “Roslyn”.
The talk was recorded and it can be found on YouTube:
The code samples from the talk are also available – click here to download them [2.47Mb].
I had a blast, hope you did as a well.
All the best,
- Posted by Shay Friedman on December 8, 2010
Recently I‘ve been working at a client site where they are using Visual Studio 2005 for their main project. I’ve gotta say that I was a bit surprised since I haven’t come across VS2005 for a few years… I immediately became nostalgic and decided to share. So I’m proud to present (with help from Wikipedia and the WWW), Visual Studio – from past to present!
The Big Visual Studio Usage Poll
Before we begin, I wanna find out which Visual Studio version people are using. And you want to know too, right? So go ahead and fill up the poll!
Year 1997 – Visual Studio 97
Included: Visual Basic 5.0, Visual C++ 5.0, Visual J++ 1.1 and Visual FoxPro 5.0.
A funny related resource: Introducing Visual Studio 97: A Well-stocked Toolbox for Building Distributed Apps
Year 1998 – Visual Studio 6.0
Included: Visual Basic 6.0, Visual C++ 6.0, Visual J++ 6.0, Visual FoxPro 6.0, Visual InterDev 1.0.
Year 2002 – Visual Studio.NET
Included: .NET Framework 1.0, C# 1.0, Visual Basic.NET (VB 7), Visual J# 1.0, Visual C++ .NET 2002 (Visual C++ 7.0).
Year 2003 – Visual Studio .NET 2003
Included: .NET Framework 1.1, C# 1.1, Visual Basic .NET 2003 (VB 7.1), Visual J# 1.1, Visual C++ .NET 2003 (Visual C++ 7.1).
Year 2005 – Visual Studio 2005
Included: .NET Framework 2.0, C# 2.0, Visual Basic 2005 (VB 8.0), Visual J# 2.0, Visual C++ 2005 (Visual C++ 8.0).
Year 2007 – Visual Studio 2008
Included: .NET Framework 3.5, C# 3.5, Visual Basic 2008 (VB 9.0), Visual C++ 2008 (Visual C++ 9.0).
The Present - Year 2010 – Visual Studio 2010
Included: .NET Framework 4.0, C# 4.0, Visual Basic 2010 (VB 10.0), Visual C++ 2010 (Visual C++ 10.0), F# 2.0.
Well, I really have no idea what Microsoft is planning for the next release of Visual Studio or when it’s gonna see the light of day. If someone knows more, tell us in the comments!
Visual Studio has gone a long way, with 7 major released in 13 years. However, I found out when making this post that the general concept and the UI structure have grown up over the years, but haven’t changed drastically. It’s correct, by the way, for all IDEs out there.
This leads me to one conclusion – the tools have, without a doubt, become better, but we’re still coding using the same general concept that was used 10 and even 20 (maybe even more?) years ago.
Will it be the same 20 years from now?
All the best,
- Posted by Shay Friedman on October 7, 2010
The last few months were a bit hectic if you stayed tuned to announcements coming from Microsoft regarding new products. It honestly looks like some folks down in Redmond haven’t seen home for a while.
Even though I don’t agree with the need for some of these new products, I think it’s a great thing that the .NET Framework is becoming even bigger than it used to be and we, as a result, get more options. Good!
So what’s new?
May – IIS Developer Express
This is a web server that’s aimed to reduce the amount of unexpected surprises when moving a web application from the ASP.NET Development Server (“Cassini”) to a real IIS Server. It does that by combining features from both servers and giving you a server that’s on the one hand, easy to use and develop on and on the other hand, has a full web server feature set.
Further reading: IIS Developer Express overview, Scott Gu’s blog post
June – SQL Server CE 4
SQL Server CE (Compact Edition) is Microsoft’s free embedded database engine. On version 4 it can, for the first time, work inside an ASP.NET application. This is pretty cool because now you can use it for web sites with a small database instead of messing around with XML files or purchasing an SQL Server hosting.
By the way, this is not a new concept. You could’ve done this before using SQLite, for instance.
Further reading: SQL Server Compact Team’s blog post, Scott Gu’s blog post
July – The Razor View Engine for ASP.NET MVC
For those of you who’re into ASP.NET MVC, Microsoft released a new and cool view engine named Razor. Razor will be a part of ASP.NET MVC 3 and will join to the default web form view engine and the open source view engines – Spark and NHaml.
It provides a minimalistic way of writing views by massively using the at sing (@). I strongly recommend you to check out Scott Gu’s blog post about it to get the feeling of how it’s gonna be.
I believe this view engine will slowly move up to the top of the charts and eventually become the most popular view engine in the ASP.NET MVC world. That’s my take on it at least.
Further reading: Scott Gu’s blog post, Inside Razor Part 1, Inside Razor Part 2, Inside Razor Part 3
July – WebMatrix
This is a web development tool which is targeted mostly to beginners and non-Microsoft developers. By using templates, you’ll be able to create web applications in no-time and without understanding what you’re doing too much.
It’s not really my cup of tea but I guess a lot of people will find it very handy.
Further reading: Official site, Learning materials, Scott Gu’s blog post
August – Visual Studio LightSwitch
LightSwitch is a tool for creating LOB applications without writing any code (unless you need special customization). The result application has a database and uses Silverlight 4 for its UI.
Everything is wizard and designer based in LightSwitch which makes it perfect for beginners (not sure about the others).
Trying it out took me back about 10-15 years to when MS-Access Forms were prospering. I’ll let you decide.
Further reading: Somasegar’s announcement of LightSwitch, LightSwitch Developer Center, Official Site
August – IronRuby Mess
Well, that’s not a new product actually… But I thought it was worth mentioning here (I’ll let you figure out yourself why I care :-) ). At the beginning of August, the project manager of IronRuby left Microsoft and posted a blog post which kind of set a firestorm on twitter, the blogosphere and I guess internally in Microsoft as well. There were no new news since then, the project is not dead but it is advancing very slow…
Further reading: Jimmy Schementi’s blog post, My take on the situation, Microsoft’s official response
September – Internet Explorer 9 Beta
Microsoft has been slowly losing its dominance in the browser world to FireFox and new kid in the block – Google Chrome. Internet Explorer 9 is Microsoft’s attempt to get back into the game and get these lost percentage back. The beta showcases nice performance improvements, great usage of the computer hardware to display complex graphics and full HTML5 compatibility.
Further reading: Test Drive site, Guide for developers, IE Team blog
September – Web Farm Framework 2.0 Beta
The Web Farm Framework, aka WFF, simplifies the provisioning and deployment of web server infrastructure. The idea here is that you configure everything you need on a single server (called the primary server) and then use WFF to replicate and provision the exact same configuration across all of the other web servers in the farm.
Further reading: Official documentation, Scott Gu’s post
September – Windows Phone 7 Developer Tools
Windows Phone 7 is Microsoft’s try to close the gap with Google Android and Apple’s iPhone mobile platforms. I’ve heard people saying it’s going to fail miserably and heard others saying it’s gonna be a huge success. I honestly have no idea what will happen – on the one hand, it does look like a cool platform but on the other hand, it might be too little too late… time will tell, I guess.
Anyway, this developer tools package includes everything you need to write Windows Phone applications. Even though the actual device is not publicly available at the moment, you will still be able to use the included emulator to write applications.
By the way, the official release date for Windows Phone 7 devices is very soon - October 11th.
Further reading: Windows Phone Development Center, Scott Gu’s blog post, Microsoft Windows Phone 7 Release Date Confirmed
October – ASP.NET MVC 3 Beta
ASP.NET MVC 3 is the next version of ASP.NET MVC. It will include various new features and improvements, making this framework much more mature and ready for mass-usage.
It seems to me that version 3 will finally allow ASP.NET MVC to compete with other popular MVC web frameworks like Ruby on Rails.
Join the party people, MVC is the sane way of writing web applications today (until someone comes up with a better approach).
Further reading: Phil Haack’s blog post, ASP.NET MVC 3 Beta release notes, ASP.NET MVC 3 Road Map
October – NuPack
This one was a total surprise for me… I haven’t seen it coming at all. NuPack is Microsoft’s new packaging system, aimed to ease the process of finding and installing .NET libraries. This is a great addition to the .NET world and something I, personally, have been wishing for. This is very new and I hope it gets adopted by the .NET community. The sooner the better!
This is not a new concept. It has been around for years in the Ruby world (RubyGems) and in the Perl world (CPAN).
I also recommend you to watch the OpenWrap project which is an open-source package manager for .NET currently developed by Sebastien Lambla.
Further reading: Official site, Scott Gu’s blog post, Scott Hanselman’s blog post, Phill Haack’s blog post
I’m sure I missed some products but you get the idea – they’re on fire! 10 new releases in 6 months!
In conclusion, I think it’s good that as .NET developers, we now get more options to choose from and more mature tools to work with.
My wish for the future is that apart from Microsoft making the .NET world better, we will also see the community making the .NET world better with awesome open-source projects.
All the best,