diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


Sample of the Day: Learn Amazing Code Sample Every 24 Hours – Configure SSL for Specific Pages in Azure

Microsoft Launches Smaple of the Day: Learning Code Sample SeriesMicrosoft All-In-One Code Framework team kick off “Sample of the Day,” an opportunity to help you learn or discover something new every day.

“Sample of the Day” introduces one amazing code sample every 24 hours that demonstrates the most typical programming scenarios of different Microsoft technologies. If you are curious about and passionate for learning something new, follow the “Sample of the Day” RSS feed or visit the “Sample of the Day” homepage,” Microsoft blogged.

In the first code released today, Microsoft demonstrates how to configure SSL for specific page(s) while hosting the application in Windows Azure.

configure ssl for specific pages in windows azure: code same of the day

“While hosting the applications in Azure, developers are required to modify IIS settings to suit their application requirements. Many of these IIS settings can be modified only programmatically and developers are required to write code, startup tasks to achieve what they are looking for. One common thing customer does while hosting the applications on-premise is to mix the SSL content with non-SSL content. In Azure, by default you can enable SSL for entire site. There is no provision to enable SSL only for few pages. Hence, i have written sample that customers can use it without investing more time to achieve the task,” posted Microsoft.

You can download the Configure SSL for specific pages in Windows Azure code sample here.

You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension.

Visit, Sample of the Day for more.

all-in-one code framework sample browser or sample browser visual studio extension

Share This Story, Choose Your Platform!