Showing posts with label TechStart. Show all posts
Showing posts with label TechStart. Show all posts

Thursday, December 17, 2009

Techstart grand finale

Header[2]

Welcome to the Techstart grand finale. The Techstart program was conceived to address the unique situation that the Computer Science class of 2009 found itself in. When several students who graduated in 2009 and had campus offers found their offers indefinitely delayed or revoked because of the economic situation, the Techstart initiative helped them learn bleeding-edge technology and provided a practical channel to their creative talent. Conceived by Anand Deshpande, inspired by a similar highly successful experiment at Stanford, sponsored by Microsoft and supported by multiple organizations and individuals, Techstart was designed to provide these students with training on Windows Azure development, Microsoft’s cloud computing platform, through a community effort. About 200 students brushed up on the basics of .NET development followed by over 8 weeks of intense training on the Windows Azure development platform from industry experts. The training culminated in a competition that showcased this newly acquired knowledge in the form of group projects hosted on Microsoft Azure.

- Event Highlights -
Keynote address by Mr Moorthy Uppaluri, General Manager DPE, Microsoft India
Techstart Competition Showcase – Live demos of the prize-winning applications on the Azure Cloud and prize distribution
Demo Extravaganza – a highly interesting introduction to some of the latest technologies from Microsoft
Please join us in applauding the students and volunteers that made this event a huge success and for a technology-filled evening in the company of:

Mr. Moorthy Uppaluri, Keynote Speaker
General Manager DPE, Microsoft India

Dr. Anand Deshpande
Founder, Chairman and Managing Director, Persistent Systems Ltd.

&

Dr. Deepak Shikarpur, Chief Guest
IT Evangelist

To know more about the event log on to:
http://techstart.cloudapp.net/home.aspx

Source: http://www.puneusergroup.org/events/techstart/edm/techstart-edm1.html

Wednesday, October 07, 2009

How to send Email on Windows Azure Application

Today during “TechStart Windows Azure Training Program” session I got a question about sending Emails from Windows Azure Application.
I was expecting that Windows Azure itself provide a SMTP relay and i could easily send email using SmtpClient Class but after checking Azure documentation, I found that unfortunately it does not support it, now what, how to send email from Azure application… ?
As almost all outbound ports are open on windows azure (including 25), so this can be a good news for us.. we can use external SMTP to send email.
also another good news is after March CTP Windows Azure offers the option of running the code in your Web and worker roles under full trust. (To enable full trust, simply add the enableNativeCodeExecution attribute to your role in the Service Definition file and set the attribute value to true)
e.g.
<WebRole name="WebRole" enableNativeCodeExecution="true">
so i guess now we are ready to send an Email from our Azure application…
Standard code which we use to send email in our ASP.NET using SmtpClient class applications works fine with Windows Azure Application.
so Open Visual Studio, create a Cloude Service Applications and add a WebRole to it. now on design a Page which will accept a TO address and a body of your message, and a send button :), now copy paste following code to Button click event, replace the credential details with actual credentials and Test it.

SmtpClient myClient;
MailMessage myMessage;

myClient = new SmtpClient("mysmtp.cognitioninfotech.com", 25);
myClient.Credentials = new NetworkCredential("myAlert@cognitioninfotech.com", "mypassword");
myMessage = new MailMessage(new MailAddress("myAlert@cognitioninfotech.com"), new MailAddress(txtTo.Text));
myMessage.Body = txtMessage.Text;
myMessage.Subject = "Test Email";

try
{
    myClient.Send(myMessage);
    lblstatus.Text = "Sent";
}

catch (Exception ex)
{
    lblstatus.Text = ex.ToString();
}





Wednesday, August 19, 2009

Configuring Windows Azure development machine

(TechStart: Microsoft Windows Azure Training Program )

This article explain you about installing and configuring your machine for Windows Azure development. I was preparing a help file for TechStart-windows Azure Program students so that they can prepare their PCs/Laptops for windows Azure development on their own, same article am sharing with you all. please note this document was written for students.

I will be publishing this in 3 separate posts, first for beginners where we will start from installing windows vista, VS, SP1, SQL Server , KB patches , Azure SDK etc. later on second post for Windows 7 with VS 2008 and third one for all OS and VS versions.

now lets start with first one - fresh installation on vista machine. I assume that you have a good configuration machine / laptop with at least 1 GB of RAM.

so lets make a list of all required software

  1. Windows Vista (Ultimate, Enterprise, business etc.).
  2. Windows Vista Service Pack 1 - Download here
  3. Visual Studio 2008 Professional Edition - Download Trial OR Microsoft Visual Web Developer 2008 Express with SP1
  4. Microsoft Visual Studio 2008 Service Pack 1 - Download here
  5. Microsoft SQL Server 2005 - Download Express edition here OR Download Trial Editions
  6. Hot fix patches for windows vista and visual studio (download from following links)
    1. Hotfix: Native Debugging Improvements
    2. Hotfix: Improve Visual Studio Stability
    3. Hotfix: Support for FastCGI on the Development Fabric
  7. Windows Azure Tools for Microsoft Visual Studio July 2009 CTP - Download here

that's all what you need to keep ready before you start preparing your machine.

so very Important thing is we are going to do a fresh installation of Windows Vista,  either on your default C drive or on another drive of your hard disk. so before we start take a backup of your data on external device or another drive of your disk.

Installing Windows Vista

Now Put Windows vista DVD in your DVD ROM and reboot your machine from DVD. it will automatically start the Windows vista setup from DVD. Ref following screen. if you don't know about operating system installation then you can read more detail steps about how to Install windows vista at http://support.microsoft.com/kb/918884

step1-install-vista

follow the instructions in setup wizard carefully and complete the installation. It may take around 30 minutes (depend of your machine configuration) and  on completion it will display login screen. ( Ref. following ) which means you can done with Vista installation.

step2-complet-install-vista

now provide the password and enter into the system.

after that Next step is install Windows Vista Service pack 1.

after installing Service Pack 1 it may ask you for reboot the system. reboot the system to complete the installation.

ones you are done with Service Pack installation then next step is

Enable IIS7 with ASP.NET and WCF HTTP Activation

start -> Control Panel -> Programs -> Click on Turn windows feature on or Off. it will show a security confirmation window , say Continue to that. it will open another windows just like this.

step3-install-iis-vista 

Under Microsoft .NET Framework 3.0, select Windows Communication Foundation HTTP Activation.

Under Internet Information Services, expand World Wide Web Services, then Application Development Features, then select ASP.NET and CGI.

step4-install-iis-vista

then click ok to Install the selected features.

Next step is Installing Visual Studio 2008 and SQL Server

Put Visual Studio 2008 DVD (Professional edition Trial DVD) in DVD Rom and start the setup. follow the wizard to complete the setup.

(Note: as I am using Team System edition it shows Team system, following screens may differ depend on your Visual studio 2008 edition.)

step5-install-vs2008 

step6-install-vs2008-2 

step7-install-vs2008-3

it will complete installation of Visual Studio 2008 and SQL Server 2005 Express edition.

if you noticed in above screen that Microsoft SQL Server 2005 Express edition is selected by default, so Now you don't need to to install it separately on your machine, only if you are installing Visual Studio Web developer Express edition then only you need to install SQL Server Express edition separately.

ones you are done with Visual Studio 2008 Professional edition Trial or Visual studio visual web developer express edition then start installing Service Pack 1 for Visual Studio 2008.

step7-install-VS2008-SP1-

many times this take more than 30 minutes,  so sit back and have some snacks :)

after installation of SP1 for VS2008, time to install some important Hot fix for Vista and VS2008

Install the Hotfix: Native Debugging Improvements (KB967631 - update for VS2008 SP1 debugger)

Install the Hotfix: Support for FastCGI on the Development Fabric (KB967131 - Update for Windows Vista)

Install the Hotfix: Improve Visual Studio Stability (KB963676)

step8-install-KB967631

step9-install-KBXXXX

after installing Hotfix for windows vista it will ask you for reboot, reboot the system.

Now system is Ready to install Azure SDK and its tools for VS. since we downloaded Windows Azure Tools for Microsoft Visual Studio July 2009 CTP, we DO NOT NEED to download and install Azure SDK July CTP separately. SDK is part of same installer.

installing Windows Azure Tools for Microsoft Visual Studio July 2009 CTP

step10-install-sdk

ones setup complete open Visual studio 2008 from start menu, go to new project and check if Cloud service template is available or not, if its available then you are done with your installation and ready for Azure development. now how to write hello word program that we are going to see in our first lecture. till that you can go through http://www.azure.com and read about azure development.

step11-confirm-vs