Image Image Image Image Image
Scroll to Top

To Top

Johannes' Blog

06

Dez
2010

inRIA lecture

vonJohannes Hoppe

Your course achievement II (Specifications)

On 06, Dez 2010 | inRIA lecture | vonJohannes Hoppe

@My Students

There are continued confusions about the requirements of your project.  After my first lecture I defined the details. (see post from 12th October 2010). The specifications are still in effect and they remain unchanged:

[BOX_START]Specifications for you application

  • Server Side: C# 4, ASP.NET MVC 2 and Entity Framework 4
  • Client Side:
  • Team size: max 3 people *

[BOX_STOP]

[BOX_START]As you see, Silverlight is NOT required!
It is only essential for your SketchFlow Prototype! (Every team has to provide a dedicated prototype!)

Tags |

04

Dez
2010

inWP7

vonJohannes Hoppe

Free ebook: Programming Windows Phone 7, by Charles Petzold

On 04, Dez 2010 | inWP7 | vonJohannes Hoppe

Free ebook: Programming Windows Phone 7, by Charles Petzold

This book is a gift from the Windows Phone 7 team at Microsoft to the programming community.
The books shows you the basics of writing applications for Windows Phone 7 using the C# programming language with the Silverlight and XNA 2D frameworks.

This book is divided into three parts:

The first part discusses basic concepts of Windows Phone 7 programming using example programs that target both Silverlight and the XNA framework.
The second part of this book focuses entirely on Silverlight, and the third part on XNA 2D.

Tags |

Unity Application Block: Event Broker with ASP.NET MVC

On 03, Dez 2010 | inAOP, Clean Code Developer | vonJohannes Hoppe

For my colleagues at work I evaluated the Simple Event Broker from the Patterns and Practices team. In my opinion this extension is a very valuable piece of software!

To learn more about the Event Broker, you should read:

I made a small sample solution, based on my “WebNoteMvc” project.

The scenario is easy: I want my repositories (or services) to be loosely coupled. In my database foreign references are used. So before I delete data from one repository other repositories should get a notice. The related repositories are now forced to delete their own related data from the DB to keep the data integrity.

Tags |

01

Dez
2010

inRIA lecture

vonJohannes Hoppe

Lesson 07 – Continued: Unit Testing in Detail

On 01, Dez 2010 | inRIA lecture | vonJohannes Hoppe

We are going to continue with the slides from last lecture.
I will give you a lot of space for questions and to conduct experiments with your code!

Tags | ,

Update: ADO.NET Unit Testable Repository Generator v0.5

On 25, Nov 2010 | inClean Code Developer | vonJohannes Hoppe

I released version 0.5 of the
ADO.NET Unit Testable Repository Generator„.
In a short time the download counter reached 900. W00t! :mrgreen:

This encouraged me to bring up an improved version. It now simplifies Unit Tests by implementing “Equals”. Additionally, the dependency to Microsoft Unity is now optional.

All resources were updated:

Thank you!

Tags | , , , , , ,

16

Nov
2010

inRIA lecture

vonJohannes Hoppe

Lesson 06 – Unit Testing in Detail

On 16, Nov 2010 | inRIA lecture | vonJohannes Hoppe

In this lecture I want to concentrate again on Unit Tests with Visual Studio 2010. I finished the lesson with a lot of open questions. I will try to address all of them.

You can prepare yourself by [googling|yahooing|binging] about the following keywords:

  • Dependencies, Dependency Injection
  • Mocking
  • Lambda Expressions
  • MsTest, NUnit
  • Moq

I will refer to revision 31 in SVN, which you can also download here:
WebNoteMvc_v0.4.zip





My next big topic will be AJAX and especially jQuery. Depending on the progress with the UT stuff I will open this chapter at Wednesday, too. No special preparation will be required, but the Firebug extension for Firefox would be helpful!

Tags | , ,

10

Nov
2010

inGeneral

vonJohannes Hoppe

GERMAN: WCF Einführung (WCF Introduction)

On 10, Nov 2010 | inGeneral | vonJohannes Hoppe

[ENGLISH] I found this presentation on my disk. It’s an introduction to the Windows Communication Foundation (WCF) that was released with .NET 3.0. The slides are in German only. But the demo solution is written in English.

@My Students: this is just for your interest! But I’m going to introduce Message Exchange patterns in the next lesson.

[DEUTSCH] Ich habe diese Präsentation auf meiner Festplatte entdeckt. Sie führt in die Windows Communication Foundation (WCF) ein, welche ab .NET 3.0 mit an Bord ist. Die Folien sind auf Deutsch. Mit dabei ist ein Demo-Anwendung.

Tags | , ,

02

Nov
2010

inRIA lecture

vonJohannes Hoppe

Lesson 05 – First ASP.NET MVC project (2nd part – Unit testing)

On 02, Nov 2010 | inRIA lecture | vonJohannes Hoppe

[BOX_START]Please repeat the stuff and answer the following questions by mail:
1. What are Unit Tests?
2. Why and when should I use them?
3. How do I write Unit Tests?

We will continue with the 5th lesson at Wednesday, the 10th of November 2010.[BOX_STOP]

In this lesson I want to finish the sample solution. For me a programming task is only finished, if all necessary Unit Tests are written and if those tests finish successfully!

Please make sure, that you have the latest version of
http://code.google.com/p/lecture-hoppe/
on your laptop. (checkout with TortoiseSVN!)

Tags | , ,

31

Okt
2010

inWP7

vonJohannes Hoppe

Windows Phone 7 Camp

On 31, Okt 2010 | inWP7 | vonJohannes Hoppe

This weekend I’m participating at the Windows 7 Phone Camp from Microsoft. Developing with Silverlight 3 is fairly straightforward! At the camp I wrote this small app:


HitTheRoad.xap

You can play the XAP file with the help of the “Application Deployment” tool from the Windows Phone Developer Tools. Let’s see if it will be accepted for the marketplace hub. :-)

By the way, I got a nice confirmation of participation:

Tags |

Walkthrough: ADO.NET Unit Testable Repository Generator

On 27, Okt 2010 | inClean Code Developer | vonJohannes Hoppe

This walkthrough is going to show you the usage of my new T4 template called „ADO.NET Unit Testable Repository Generator“.

Table of contents:

My demo implements a small repository to manage simple text-snippeds in the database. I will start with an empty ASP.NET MVC 2 project. Any other type would work, too.


Tags | , , , , , ,