June, 2009

  • Wriju's BLOG

    VB.NET 10 : Automatic Property

    • 6 Comments

    Now in VB.NET 10 we have automatic property,

    Public Property myName As String = "Test"

    Sub Main()

            Console.WriteLine(myName)

    End Sub

    In ildasm it shows like,

    image

    Namoskar!!!

     

  • Wriju's BLOG

    Visual Studio 2010 and .NET Framework 4 Training Kit - May Preview

    • 1 Comments

     

    Available at http://www.microsoft.com/downloads/details.aspx?FamilyID=752CB725-969B-4732-A383-ED5740F02E93&displaylang=en

     

    Namoskar!!!

  • Wriju's BLOG

    NotifyIcon : Display Windows Form in System Tray

    • 1 Comments

    While talking to different people I get this question. And in Visual Studio it is very easy to do,

     

    You need Windows Forms Application, then drag and drop NotifyIcon there. Set one icon with that control so that it is visible,

     

    public partial class Form1 : Form

    {

        public Form1()

        {

            InitializeComponent();

        }

     

        private void Form1_Load(object sender, EventArgs e)

        {

       

            notifyIcon1.BalloonTipText = "Current Time : " + DateTime.Now.ToString();

            notifyIcon1.BalloonTipTitle = "This is Test";

     

            //Keep the Baloon for 1 second

            notifyIcon1.ShowBalloonTip(1000);

     

            //Start the window in Minimized Mode

            WindowState = FormWindowState.Minimized;

     

        }

     

     

        //While minimizing the Form show only in System Tray

        private void Form1_Resize(object sender, EventArgs e)

        {

            if (FormWindowState.Minimized == WindowState)

            {

                Hide();

            }

        }

     

        //Restore the Form State Back to normal

        private void notifyIcon1_MouseDoubleClick(object sender, MouseEventArgs e)

        {           

            WindowState = FormWindowState.Normal;

            Show();

        }       

    }

     

    Namoskar!!!

     

  • Wriju's BLOG

    Azure : Pricing & Licensing Overview

    • 1 Comments

    Should you have question, please visit http://www.microsoft.com/azure/pricing.mspx

    How will Microsoft charge for the Azure Services Platform?

    Subject to certain limits, Azure Services will be available without charge during our Community Technology Preview (CTP). Once Microsoft Azure launches for commercial use, we will offer a portfolio of services and you will be billed according to your actual consumption of each service. Based on feedback during the CTP period, pricing offers may be provided based on the following parameters.

    ·         Windows Azure - Compute and Storage services

    ·         .NET Services - Access Control, Service Bus, and/or Workflow Services

    ·         SQL Services- Database service for LOB applications

    ·         SharePoint Services (future) - SharePoint components that developers can utilize and build into their application

    How will resource utilization be measured?

    Monitoring agents in the Azure platform will measure specific resource utilization. However, no specific pricing or consumption models will be announced until we have received sufficient input from the user community and partners during the CTP period. This will include:

    ·         CPU time, measured in CPU-hours

    ·         Bandwidth for ingress/egress from the data center, measured in GBs

    ·         Storage, measured in GBs

    ·         Transactions, measured as requests likes Gets & Puts

    How can I get support?

    Microsoft will offer these services both a la carte as well as through our established business programs. Regardless of how you purchase Microsoft services, you will have access to our extensive field organization and our rich partner ecosystem. In addition, you will be able to get support through our standard support channels. We will also give you access to robust service level agreements and guarantees on quality of service.

    How Can I Get Started With Azure?

    ·         Current Timeframe – Community Technology Preview (CTP) Program

    o    Explore and experiment with the Azure SDKs locally

    o    Register to try the CTP.

     

    ·         Availability Timeframe – H2 2009

    o    Acquire directly through the Microsoft Online Customer Portal

    o    Acquire though ISVs (independent software vendors): purchase an ISV application which utilizes the Azure Services Platform, and pay the ISV through their own licensing and pricing model

     

    Namoskar!!!

  • Wriju's BLOG

    Visual Basic 10 : Line Continuation Magic

    • 0 Comments

    There are some new enhancements in Visual Basic 2010 or Visual Basic 10 where you can really have greater flexibility on how you handle multiple lines for continuous statements,

     

    'Explicit Continious Line (no need to use & _ )

    Dim sContinuation As String =

        "Hey you know I can write multiple lines without & _"

     

    Console.WriteLine(sContinuation)

     

     

    'Multiple statements in a single line

    Dim sMessage As String = "Hello Visual Basic 10" : Console.WriteLine(sMessage)

     

    Namoskar!!!

  • Wriju's BLOG

    ASP.NET 4.0 : New HTML Snippet

    • 0 Comments

    In Visual Studio 2010 we have more than 200+ snippet to make your HTML life easier. It is not just Snippets which you can use, there is Surround with. For example, you want to wrap an area into UpdatePannel, you have surround with option with a mouse click.

     

    Couple of shortcuts,

     

    button - which will create

    <asp:Button ID="Button1" Text="text" runat="server" />

     

    There are many more. You may also use mouse button to write your HTML code just like C#/VB.NET.

     

    Namoskar!!!

  • Wriju's BLOG

    Presenting Windows Azure in Talking Tech 2009

    • 0 Comments

    I am currently back from New Delhi where I have presented Windows Azure – Microsoft Cloud Computing. This Saturday I am going to Chennai for the same purpose. In Delhi (actually in Gurgaon) I enjoyed the interactivity where people had lots of questions. Just wanted to face many more of such opportunities to help Developer community.

    IMG_0724

    Enjoy my Azure App at http://wriju.cloudapp.net/. Hope to see you there.

    Namoskar!!!

  • Wriju's BLOG

    Hello Azure in Talking Tech - Chennai 13 June 2009

    • 0 Comments

    "Hello Azure" at Chennai last week end was fun. I showed the demo and successfully uploaded it to Microsoft Cloud CTP. WOW, with a funky Internet connection outside office it is indeed a challenge. Received so many questions and fun to interact after the session.

    IMG_0895

    IMG_0897

    IMG_0902

    Namoskar!!!

Page 1 of 1 (8 items)