AzureAD: The user or administrator has not consented to use the application with ID ''

I have recently been working on a Multi-tenant Web Application that makes use of delegated permissions. After developing the application for a while I found that I needed to add another delegated permission to the application which I did using the normal methods. However, when I tried to make use of the new delegated permission with the test user I had been using for a while I didn’t get prompted for the application’s consent as I did originally and I ran into the error:
Read more →

Sending E-mail With PowerShell

Been looking for something like this in a while to test newly setup or existing SMTP setups for simple server notification or business applications e.g. SharePoint, as it saves you having to install telnet or putty in order to send a quick test email to make sure its not getting blocked somewhere i.e. spam: ## Update ## Just found out there’s an actual powershell Cmdlet for this: Send-MailMessage! $msg = new-object Net.
Read more →

Unable to use SQL Aliases in IIS Manager or Visual Studio

I Have always had a problem with IIS Manager using SQL Aliases when using the built in .Net membership providers (mainly cause its handy to test and setup the initial FBA user) but never managed to get down to the cause of the issue, just took it as one of those things. Luckily it was never really that important to resolve so it got left as specifying the alias in the web.
Read more →

Visual Studio Themes

Stumbled upon a great site today for anyone who prefer’s a slightly different editor theme in visual studio. Studio Styles is a website containing loads of colour themes for both VS 2008 and VS 2010 and also includes a ratings system. Even if your happy with the default colours I would recommend checking the site out just in case anything catches your eye. I prefer the low contracts themes these days as its just easier on the eye!
Read more →

Google Wave Scrapped

If anyone has seen any of the details for Google wave, or perhaps were invited to the Beta, Googles cancellation of the project may not come as such a surprise. In a nutshell, Google wave was described as an e-mail/instant messaging system with a touch of collaboration. In fact most of the content for Google wave compared it alot with e-mail however, this is primarily where I believe problem lay. Google wave improved on the E-mail de-facto that we still use today and had the potential to become email 2.
Read more →

The death of Windows Mobile?

Today when upgrading a products codebase from Visual Studio 2008 to Visual Studio 2010 I discovered that Microsoft have removed support for smart device projects in Visual Studio 2010. The decision to exclude support for smart device projects in Visual Studio 2010 appears to be a clear sign that Microsoft does not intend on continuing the Windows Mobile roadmap independently of Windows Phone 7. Windows Phone 7 is clearly targeted at the consumer space to complete with the likes of Apple iPhone and Google Android.
Read more →

SQL Express: Viable database for Application Development?

Microsoft SQL Express offers so much when evaluating a persistence store for your own applications, especially if you are targeting Windows and utilising the .Net framework. SQL Express offers pretty much most of the common features available in the full blown SQL Server which makes development and switching between SQL Server and SQL Express pretty seamless. However, there is one major factor which I would reccomend you consider… Deployment. You would expect the deployment of SQL Express to be as easy as installing say the .
Read more →

Message Queue Security under Server 2008 & Server 2008 R2

Message Queues are a great tool for interprocess communication if you need to ensure that a message is processed, regardless of the target process’s connectivity or runtime state. If you are developing with Microsoft’s .Net Framework you can take advantage of Windows Communication Foundations built-in support for Microsoft Message Queues. I have been using WCF with Microsoft Message Queues on a recent project, which as part of a back-end processor, the queues are automatically created in the event that they do not exist.
Read more →