F5 Debug…

Building & Debugging the Technology!!!

Archive for February 2nd, 2012

Reviewing 70-562 .NET Framework 3.5 Preparation Kit from uCertify

Posted by Karthikeyan Anbarasan on February 2, 2012

Friends,

I am very excited that I will be reviewing the preparation kit from uCertify for the Microsoft Certification 70-562 (.Net Framework 3.5 on ASP.NET Application Development).

Microsoft 70-562 Exam : Microsoft‘s 70-562 CSHARP exam measures your ability to develop applications using ASP.NET in a development environment that uses Microsoft Visual Studio 2008 and Microsoft .NET Framework 3.5. Maximize your performance on 70-562, a required exam for the new Microsoft Certified Technology Specialist (MCTS): Microsoft .NET Framework 3.5 ASP.NET Application Development certification.ASP.Net application exam is one of the most demanding exam.

About uCertify – uCertify’s flagship product is our unique, smarter learning platform – the PrepEngine. It is an interactive, electronic learning platform that combines step-by-step, guided learning with realistic exam simulation for IT certification exams.  Simply we can say uCertify is a Certification Preparation portal for all the certification exams with information’s on the Certification details, format, timings and the best preparation procedures to get trained 100% before attempting the exam. uCertify tool for Microsoft Certification 70-562, after installing the executable we can see the home screen with the different practice tests and interactive quiz as shown in the screen below.

image

Candidates should also have a minimum of one year of experience with the following:

  • Database access by using Microsoft ADO.NET classes in the Microsoft .NET Framework
  • Web services
  • State management
  • ASP.NET configuration
  • Monitoring Web applications
  • Debugging
  • Application and page life-cycle management
  • Security aspects such as Forms Authentication and membership and roles
  • ECMAScript (JavaScript, Microsoft JScript)
  • Internet Information Server (IIS)

Prior to preparation for MCTS: .NET Framework 3.5, ASP.NET Application Development exam, you will in all probability necessitate defining your objectives and making out if you will actually need the Microsoft MCTS: .NET Framework 3.5, ASP.NET Application Development test. Most excellent approach to do that is to coordinate your objectives with that of exams and if both are in a similar way, you require to be clear in your mind that TS: Microsoft .NET Framework 3.5, ASP.NET Application Development possibly will be the best exam available for you. Microsoft has specified more than thirty objectives for the Microsoft MCTS: .NET Framework 3.5, ASP.NET Application Development exam, which are grouped under seven topics. Following are some important areas in which an individual should possess good knowledge before taking the 70-562-CSHARP exam.

Microsoft has specified more than thirty objectives for the 70-562 test. These objectives are grouped under seven topics. Following are some important areas in which an individual should possess good knowledge before taking the 70-562 test:

  •     Configuring providers.
  •     Configuring authentication, authorization, and impersonation.
  •     Configuring projects, solutions, and reference assemblies.
  •     Configuring session state using Microsoft SQL Server, State Server, or InProc.
  •     Publishing Web applications.
  •     Configuring application pools.
  •     Compiling an application using Visual Studio or command-line tools.
  •     Implementing data-bound controls.
  •     Loading user controls dynamically.
  •     Creating and consuming custom controls.
  •     Implementing client-side validation and server-side validation.
  •     Consuming standard controls.
  •     Reading and writing XML data.
  •     Manipulating data using the DataSet and DataReader objects.
  •     Calling a Windows Communication Foundation (WCF) service or a Web service from an ASP.NET Web page.
  •     Implementing a DataSource control.
  •     Binding controls to data using data binding syntax.
  •     Configuring debugging and custom errors.
  •     Setting up an environment to perform remote debugging.
  •     Debugging unhandled exceptions when using ASP.NET AJAX.
  •     Implementing tracing of a Web application.
  •     Debugging deployment issues.
  •     Monitoring Web applications.
  •     Implementing Web Forms using ASP.NET AJAX.
  •     Interacting with the ASP.NET AJAX client-side library.
  •     Consuming services from client scripts.
  •     Creating and registering client script.
  •     Accessing device capabilities.
  •     Controlling device-specific rendering.
  •     Adding mobile Web controls to a Web page.
  •     Implementing control adapters.
  •     Customizing the layout and appearance of a Web page.
  •     Working with ASP.NET intrinsic objects.
  •     Implementing globalization and accessibility.
  •     Implementing business objects and utility classes.
  •     Implementing session state, view state, control state, cookies, cache, or application state.
  •     Handling events and control page flow.
  •     Implementing the Generic Handler.

Currently I am in process of reviewing the KIT, will provide the complete review comments once I am done with the same. Till then Happy programming!!!

Posted in Reviews | Tagged: , , , , , | 1 Comment »

Learn Windows Phone 7 Development in 31 Days – Day 2 – Creating a Hello World Silverlight Application in WP7

Posted by Karthikeyan Anbarasan on February 2, 2012

01 Download ToolsDownload Source CodeDownload as PDF FileSubscribe to F5debugComplete Article Listing


Introduction:

In this article we are going to see how to create a Silverlight Windows Phone 7 Application using the Visual Studio IDE. In our earlier article we have seen the software and the hardware requirement in order to start develop a windows phone application. Here in this article we will create a Hello World Application and try to run it in the Windows Phone 7 Emulator to check the working model of the application. Let us jump start to see the step by step process on how to design the application using the Visual Studio 2010 IDE.


Steps:

As we discussed in our earlier article, after installing the Windows Phone 7 SDK, we can see the new template options available with the Visual Studio 2010. The new templates are one for creating Silverlight for Windows Phone Application and other one is for XNA Game Studio 4.0  which will help us to develop respective applications as per the requirement as shown in the screen below.

2012-01-13 08h22_49

In this series we are going to concentrate more on the Silverlight for Windows Phone application development for the enterprise and commercial application builders. Also we will see how to create a XNA Game studio application as well so that it will give some idea on the difference between selecting the appropriate project. Let us create a Silverlight for Windows Phone 7 Hello world application, to start with first select the Windows Phone Application and provide the decent name to the project as shown in the screen below.

2012-01-13 08h28_34

Clicking on OK will create the application, we can see a popup window asking to select the version of the Windows Phone 7 OS. We will go with selecting the latest platform, Windows Phone OS 7.1 as shown in the screen below.

2012-01-13 08h40_08

Clicking on OK will open the project in Visual Studio 2010 IDE, we can see the windows phone 7 interface designer view and the XAML code view as shown in the screen below.

2012-01-13 09h16_01

Now drag and drop the controls from the toolbox to get some user input and show output Hello World. Also alternatively we can write the XAML code to get the controls based on the requirement. Once we have the controls on to the designer our screen looks like below.

2012-01-13 09h32_18

The XAML code for the above design is given in the below code block to get fair idea on the type of control used and the properties assigned for each control to get a better user interface. Just we can copy and paste this below XAML code on to any Windows Phone 7 Page to get this design. Here we have added 4 Text block, 2 text box for inputs and a button control to trigger some event. Also if you have noticed we have the header with message F5DEBUG APPLICATION in upper case which is the standard we should consider while developing our application.

XAML Code:

<Grid x:Name="LayoutRoot" Background="Transparent">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>

<!--TitlePanel contains the name of the application and page title-->
<StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
<TextBlock x:Name="ApplicationTitle" Text="F5DEBUG APPLICATION" Style="{StaticResource PhoneTextNormalStyle}"/>
<TextBlock x:Name="PageTitle" Text="F5Debug" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
</StackPanel>

<!--ContentPanel - place additional content here-->
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<TextBlock Height="30" HorizontalAlignment="Left" Margin="25,106,0,0" Name="textBlock1" Text="First Name" VerticalAlignment="Top" />
<TextBox Height="72" HorizontalAlignment="Left" Margin="140,84,0,0" Name="textBox1" Text="" VerticalAlignment="Top" Width="310" />
<TextBlock Height="30" HorizontalAlignment="Left" Margin="25,167,0,0" Name="textBlock2" Text="Last Name" VerticalAlignment="Top" />
<TextBox Height="72" HorizontalAlignment="Left" Margin="140,145,0,0" Name="textBox2" Text="" VerticalAlignment="Top" Width="310" />
<Button Content="Button" Height="72" HorizontalAlignment="Left" Margin="39,241,0,0" Name="SUBMIT" VerticalAlignment="Top" Width="377" Click="SUBMIT_Click" />
<TextBlock Height="51" HorizontalAlignment="Left" Margin="25,354,0,0" Name="textBlock3" Text="" VerticalAlignment="Top" Width="413" />
<TextBlock Height="50" HorizontalAlignment="Left" Margin="159,28,0,0" Name="textBlock4" Text="HELLO WORLD" VerticalAlignment="Top"  Width="173" />
</Grid>
</Grid>

Now we are done with the design, now go to the code behind Submit button Event and write the below code which get the user input from the 2 text boxes (First Name and Last Name ) to provide a welcome message to the user as shown in the code behind.

C# Code:


using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;

namespace F5debugWp7HelloWorld
{
public partial class MainPage : PhoneApplicationPage
{
// Constructor
public MainPage()
{
InitializeComponent();
}

private void SUBMIT_Click(object sender, RoutedEventArgs e)
{
string strFname = textBox1.Text.ToString();
string strLname = textBox2.Text.ToString();

textBlock3.Text = &quot;Welcome &quot; + strFname.ToString() + &quot; &quot; + strLname.ToString();
}
}
}

2012-01-13 09h51_41

Now build the application and execute the project to check the output by pressing F5 from the keyboard directly or by pressing the play button from the IDE tool bar and we can see the output in the Windows Phone 7 Emulator as shown in the screen below.

Note – We need to check if the target to run the application is pointed to Windows Phone Emulator and not Windows Phone Device.

2012-01-13 10h02_25

Now we can enter the test inputs and click on Submit button to get the welcome message as shown in the screen below.

2012-01-13 10h04_10


Conclusion:

So in this article we have seen how to create a Hello world application in Windows Phone 7 application for Silverlight and we also seen how to use the controls with the designer.

Thanks for reading my article. If you like my blog and if you are interested in getting the latest updates on new articles, kindly follow me through one of these options.

F5Debug FacebookF5debug LinkedInF5debug TwitterF5debug GooglePlusF5debug RSSFeed

Posted in Windows Phone 7 | Tagged: , , , , , , , , , , , , , | 4 Comments »