Last week we had AspConf – “aspConf is a virtual conference focused on one thing: showcasing the ASP.NET stack as the platform for great web applications.”
Over 2 days they had 5 virtual rooms used to present lots of fascinating stuff on .Net, including talks about all manner of things in the Asp.Net world.
The sessions on both days covered topics such as, Async in .Net 4.5, Glimpse, TDD, Azure and Cloud Computing and lots lots more, you can read more about the sessions here.
Although it had some technical difficulties, due to its popularity I may add, the conference is an awesome way to learn for free – and free is always good. It’s a superb way to learn about content you havent had time to look at it, or new technologies you havent heard of. Hopefully next year they might try to use something different from livemeeting.
If you missed any of the session then fret not, most of them if not all of them were recorded and put up on Channel 9 here
I only managed to see sessions from day 2 so I am off to go watch more content on Channel 9 – a great resource for free learning.
The re-write started with my intention to learn the new MVC 3 razor syntax – I had previously written a small MVC 2 web application after having worked on web forms for several years.
When MVC 3 came out I didn’t have much of a chance to look at it until the last 2-3 months all be it on and off. The new razor engine is really cool and makes your view pages cleaner than before and the syntax is really easy to pick up. one thing I will say though is that at first it looks like spaghetti code but if you spend a little time learning the syntax and looking at well written pages you will soon see the beauty that is in MVC 3.
Lack of controls – at first I admit when working on an MVC 2 project I was fairly frustrated at the lack of controls available when trying to create web pages, this was holding me back and simple pages were taking more time than they should have, again if your willing to put in some time you will come across projects like MVCContrib and others which have a library of controls and HTML helper to aid you with your projects.
Don’t be put off by anything mentioned above, MVC 3 has a lot of very nice features which once you get the hang of you will see the benefits of using this type of project. I am now such a fan that I would always prefer to use MVC over WebForms, the code is so much cleaner where you can use the idea of separation of concerns to make your code far more maintainable, as well as more importantly testable.
For the WebForm background crowd MVC isn’t just a fad and it really is nice to work with, if you think its more like the bad old days of asp then you havent grasped the concept and the idea behind it at all.
I decided to re-write an existing small application at work using MVC and Entity framework and blog about the things I learn along the way.
The current application is a vb.net 2.0 web application which we currently use to book our time on projects for our customers, it’s also probably the only vb.net application we have at work so another excuse for me to re-write.
The reason I decided to re-write this was because I wanted to first of all try to learn MVC 3 and look and the new razor engine, I also took this opportunity to use the Entity Framework for the data access which I will cover in the next part of this post.
MVC hasn’t had any real air time at my place of work even though I try to inform developers just how much I like it, it’s so hard to convince people to move from what they know and use daily, to something new and completely different and that is easy to understand, but I love to learn new technologies and look at other ways to tackle something – I guess I do suffer from always wanting to use a new technology.
The next post will cover my thoughts on what I have come across so far and how MVC and Entity Framework fit some projects but not all.