Archive for November, 2012

Q&A + Supervision

This morning, there was nobody at the Q&A session in AUD4 — we trust that this is because you all are doing well and there are no problems or questions. Remember that if you have questions, post them on the project page in order to share with everyone.

Since nobody showed up today, we will alter the procedure a bit for the coming two weeks. Instead Dario and I will have office hours, where you can consult with us.

  • Jakob will be available on Mondays (i.e. Dec. 3th + 10th) from 13:00 to 15:00
  • Darion will be available on Tuesday (i.e. Dec. 4th + 11th) from 09:00 to 12:00

If you need our help, please send us an email on beforehand so we know that you’re coming.

Student programmer needed!

Currently we are looking for a student programmet at PIT LAB with among other Android programming skills. The work will primarily be within the MONARCA project, but will assist with other projects and lab work in PIT LAB as needed. This will offer very diverse work setting, getting experience with a lot of different technologies and people.

If this sounds interesting to you, please have a look at the job offering here.

Project Groups…

Please send you project group, including group name, our full names, and ITU email addresses to Mads Frost. The groups will be listed at the Project Teams page.

Slides for the last lecture…

… is now available from the Schedule page. See you tomorrow (sorry for the late update).

Project desciption

The project description is now available. I will be presenting the project on Tuesday and answer any related questions.

Lecture week 46

Slides for the lecture on Tuesday, week 46 is now online. Note that will revisit the previous talk on patterns from the “Patterns I“ lecture, as well as move in discussion of new patterns in the “Patterns II” lecture. Even though many of you say that you know these patterns, I still have a feeling that some sort of repetition in the context of the OOAD book would be beneficial.

Note that there are no (new) assignment for this week — use the time to get the existing ones done and start preparing for the project.

The lecture Thursday …

… Nov. 15th is moved to Tuesday Nov. 20 since our external lecturer couldn’t make it anyway.

EF & ASP.NET example and office hours

We have had the last C# lecture this week. Form next week I will be available at ITU on tuesdays in 4D04.

Today at lecture we went through and example of how the entity framework can be used with the data binding capabilities of ASP.NET component. We have also seen what changes are needed when entity relations are involved. Note that data binding is a good tool for prototyping, but that in production code you might want to have more control over your database connection and queries.

Here is the code produced during the demonstration. Note that the example is associated to the database on my own machine. To run the code you need to change the database connection and generate the needed tables and data.

Hint on User Administration

While developing a prototype, you might what to use the Login and Authentication functionality of ASP.NET in your web application. ASP.NET provides you with a Login control and a CreateUserWizard control. Both these controls expect a specific table structure in a database in order to work.

This might not be ideal if your backend system already has a dataset for users. A simple way around this is to use the CreatedUser event from the CreateUserWizard. Within the event you can then add the code to create a uses within your backend system (sometimes it might be useful to extend the User table in the backend to incorporate the user_id of the ASP.NET authentication framework so things can be easily matched).

You can also use the customize option of the CreateUserWizard control to add extra fields.

MySQL and VS.NET 2012

There seems to be a problem with VS.NET 2012 and the MySql connector. In order to make the connector work within VS you have to install the latest beta version of the MySQL connector.

The problem is that this new connection does not work with the version of MySQL installed at ITU. If you want to use the new connection you will then have to host your own MySQL server or find a hosting that has a compatible version.

Next Page »