Mea Culpa Yesterday’s post showed a rudimentary WCF Rest service and how we need to change the system.serviceModel tag to support a REST service rather than a SOAP based WCF service. The service returned a string. The reason I set that up was because an object must be serialized prior to being sent back. Originally […]
Introduction I want my project to support numerous clients form factors. This is becoming even more important now the number of form factors has increased – what with servers, desktops, laptops, notebooks, net books, slates (of various sizes) and smart phones – that is before we get to OS such as Android, Windows Phone 7, […]
The stats helper monkeys at WordPress.com mulled over how this blog did in 2010, and here’s a high level summary of its overall blog health: The Blog-Health-o-Meter™ reads This blog is doing awesome!. Crunchy numbers A Boeing 747-400 passenger jet can hold 416 passengers. This blog was viewed about 6,200 times in 2010. That’s about […]
Introduction The way I previously created messages to send to the GovTalk service I used the XMLDocument to create the request. While this worked it left a number of problems; not least that for every message a special function would need to created. This is OK for the short term but the biggest cost in […]
As we move into the 2nd decade of the 21st century government data, hitherto closed, is now being opened up with governments adopting standards such as XBRL (eXtended Business Reporting Language). One of the functions I wanted was to retrieve the details of a company from the Companies House service. It would make it really […]
The MVC Template gives a lot of facilities out of the box, including user management – however the default model does not fit in with the requirements of the project – so it is time to develop a custom option.
I also want to concentrate on the function of the site, rather than the form – with this in mind it gives me an option to add to my skills and look at the MVC project.
Adding a Service Reference to an MVC application may cause the following error;
The configuration for the service reference could not be added due to the following issue: An error occured creating the configuration handler for the system.serviceModel/behaviours: Extension element ‘enableWebScript’ cannot be added to this element. Verify that the extension is registered in the extension collection at system.serviceModel/extensions/behaviourExtensions. Parameter Nme: element (C:\Users\…..\web.config line …….)
Any website will start with a handful of users and grow (hopefully) to many thousands. Azure allows you to control the amount of server resources your application will use, and hence the cost of hosting – with low use at the start and growing as the site requirements change. One aspect that needs to work […]
My site will send a confirmation email once a user has registered with it. So once the user has registered they will get a nice colourful email showing them their login details; Within C# the ability to send an email is contained within the System.Net.Mail namespace. I first off created a new class called Postman to encapsulate […]
Well it is time to start creating the application. After the problems detailed in the last post we will not currently be using the Azure Tools. That said there are a few things we need to download. Visual Studio 2010 (http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx) WCF RIA Services (http://silverlight.net/getstarted/riaservices/) Install both of those. Start Visual Studio 2010 Select File, […]