Test Email Delivery Methods in web.config Using ASP.net
Last Updated on Wednesday, 9 January 2013 11:18 Written by David Bauernschmidt Tuesday, 8 January 2013 12:00
Among the most common items in a web site is the implementation of email. There are many ways of implementing email from a web site. You can use a multitude of technologies to accomplish this. This article is not to discuss different methods but to look at one method which is asp.net. You could just set the settings (server, login, password, etc) in code and use the standard SMTP code that so many sites put together, however; I have found this to be cumbersome when you are deploying the site to production. Furthermore; after you publish to production any further testing will mingle the production emails among the testing emails. So what can you do to make this an easier transition? If you are familiar with VS 2012 transformation then you can see where I am going. If not then be prepared to learn something new today.
Learn MoreHow Do I Check That a Content Delivery Network (CDN) is Available?
Last Updated on Thursday, 29 November 2012 08:29 Written by David Bauernschmidt Saturday, 1 December 2012 12:00
The #1 way to speed up your website is to minimize HTTP requests, however; inevitably you will make request for images, audio, video, code, and other content. Whenever; you can off load some of the content to other domains or to other servers your site will always load faster. However; there will be times when those ‘other servers’ will be down. Whether it is just for a moment or for a longer period of time, you do not want your site to be at the mercy of those servers. What can you do? (Glad you asked). You can have the best of both worlds. Why not check to see if the ‘other’ server is available. If it is then use their servers to deliver your content. If not then just load your own content from your site. It is not that hard to do and takes about 3 more lines of code. You can use this for anything in particular. Just find the piece of code to check for.
I am giving you this example of the jQuery library and any library will do just replace the code with the syntax for their library.
Learn More
Recent Comments