DPS907 notes – Tue Oct 14

Mid-course review and topic synthesis.

.

Quiz today

Today’s session begins with a quiz.

.

Mid-course review and topic synthesis

Do you have questions about any of the topics we have covered so far? Contact your professor before class, or bring your questions to class.

.

Topic areas

Most important thing so far? Probably link relations.

Next most important? Probably HTTP.

Do you know the request pipeline? How to plug code into the pipeline. Where it goes, how it works. What initialization / configuration does it need.

Name the three kinds of modules that we have plugged into the pipeline so far.

In general, what components, code, and configuration do you find in a good project?

How does JSON or XML get generated and/or accepted?

Think about these controller method return types. Do you know when to use each one? What is each type?

  • void
  • IEnumerable<TEntity> or a single <TEntity>
  • IHttpActionResult
  • HttpResponseMessage

Resource model classes, and their purpose.

AutoMapper, and the problem it solves. Also AutoMapper and associated entities.

Repository, and unit-of-work patterns.

The command pattern (aka CQRS).

Data annotations, and their role in resource model classes.

Link relations, and its impact on controllers, and on repositories.

Do you know the meaning and purpose of convention based routing, and attribute based routing?

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: