Wednesday, October 12, 2011
nickedit.co.uk is about to launch
nickedit.co.uk is a voucher discount site and has been built using .NET 3.5 and Entity framework. Initially, the idea was to write the whole application in .NET 4.0 using MVC and Entity Framework, but due to large scale restrictions imposed by the hosting provider (fasthosts.com) I ended up coding it in classic ASP.NET forms.
nickedit.co.uk not only has a user friendly front end design but also a fully functional backend admin interface allowing the client to add new products, audit sales and create new offers.
The site has also been build with a complete set of code documentation and multi tier separation for easy support, by anyone who knows how to write in C#.NET
Thursday, August 18, 2011
Sometimes even the simplest stuff catches you out
System.InvalidOperationException: Request format is unrecognized for URL unexpectedly ending in '/MethodName'It turns out it's another web.config setting (which makes sense) where you have to specify the required protocols. Here is the code:
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>
Thursday, July 28, 2011
Linq to Entity outer joins
the name '' is not in scope on the left hand side of equalsWhat you need to do is the following:
join users in entities.Users on new { ID = userroles.fkUserId } equals new { ID = users.ID } into users_join from users in users_join.DefaultIfEmpty()To place the entity on the left you need to declare "on new { ID = userroles.fkUserId } equals new { ID = users.ID }", so basically swapping the values around!
Hope it helps.
Wednesday, July 06, 2011
HTML 5 compatibility
- View engine: ASPX
- Use HTML5 semantic markup: leave unticked
But what about HTML5? Last year I attended IWMW10 which held a session on HTML5, and to be honest, it sounded awesome! Even though I did not like its lack of control and standards, I very much looked forward to the added features and gadgets that would be out of the box, rather than having to code lines and lines of javascript. So this feature within Visual Studio is always very tempting.
Before running ahead a enabling this option, I decided to do a quick compatibility test on the three standard browsers (Windows only):
- IE 9
- Firefox 5
- Chrome 12
Tuesday, September 14, 2010
New account activation for new students
Thursday, June 24, 2010
Fitting development methodologies
Monday, March 15, 2010
StudentNET Content
Option 1 - Full content integration into StudentNET V2
Similar to content administered by the i-zone content would be surfaced using the 'app area' in StudentNET V2.

The advantage of this approach is that it is in keeping with existing design and functionality.
Option 2 - Layered content integration into StudentNET V2
Following the original StudentNET vision, content would be surfaced using a conventional, layered web structure.E.G.: https://secure.canterbury.ac.uk/student/subject1/
The advantage with this approach is that it appears to be more scalable. It allows for more flexibility when having to cater for all CCCU's departments' needs.
Content structure
With either option the content structure needs to be carefully designed to allow for content to be reused in different areas of the web and in different media.
Content would be packaged up in logical subject sections. These subject sections may be informed by the more detailed content audit.
Content administration
With either option Contensis CMS would be used to administer content and support workflow rules.
Content rules will be important because content will be edited from staff across departments.
Thursday, September 17, 2009
StudentNET stress testing - it's not just about running the scripts ...
Creating test scripts using Visual Studio Team Foundation is a piece of cake, so at first we didn't stumble upon any problems. Within a few minutes of launching the wizard, the script was created in C# and we were ready to set up the first load test.
For an adequate load test we needed to have at least 4 agents that would be sending requests to our web servers; a controller that would be distributing the test load among the agents; a test client that executes the script. Now, considering we do not have a testing environment, let alone a testing lab, we had to make do with PCs of colleagues that were on holiday. So getting together 6 PCs was difficult enough.
Setting up the testing grid with staff PCs proved to be quite tricky. At first we had problems connecting the client (runs the scripts) to the controller (distributes the load). A few IPCONFIGS later we discovered that the two machines were on completely different IP ranges and were unable to resolve the machine name. Even though we were able to connect via IP, Visual Studio Team Foundation did not work, seemingly because the controller tried to contact the client with its name, which again did not resolve.
Secondly, running Virtual PC 2007 on our staff PCs meant that all 6 machines were too weak to generate a load that we would have wanted to test. It created a bottle neck of 300 requests to our web servers at any one time before the agents started to fail.
So we reduced the load of concurrent users to be able to run a few 5 hour tests to see whether the application was deteriorating in any way. Although this significantly reduced the load on our webfarm and resulted in minimal load balancing, we were able to fetch a few results that helped us improve the application.
Next steps
Tuesday, May 26, 2009
Google analytics is our choice
We deemed the risk of the service from Google being unavailable minor enough to be acceptable and would varify its accuracy by comparing the results to our own server logs on a regular basis.
We were pleased when our 'Web Steering Group', the overarching group that makes decisions about the University's online development, accepted the paper.
Yes, like many, we too are selling our soul to the Google empire.
Friday, March 20, 2009
IE 8 ready for download
A cool tool for web developers is the Compatibility View toolbar button which displays the website as viewed in Internet Explorer 7. This will correct display problems like misaligned text, images, or text boxes. This option is on a per site basis and all other sites will continue to display with Internet Explorer 8 functionality. In the past it has been problematic upgrading Internet Explorer because we lost the previous version, which made supporting it impossible.
An amazing new tool for the ordinary web user is the Web Slices feature. It lets you keep up with frequently updated sites directly from the new Favorites Bar. If a Web Slice is available on a page, a green Web Slices icon will appear in the upper-right hand corner of the browser. Click on this icon to easily subscribe and add the Web Slices to the Favorites Bar so you can keep track of that "slice" of the web.
We'll update you on our latest experiences with this new browser. If you want to send us some feedback, just leave a comment.
Friday, December 12, 2008
RSS what?
What does RSS stand for?
It stands for 'Really Simple Syndication' or 'Rich Site Summary' as some people/sites call it. I think the first is more meaningfull in the way that we use it on the University website.
What is it?
RSS is a format, which allows sites which have content that updates regularly to almost instantly notify RSS subscribers that new content has been added to the site. Most of the time the content will be something like news, vacancies, events, blog entries, flickr photos.
How do I know if a site has an RSS feed?
Most blogs will have a link, which says something like ‘Subscribe to ….’ or you will see an orange button like the one on this blog

How do I use RSS? (How do I subscribe to a RSS feed?)
Firstly, you will need a RSS reader. There are many different types of readers. Some are desktop applications and other web based applications.
Modern internet browsers like Internet Explorer 7 (IE7) and Firefox will both have their own readers built in.
Microsoft Outlook 2007 has a built-in RSS reader, which is very easy to use. Here is a simple tutorial on how to use Outlook 2007 as a RSS reader.
The two best web based RSS readers in my opinion and I use both is Google Reader and Netvibes. You will need to signup to those two sites to be able to use them, but that is a very simple process.
Next you will need to get a RSS feed from a site and tell your reader that you would like to subscribe to that specific feed. You can just copy the RSS url (e.g. http://cccuwebteam.blogspot.com/feeds/posts/default or http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/technology/rss.xml) and paste it into your reader.
There are many different ways for subscribing to feeds and I am not going to explain them all in detail, but if you need some assistance please leave a comment below and I will get back to you.
Current and future use of RSS feeds on the University’s website
Currently the only University site that allows users to subscribe to content is the News site. We’ve got plans to make feeds available for events, staff vacancies and sales & wants in the near future. I will publish a message here on the blog when they become available and if you subscribe to this blog’s RSS feed you will be notified as soon as they are available.
Please leave a comment if you can think of any other possible uses.
Additional information
BBC’s explanation on what RSS news feeds is - http://news.bbc.co.uk/1/hi/help/3223484.stm
Introduction to RSS - http://office.microsoft.com/en-us/outlook/HA012304631033.aspx
What Is RSS? RSS Explained - http://www.whatisrss.com/
Monday, December 08, 2008
Now we're talking.
If you want to find out how it's done, or have any questions, please leave a comment.
Friday, November 28, 2008
Personalise your search with SearchWiki
SearchWiki is a cool new feature that lets you customise your Google search results. You can add, remove and rearrange your search results as well as comment on them. Every time you do a search when you are logged into your Google account, you'll see your customised search results.
So how does it work?
Let's say you search for a holiday home in Spain, and you get "Results 1 - 10 of about 726,000 for holiday home in spain. (0.31 seconds)". Well the next step is to browse your search results. Inevitably, you will stumble upon pages that through clever techniques have received top rankings in major search engines, but are pretty much useless, or so cluttered and unusable that you immediately press the browser back button to get back to your search results. So you do not have to come across these pages again, you can delete them from your search results.
Similarly, if you really like the web page and think that you might find it useful in any future searches, you can promote the search result to the top of the page. You may also leave a note on individual search results. Every time you are logged into Google using your Google account, you can refer back to those comments and promoted and deleted search results.
Remember, your alterations and comments are not visible to anyone else. Only you, when you are logged on, can see the alterations that you have made.
Why would I do it?
You do have to ask yourself, "what's the point". Normally people use Google to find pages that they have not come across before. It is very unlikely that I'd need to search for the same thing again and again. I'd normally save important pages in my Internet Explorer bookmarks or del.icio.us for that matter. And if I'm searching for something different, for example another product, I'd go back to web sites that have proven to focus on products and product searches such as Amazon, eBay and the like.
What is the purpose of showing how other people have voted on a search result and their comments after you have voted and commented? By setting it up this way, Google doesn’t bias your own decision, but does Google provide the information after you have voted simply as a point of interest? Or to get you to possibly reconsider your decision?
Web development questions.
The real question for us web developers is: "How does that affect my daily efforts to optimise the site for search engines?" How can we guarantee that your department pages, your courses, and the University still receive high ranking positions on Google? Well, it would only affect the user that has deleted the canterbury.ac.uk search results from their list. So, would this affect accidental hits to our site and therefore improve the bounce rate?
Google's SearchWiki must be an interim step towards something else. Something bigger. It is gathering your valuable information of your search preferences and behaviours. Google would not just waste these data.
Has Google found the answer to providing an intelligent way of searching?
Changes to CMS folder permissions
The reason we have done this is to help improve the way you create web links to other Canterbury web pages. It also means that those web links are less likely to get broken, as they will be managed by the CMS. The CMS will remove the link automatically if the page it links to is removed.
Currently if you want to link to a CMS web page on the Canterbury site, which is outside of your own website, then you need to create this as an external link. By giving you access to view all pages in the CMS you can now “Insert CMS WebPage” as a link.
You will not be able to edit these additional pages in any way, they are just visible so that you can link to them if you need to.
If you have any questions regarding this change, please let the web team know and we will answer them for you.
Wednesday, November 19, 2008
Microformats are coming to CCCU web





