Obelink.ToString()

My random thoughts on software development

Page 2 of 4

VB.NET to C# – 04
Making decisions

Making decisions is one of the most executed tasks when writing business logic. In Visual Basic .NET you use in most cases an If .. Then .. Else statement or a Select Case statement. In C# there is no big difference, beside the fact that the naming of the keywords is a bit deviant. Let’s start with a simple If .. Then ... Else statement.

Continue reading

Visual Studio 2017
Use ValueTuples in Visual Basic .NET

Tuples are primitive types where you can easily combine multiple values to one variable. They are as a datatype not completely new for C# 7.0 or Visual Basic 15, but the way you can use them is, with the new System.ValueTuple type, much improved. In this post I will show you how you can take advantage of the streamed syntax of value tuples. The old System.Tuple became not very populair, mainly because the results where not strongly named; you have to use them like result.Item1, result.Item2 etc.

Continue reading

SDN Cast 42
Future of Visual Basic .NET

Last night I was the ‘special guest’ on the 42th SDN Cast. I talked with fellow MVP’s Maarten van Stam en Fanie Reynders about the latest news in ‘Dev’ world, but the main topic was the future of Visual Basic .NET.

Continue reading

Visual Studio 2017 Launch Event
Join us!

Microsoft will release Visual Studio 2017 on March 7.  They organize a two-day virtual event to show the world the beauty of this latest release.

On March 7, you can watch a live stream with Julia Liuson, Brian Harry, Miguel de Icaza, and Scott Hanselman as they share the newest innovations in Visual Studio, .NET, Xamarin, Azure, and more. After the keynote, Microsoft engineers will lead interactive technical demo sessions to help you get the most out of Visual Studio 2017 and the rest of their tools and platform. On March 8, you can get productive even faster by joining a full day of live interactive trainings. Make sure you will sign up for these trainings.

But the event is not only virtual. You can join a couple of locally hosted events. Speaking about the Netherlands you have the choice of a couple events, geographically spread around the country. I’m not sure this list is comprehensive, but you can choose already from a nice list!

Join us on one of this meetings… I’m looking forward to meet you!

VB.NET to C# – 03
C#-Visual Basic Bilingual Dictionary

In this post I want to point you to a book which will help you to make switching between C# and VB.NET and vice versa more easily. The title of the book is actually quite self describing: ‘C#-Visual Basic Bilingual Dictionary’ and is written by Tim Patrick.

CSharpVisualBasicNetBilingualDictionary

From the back: “Built on Microsoft’s powerful .NET Framework, C# and Visual Basic are complete equals in terms of coding power and application development possibilities. In today’s multi-platform environment, an understanding of both languages is a job requirement. The C#-Visual Basic Bilingual Dictionary unifies the languages by providing clear, functional equivalents for all syntax and grammar differences.

  • Complete coverage of all language keywords. Nearly 900 dictionary-like entries cover every Visual Basic and C# keyword and grammar feature, including VB’s “My” namespace.
  • Examples in both languages. Hundreds of code samples in both C# and Visual Basic make translations between the languages clear and easy to understand.
  • Full support for Roslyn. Each chapter covers the latest language features from Visual Studio 2015 and Microsoft’s “Roslyn” compiler.

Whether you work on a team that uses both languages, or just need to understand a technical article written in that “other” language, the C#-Visual Basic Bilingual Dictionary is an essential resource for developers crafting Microsoft software solutions.”

You can browse trough the content on the Amazon website. I’ve just ordered one 😉

VB.NET to C# – 02
Working with data types

The Common Type System (CTS) ensures that components written in C# or VB.NET can interact with each other. The CTS supports two general categories of types: Value types and Reference types. Value types directly contain data. An instance of a value type is either allocated on the stack or allocated inline in a structure. These types can be natively built-in (native data types), user-defined or enumerations. A reference type, in contrast to a value type, stores a reference to the value’s memory address and is allocated on the heap. A reference type can be a self-describing type, a pointer type or an interface type. As said, the native .NET types are in general fully compatible, but naming and assigning is different between VB.NET and C#.
Continue reading

Will I see you at TechDays 2016?

In a few days Microsoft TechDays will start. This is the major Dutch tech event on Microsoft – and other open source technologies. On this event many (respectable!) speakers will have their sessions on various topics. Speakers you know from your local community, but also Microsoft employees from Redmond will visit Amsterdam. The event will be held on October 4 and 5 in Amsterdam, The Netherlands.

Continue reading

VB.NET to C# – 01
Structure of your classes

I love Visual Basic.NET, but as a .NET developer I write code in C# too. In this serie of posts I’ll show you the main differences between VB.NET and C#. Today I will discuss the structure of classes.

Continue reading

Visual Studio Team Services – NuGet Packages

Since a couple of months you can download an extension for Visual Studio Team Services (VSTS) to manage your own NuGet packages. The extension is called Package Management. It’s is still in preview, but Microsoft supports it already as were it released. With this tooling you can host your own NuGet feed, containing your – or other custom NuGet packages. The big advantage is that you can share NuGet packages with your organization. They are available for consuming from your Team Build too. Beside version control, workitem management and tracking bugs, in my opinion Team Build is a key feature of VSTS, so this is really great news!

Continue reading

Started a new MCSD certification : Azure Solutions Architect

Last week I decided to get started with a new MCSD certification: Azure Solutions Architect. In a world where more customers want to take advantage of Microsoft Azure, it’s important to get my knowledge up-and-running. At my own company we are using Microsoft Azure for almost all our backend tasks. We are hosting sites, web services, SQL Azure databases and for example Virtual Machines with a regular SQL Server installation. We can manage them fine, but for some real troubleshooting our knowledge is not sufficient.

Continue reading

« Older posts Newer posts »

© 2017 Obelink.ToString()

Theme by Anders NorenUp ↑