Architecture - Accessing Volatile Resources

There are a few things we can do as developers to alleviate stress on our servers when we access volatile resources.  This can mean anything like REST services, database calls, or anything that might provide a bottle neck.

I would say they only thing that doesn't fall into this category is file system access, but even in those cases you might want to use cache to hold the object in memory if it isn't too large.

Read on to discover three different methodologies for access slow resources from website code.

More »

For sites that require Flash or ActiveX controls in Windows 8

If you have a Flash control, or an ActiveX control on your site, you may want to direct Internet Explorer users Windows 8 to the Desktop version of the browser, find out how!
More »

What's being part of Brightcove Technology Partners

Interesting, I was just talking/thinking about this...
More »

June 2011 Agility Release - Full Release Notes available

The full release notes are available for the June 2011 Agility Release.  Find them here.
More »

Developer Tip: DataTable vs DataView and sorting

We apply the default content view sort to the default view of the content items datatable.  That means if you cycle through the dataview, you're OK, but if you use DataTable.Select, you need to re-apply the sort.

More »

Developer tip: always use Request.RawUrl to determine the URL

One of the most common tasks as a web developer is manipulate the URL or otherwise determine information about the URL to do stuff.  In a CMS, however, the routing may make that a little tricky.
More »

MVC Support Update - Default Controllers and Module Controllers

Currently the MVC support in Agility requires that the Agility "catch-all" route be the last route in the routing table, and the "Default" route with {controller}/{action}/{id} won't work.  This meant that all of your controllers, had to be manually routed one by one, which is a pain.

Also, only a partial view (ascx) could be specified for Modules, meaning you really couldn't do any custom logic as part of your Module output.

These are both changing...

More »

Friendly Name Urls, Custom Routes and Preview Mode

If you are using a custom route to handle friendly named urls, you'll need to do a bit of extra work to get preview mode to work correctly.
More »

MVC Support Coming to Agility

We have long believed that MVC and Agility would make a good fit.  After all, the pattern of model that you define in the Content Manager, a controller that handles Page routing and other actions that you can extend, and a system of Views as Page Templates and Partial Views as Modules, makes perfect sense.
More »

The new Development Mode: The Refresh link is your friend

The December 2010 Release of Agility introduced a significant performance improvement with Development Mode.  It also introduced the idea of a "Refresh" link on the development mode panel.


More »

Lock it and Cache it: A Guide to Accessing Slow Resources from Web Apps

Anytime you have an outgoing web requests from a web site, there are some essential things to think of. This refers to anything where you are accessing a slow resource like a web request, database call, or maybe even a file. Follow these guidelines to help make sure accessing these resources doesn't kill your web server.
More »

LINQ vs DataTable/DataView: A lesson for Agility Developers

Querying a DataTable is much faster, in general than querying an object list using LINQ.  How much faster? Read on...
More »

Error 400 with WCF REST Services

I recently worked on a site that had a strange issue where “sometimes” the WCF service (JSON encoding) that we accessed via JavaScript (using jQuery) was throwing an HTTP 400 error
More »

Server Controls vs Plugins

I think the ASP.NET world has changed completely as far as reusable code is concerned. 
More »

URL Routing and Agility

From the forums: 

Q: Is it possible to use URL Routing (ASP.NET v. 4 version) with the Agility CMS?

A: Yes, but it can be tricky.  Agility Page Routing and ASP.Net URL Routing are performed internally by doing what is called "path re-writing" in ASP.Net.  This means that the internal URL that .Net uses to process the request will be different from the URL that the user is seeing in their browser. 
More »

Amazon CloudFront adds API for content invalidation

Good news from Amazon this morning as they have announced what I’ve been asking for – an API for content invalidation.
More »

Getting comfortable with Javascript callbacks

It seems every language has it’s own way of implementing callbacks.

Let's take a look a how it's done in Javascript.

More »

jQuery Code Snippets for Visual Studio 2010

These are just genius.  I especially like the one for adding an AJAX call to an asmx, which is always a pain.
More »

Logging your Amazon S3 file requests

You can log the requests that come through your Amazon S3 bucket.  We'll show you how.
More »

Twitter OAuth Authentication with TweetSharp

The Twitter API is something that you may have learned to love and hate over the last while, but as of August 16th, you may have to change the way you access it.
More »

Thoughts on Azure – Compute, Storage and SQL

I think Azure is ready to go as a platform for a Software as a Service platform.  When we think of cloud-based infrastructures, it has many pieces that make it both viable and attractive from many points of view.
More »

Google Font API & Google Font Directory

Google is making adding more fonts to your site easier with CSS3.
More »


Log in with your Agility username and password or
register for the site

Log In