I recently had issues where Google was seeing misspellings of a domain names as different websites themselves, and possibly as duplicate content. The domains were bound to the same web application in IIS and I wanted to fix this without editing the source of the web application itself.
I had a few options, one of which [...]
Posts Tagged ‘csharp’
ASP.NET MVC 3 Routes – Allow Arbitrary Number of Slashes With Catch All
Posted: 14th April 2011 by marc in ProgrammingTags: asp.net mvc, csharp, mvc3, redirect, routing
Using Data Annotations and Extensions with SubSonic 3.0
Posted: 7th March 2011 by marc in ProgrammingTags: .net, csharp, data annotation extensions, data annotations, subsonic, validation
I was just about to search for a good Url regular expression to check input validation, when I remembered a recent blog post by @srkirkland mentioning Data Annotation Extensions (github). This extension package allows for additional common use data annotations, such as URL, Email, Credit Card, etc in any .NET 4.0 project. It has been [...]
Sending Amazon SES Emails through a Mock SMTP Server in .NET
Posted: 23rd February 2011 by marc in ProgrammingTags: amazon, amazon ses, api, csharp, mock, simple email service, smtp, smtp server, web services
Some have recently posted that a pitfall of the Amazon Simple Email Service is that you can’t setup it up to work through a traditional SMTP as you can with other services such as SendGrid. While Amazon SES doesn’t provide a SMTP wrapper, Amazon points out that it can be used with some modifications to [...]
Using ASP.NET MVC Views to Send Email via Amazon Simple Email Service using Postal
Posted: 17th February 2011 by marc in ProgrammingTags: .net, amazon, amazon ses, asp.net mvc, csharp, mvc3, postal, simple email service, views
At the MvcConf 2 Andrew Davey (@andrewdavey) presented a neat emailing utility for ASP.NET MVC 3 called Postal that allows for using View Engines to ease the creation of email templates, and also takes care of sending the emails out. During the session someone raised the question about sending through third-party services, namely Amazon Simple [...]
OMG Facebook Finally Officially Announces Official Facebook C# SDK
Posted: 16th July 2010 by marc in GeneralTags: .net, csharp, facebook, facebook developer, official facebook sdk
Could it be? An official C-Sharp .NET SDK from Facebook itself? Yes! What’s the catch? Well… it isn’t much yet, and came out of a hackathon project (is that what it takes for Facebook people to acknowledge Microsoft .NET as a real language?)… but it is hope. Here it is the news directly from the [...]
OpenGraphNET – A Simple Open Graph Library for .NET
Posted: 13th May 2010 by marc in ProgrammingTags: .net, csharp, facebook, open graph, opengraph, opengraphnet
A OpenGraphNET is a simple parser / library for the Open Graph protocol created by Facebook. More information on this protocol can be found at opengraphprotocol.org. If this is something new to you, I’d suggest reading up on the semantic web, RDFa, and related OpenGraph materials – there is a good writeup here covering all [...]