Skip to content

Commit 8301304

Browse files
committed
AutoMapper + ReadableExpressions post / Updating post tags
1 parent 96863ed commit 8301304

File tree

74 files changed

+301
-297
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+301
-297
lines changed

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ author:
1010
favicon: 'assets/images/favicon.png'
1111
baseurl:
1212
post_images_dir: '/assets/images/posts/'
13+
future: true
1314
production_url: https://agileobjects.co.uk
1415
# Add your GA Tracking Id
1516
ga_analytics: UA-165403546-1

_includes/featuredbox.html

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,17 @@
1-
2-
<article class="post post-featured has-image">
3-
<div class="post-inside">
4-
{% if post.featured_image %}
5-
<a href="{{ post.url }}" class="post-thumbnail">
6-
<img src="/{{ post.featured_image }}"
7-
alt="{% if post.featured_image_alt %}{{ post.featured_image_alt }}{% else %}{{ post.title }}{% endif %}">
8-
</a>
9-
{% endif %}
1+
<article class="post post-featured">
2+
{% if post.featured_image %}
3+
<header class="post-header has-image" style="background-image: url({{ post.featured_image }})">
4+
{% else %}
105
<header class="post-header">
6+
{% endif %}
117
<h2 class="post-title">
128
<a href="{{ post.url }}" rel="bookmark">{{ post.title }}</a>
139
</h2>
14-
<div class="post-meta">
15-
<time class="published" datetime="{{ post.date | date: '%Y-%m-%d' }}">{{ post.date | date: '%B %-d, %Y' }}</time>
16-
</div><!-- .post-meta -->
1710
{% if post.tags.size > 0 %}
1811
<div class="post-tags">
1912
{% for tag in post.tags %}<a href="/tags/#{{ tag | cgi_encode }}" rel="tag">{{ tag }}</a>
2013
{% unless forloop.last %} {% endunless %}{% endfor %}
2114
</div>
2215
{% endif %}
2316
</header><!-- .post-header -->
24-
</div><!-- .post-inside -->
2517
</article><!-- .post -->

_posts/2011-03-21-find-local-deployed-types-assemblies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
title: Dynamically accessing deployed Assemblies and Types in C#
44
excerpt: First post - might as well start with an extension method of mine I've found rather useful recently. It returns a collection of Types from all locally-deployed Assemblies, optionally filtering by Assembly and Type.
5-
tags: [C&#35;, Enterprise Library, Unity]
5+
tags: [C&#35;]
66
---
77

88
<span class="updated">

_posts/2011-03-23-find-local-deployed-types-assemblies-2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
title: Dynamically accessing deployed Assemblies and Types in C# - Part 2
44
excerpt: First post - might as well start with an extension method of mine I've found rather useful recently. It returns a collection of Types from all locally-deployed Assemblies, optionally filtering by Assembly and Type.
5-
tags: [C&#35;, Enterprise Library, Unity]
5+
tags: [C&#35;]
66
---
77

88
Well, will you look at that - no sooner do I write [my first blog](find-local-deployed-types-assemblies)

_posts/2011-03-25-auto-configure-enterprise-library-validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
title: Self-Configuring Enterprise Library Validation
44
excerpt: A recent project used Enterprise Library Validation to validate domain objects, and needed it configured for a web front end, a WCF front end, and (of course) unit tests. The same configuration in 3 different places didn't strike me as very DRY, so I figured hey - why not have it configure itself? Here's a quick paraphrase of how I did it.
5-
tags: [C&#35;, Enterprise Library, Unity, Programming Practices, Dependency Injection (DI)]
5+
tags: [Enterprise Library, Unity]
66
---
77

88
A recent project used [Enterprise Library Validation](https://msdn.microsoft.com/en-us/library/ff664356%28v=PandP.50%29.aspx)

_posts/2011-04-01-custom-ivalueprovider-asp-net-mvc-domain-model-objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
title: Using a custom IValueProvider for domain model objects in ASP.NET MVC 2
44
excerpt: I had a series of ASP.NET MVC controllers which took identifiers for various domain objects, loaded the objects, then passed them to ViewModels. In order to DRY out the code a bit I decided to factor the object-loading logic into a customer IValueProvider - it turned out pretty neat, and this is how I did it :)
5-
tags: [C&#35;, ASP.NET MVC, Programming Practices, Patterns, Domain Driven Design (DDD)]
5+
tags: [ASP.NET MVC, Domain Driven Design (DDD)]
66
---
77

88
I had an ASP.NET MVC project with URLs like this:

_posts/2011-04-06-redirect-request-if-file-upload-too-big-httpmodule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
title: Using an HttpModule to Redirect a Request When an Uploaded File is Too Big
44
excerpt: Today I wanted to build something into an ASP.NET MVC application to impose a size limit on uploaded files. I wanted to use an HttpModule so I could get at the upload before any Controllers got involved, and redirect the request if the file was too big. I did this without much fuss, but the redirect went to an ASP.NET "Maximum request length exceeded" error page. I just wanted to do a redirect, darnit!
5-
tags: [C&#35;, ASP.NET, ASP.NET MVC, Patterns]
5+
tags: [ASP.NET, ASP.NET MVC]
66
---
77

88
<span class="updated">

_posts/2011-04-20-auto-configure-unity-interception.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
title: Self-Configuring Unity Interception
44
excerpt: The application I'm currently working on performs user authorization using authorization objects injected into Service Layer methods using Unity Interface Interception. There's quite a lot of these objects, which means quite a lot of configuration, so I decided I'd make them configure themselves :)
5-
tags: [C&#35;, Enterprise Library, Unity, Programming Practices, Patterns, Dependency Injection (DI), Aspect Oriented Programming (AOP)]
5+
tags: [Unity, Aspect Oriented Programming (AOP)]
66
---
77

88
The application I'm currently working on performs user authorization using authorization objects injected

_posts/2011-04-22-clean-up-form-querystring-values-httpmodule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
title: Using an HttpModule to Clean Up Form and QueryString Input
44
excerpt: To avoid XSS attacks, ASP.NET throws a lovely yellow screen of death. But sometimes you want to accept potentially dangerous input, or you just don't want to have that error splashed across the screen. Being a fan of prevention rather than cure, I figured I'd make an IHttpModule to screen input before it gets to my application.
5-
tags: [C&#35;, ASP.NET, ASP.NET MVC, Aspect Oriented Programming (AOP)]
5+
tags: [ASP.NET, ASP.NET MVC, Aspect Oriented Programming (AOP)]
66
---
77

88
**"A potentially dangerous Request.Form value was detected from the client"**

_posts/2011-06-05-azure-bug-fixes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
title: Simple Solutions to Horrible Azure Pain - as Usual
44
excerpt: I recently spent far too long debugging a problem with our Azure application. We have two Azure cloud projects, and at about the same time they both started refusing to start; the web applications they house both worked perfectly when deployed to local IIS. There turned out to be two different problems - both very simple - so I thought I'd share what they turned out to be :)
5-
tags: [ASP.NET, ASP.NET MVC, Azure]
5+
tags: [Azure]
66
---
77

88
I recently spent far too long debugging a problem with our Azure application. We have two Azure cloud

0 commit comments

Comments
 (0)