YEEEEEEEEEEEEHA 😀 the spelling checker didn’t like that one), here are some of the new features in VB 10. And yes, I did sound happy there, because some of these features are really not optional but much needed. Like the multi-line lambda and the sub lambda. You can find the whole video on Channel9 Multi-line lambdas will look like this vbnet myfunction.lambdathing(Function(e) e.dosomething e.dosomethingelse End Function) Or like this vbnet myfunction.
This is an archive of the posts published to LessThanDot from 2008 to 2018, over a decade of useful content. While we're no longer adding new content, we still receive a lot of visitors and wanted to make sure the content didn't disappear forever.
So you think you missed out because you were not able to go to the Microsoft Professional Developers Conference, think again, the only thing you won’t get by visiting these two links is the hard drive that they gave to the attendees There are 16 pages of videos on Channel 9 Videos on Channel 9: http://channel9.msdn.com/tags/PDC2008/ PDC2008 site: http://microsoftpdc.com/
Microsoft has made available a document showing the new features in C# 4.0. The new features in C# 4.0 fall into four groups: Dynamic lookup Dynamic lookup allows you to write method, operator and indexer calls, property and field accesses, and even object invocations which bypass the C# static type checking and instead gets resolved at runtime. Named and optional parameters Parameters in C# can now be specified as optional by providing a default value for them in a member declaration.
I am watching another dnrTV webcast, this time featuring Kathleen Dollard. The webcast is about the difference between VB.Net and C# for the .Net 3.5 framework. An interesting point came up where Kathleen says that casting to lower with unicode can be a security risk, more so then casting to upper. She was talking about an article in Visual Studio magazine by Bill McCarthy about this subject but I can’t find it.
The Azure Services Platform is in CTP, here are some details: What is the Azure Services Platform? The Azure Services Platform (Azure) is an internet-scale cloud services platform hosted in Microsoft data centers, which provides an operating system and a set of developer services that can be used individually or together. Azure’s flexible and interoperable platform can be used to build new applications to run from the cloud or enhance existing applications with cloud-based capabilities.
StructureMap is a Dependency Injection tool written in C# for .NET development. StructureMap is also a generic “Plugin” mechanism for flexible and extensible .NET applications. The new functionality in StructureMap 2.5: Completely revamped Assembly scanning options Cleaner, more predictable way to initialize a Container. StructureMapConfiguration is now deprecated, please use ObjectFactory.Initialize(). Optional setter injection All new abilities to query the configuration of a Container The ability to use StructureMap with ZERO Xml or attributes by default The ability to add services at runtime.
There is a great webcast on dnrTV this week. It shows you everything you need to know about Dependency Injection and Inversion of Control. If these things are a mystery to you, then watch this webcast. It takes 1 hour and 2 minutes. But it is really worth it. And perhaps it will also teach you how TDD works and what benefits that has. This is the short description. James Kovacs shows very clearly how to code up a simple IoC container with just a few lines of code illustrating the concepts of dependency injection, dependency inversion, and inversion of control (IoC).
As a developer you have the responsibility to stay informed and to continuously learn. Sometimes you can learn from another person’s questions and, hopefully, a good answer. Perhaps somebody has had a problem you have never faced. But perhaps you will face that problem in the future and reading about it in the past might get you to find the answer more easily (did that make sense ;-)). So for this reason alone, I read forums all over the place including the one on LessThanDot but more recently the one on StackOverflow too.
Silverlight 2 got released about a week ago. And this is what ScottGu promises us. **Silverlight 2 is a cross-platform browser plug-in that enables rich media experiences and .NET RIAs (Rich Internet Applications) within the browser. Silverlight 2 is small in size (4.6MB) and takes only 4-10 seconds to install on a machine that doesn’t already have it. It does not require the .NET Framework to be installed on a computer to run – the Silverlight setup download includes everything necessary to play video or run applications.
I’m reading Jimmy Nilsson‘s book about DDD “Applying Domain-Driven Design and Patterns“. And it confirms what I already knew. I use it. But how did I come to be using DDD? Well, I got my education in Java and it seems to me that the use of DDD is the technique that is used there more then in the .Net world. For me DDD is just how any OO language should be thought.