Joacim

Stories kicked by Joacim

VB and F# support on Windows Phone 7(msmvps.com)

submitted by JoacimJoacim(255) 1 year, 9 months ago

Have you also heard the rumor that VB and F# is not support on the new Windows Phone 7? Well, Justin Angel, a Silverlight expert, disagree and this is how he showed that you indeed can use those languages to develop WP7 applications... read more...

add a comment |category: |Views: 16

tags: another

When OOP stinks and when you instead should leave a smell behind…(msmvps.com)

submitted by JoacimJoacim(255) 1 year, 9 months ago

I just saw an interesting video blog post by the CTO of Devexpress entitled Pac-Man and Object-Oriented Programming, in which Julian talks about how we’ve been doing object-oriented programming for 20 years now (or even more than that if you come from the SmallTalk world) and how we, as OOP/OOD programmers and designers think about programming. He then quickly moves on to comparing that to a game of Pac-Man. read more...

add a comment |category: |Views: 7

tags: another

Microsoft is switching the light but will it turn on or off?(msmvps.com)

submitted by JoacimJoacim(255) 1 year, 9 months ago

During the VSLive! keynote in Redmond, Microsoft yesterday announced a new Visual Studio product called LightSwitch. LightSwitch is a new SKU for Visual Studio that will allow people to create line of business (LOB) applications for the desktop and the cloud without writing a single line of code. It will also be shipped with future version of Visual Studio Pro and above. In a way it reminds me of Access but with the difference that it can use different data sources, including Sharepoint and Azure SQL. Since the announcement there have been a wild discussion within the MVP programmers community, especially among VB and C# MVPs if this is a good or a bad thing. read more...

add a comment |category: |Views: 6

tags: another

Visual Studio 2010 Beta 2 Released(msmvps.com)

submitted by JoacimJoacim(255) 2 years, 7 months ago

Yesterday Microsoft had a big announcement day. At the same time as Steve Ballmer held his keynotes at the SharePoint Developers Conference (see the video) Microsoft released Visual Studio 2010 Beta 2 for MSDN subscribers, the public release will be tomorrow, October 21st. They also announced that the official release date of Visual Studio 2010 and the .Net 4.0 Framework will be on March 22nd, 2010. read more...

add a comment |category: |Views: 8

tags: another

To comment or not to comment(msmvps.com)

submitted by JoacimJoacim(255) 2 years, 8 months ago

Anyone that has ever taken a programming class or read a beginners book on the subject know how important it is to write comments in your code. But is that really true? In this post I’m going to discuss/question the common practice of writing comments in your code. Bad comments A couple of weeks ago I was contacted by an old friend of mine that runs a construction company. They have an old custom system that they’ve had since the mid or late '90s sometime. read more...

add a comment |category: |Views: 10

tags: another

Copy and Paste programming - A bad habit(msmvps.com)

submitted by JoacimJoacim(255) 2 years, 8 months ago

I usually stay away from religious discussions when it comes to programming habits and technology choices simply because they don’t usually make any sense at all and are most often just based on emotions. Arguing if VB.Net is better or worse than C# is just nonsense in my book since the differences between them are minor. They both target the same platforms, and use the same framework, of course there are differences but none of them are so great th. read more...

1 comment |category: |Views: 486

tags: another

Develop for Windows 7(msmvps.com)

submitted by JoacimJoacim(255) 2 years, 8 months ago

Have you any plans on starting to develop applications for Windows 7 yet? The Windows API Code Pack can be used to access some of the new features in Win7, but also some existing features in older version of the Windows OS. The team at Microsoft that are behind the code pack have just updated all the sample code so they now come in both VB as well as in C#, and they did a very good job with it too. So go have a look, it’s pretty neat. read more...

add a comment |category: |Views: 8

tags: another

At your service (Part II) - ASMX Web Service vs WCF(msmvps.com)

submitted by JoacimJoacim(255) 2 years, 8 months ago

Last time I demonstrated how to develop a Windows Communication Foundation (WCF) service. This time we’re going to look at the differences between a ASP.Net WebService and a WCF service. The biggest difference between them is probably that a WebService only can be activated via HTTP and they are tightly coupled with ASP.Net HTTP pipeline. A WCF service on the other hand can be bound to a large variety of network protocols. It also doesn’t... read more...

add a comment |category: |Views: 108

tags: another

At your service (Part I) - WCF Tutorial in VB(msmvps.com)

submitted by JoacimJoacim(255) 2 years, 8 months ago

In this post I’m going to do a tutorial on Windows Communication Foundation, WCF. This tutorial is divided in 4 steps:Defining the WCF data and service contracts. Implementing the WCF service contract. Creating the service-host application. Create a client application that uses the service. So without further ado, let’s get busy... read more...

add a comment |category: |Views: 1171

tags: another

Debugging a Windows Service(msmvps.com)

submitted by JoacimJoacim(255) 2 years, 8 months ago

In my last article I showed a simple example of how to create a Windows Service using VB. This time we’re going to have a look at how to debug the service from Visual Studio. Since a service must run from the context of the Service Control Manager you can’t normally debug it in the same manner as you would any other project type. Normally you would need to build the project, install it using the InstallUtil.exe command line tool, and attach a debugger to the pr... read more...

add a comment |category: |Views: 18

tags: another

Creating a Windows Service using VB.Net(msmvps.com)

submitted by JoacimJoacim(255) 2 years, 8 months ago

Creating a Windows Service might not be something you do on a daily bases, during my career I’ve only made 3 or 4 of them, and this one was the very first I’ve created using .Net. Developing a Windows Service used to be pretty darn difficult, but not any more. As it turned out it’s fairly easy these days. read more...

add a comment |category: |Views: 25

tags: another

Event horizon - Understanding custom events(msmvps.com)

submitted by JoacimJoacim(255) 2 years, 8 months ago

In this article I’m going to try to explain what custom events are and why you should use them in your code. As you will see the term custom event is this context is not just an event you have created for your own class, but also a custom way of storing the delegates for this event... read more...

add a comment |category: |Views: 11

tags: another

Run you later - Understanding deferred execution in LINQ(msmvps.com)

submitted by JoacimJoacim(255) 2 years, 8 months ago

In this article I’m going to try to explain one of the most misunderstood features of LINQ – deferred execution - and the impact it might have on your code if you don’t fully understand what it means... read more...

add a comment |category: |Views: 12

tags: another

The Untouchables (part III) – Adding iterators to our immutable stack(msmvps.com)

submitted by JoacimJoacim(255) 2 years, 8 months ago

In my last post I showed you a VB translation of Eric Lippert’s immutable stack class. There was however one thing that was lost in translation. In Eric’s original code he made the class enumerable (added support for a For Each loop). Because C# has support for iterators with it’s yield keyword, that was very easy to do… in C#. VB currently doesn’t have this feature so to add the same support we need to implement both ... read more...

add a comment |category: |Views: 4

tags: another

The Untouchables (part II) – Creating an Immutable stack with VB(msmvps.com)

submitted by JoacimJoacim(255) 2 years, 8 months ago

In this article I will shamelessly “steal” the great work originally posted by Eric Lippert on his blog. However I will translate his code into VB and try to explain it from a VB developers point of view. In my last post, I described what immutable objects are and what the advantage of using them would be. It also described how you could create an immutable class and use it as if it was value type. This time we are going to tak... read more...

add a comment |category: |Views: 4

tags: another

The untouchables - Creating immutable objects with VB(msmvps.com)

submitted by JoacimJoacim(255) 2 years, 8 months ago

There are many articles available on the Internet about immutable objects in .Net. Unfortunately almost all of them are addressed toward C# developers. In this article I’m going to rectify that by providing some information on the subject aimed toward the VB developer. read more...

add a comment |category: |Views: 13

tags: another