Web Development Blog

Creating multi-part MIME HTML emails using c# and ASP.NET

Most web applications need to send emails at some time. I want to send a multi-part MIME message. So how do I go about doing this? It’s not a difficult task at all to send an email using the built in libraries in ASP.Net but what about a multi-part MIME message.

FileUpload in AJAX-enabled web applications

For some time it has bugged me why don't my file uploads work from a section of code that has be loaded from an Ajax call. I set my submit button to do a standard postback, which submits the file, I can see the file is submitted due to the additional time taken to submit the page. But on the server side the file file's content length is always zero, so no file.

Setting the ASP.NET Form Action Attribute, URL Rewriting

If you have worked on a dynamic web site chances are you have wanted to rewrite URLs to make nice SEO friendly URLs such as http://www.yoursite.com/blog/name-of-my-article.aspx instead of http://www.yoursite.com/blog.aspx?id=7361. It makes sense the use first example as it imparts more information to a person browsing your website as well as for SEO purposes.