Month: April 2013

Windows Phone became soo easy !! :) :)

Windows Phone 8

(I have downloaded the above image from http://betanews.com/wp-content/uploads/2012/09/ATIV-S-Product-Image-Front-5-600×399.jpeg, if anybody has issue with it please mail me to freemind.nitesh@gmail.com)

Hi Guys I am so sorry that I have not shown up since long time, but as I am here lets get a quick review on what all things are we going to learn and understand !!

Module 1: Windows Phone 8 Overview

CONCEPTS

• Application Platform Overview for Windows Phone
• Installing Windows Phone Developer Tools
• The Silverlight framework for Windows Phone
• Getting Oriented
• Introduction to Touch
• Sensors and Services
• Application Architecture

Module 2 : Windows Phone 8 Developer Tools

CONCEPTS

• Installing Windows Phone Emulator 8
• Windows Phone Developer Tools consist of Visual Studio IDE that includes a toolbox containing phone controls
• Phone-based designer skin, and project templates specific for phone application development
• Windows Phone Emulator that you can use to deploy, debug, and test your applications

Module 3: Basic Fundamental Concepts for Windows Phone 8 

CONCEPTS

  • Introduction Concepts that are fundamental to Windows Phone application development
  • Key fundamental Windows Phone concepts
    • Execution Model for Windows Phone
    • Frame and page navigation for Windows Phone
    • Launchers and Choosers for Windows Phone
    • Isolated Storage for Windows Phone
    • Themes for Windows Phone
    • Hardware specifications for Windows Phone
    • Web and data services for Windows Phone

Module 4 : Class Library Reference Windows Phone 8

CONCEPTS

  • Provide with the Library References that are present for Windows Phone
  • Purpose of including those references in the application

Module 5 : Getting Started with Windows Phone 8 Development

CONCEPTS

  • Provides step-by-step information for Developing Windows Phone 7 Applications
  • Learn about the Windows Phone Application Platform
  • Creating the first Windows Phone Application

Module 6 : Design Resources for Windows Phone 8  

CONCEPTS

  • Design principles that should observed when developing applications for Windows Phone
  • UI Design and Interaction Guide
  • Expression Blend for Windows Phone, design templates, and a visual explanation of the Windows Phone design system
  • Design Template for Windows Phone 8

Module 7 : Testing the application

CONCEPTS

  • What is testing ?
  • Guidance through testing process of the application
  • Testing of the application

Module 8 : Publishing Application on Windows Marketplace

CONCEPTS

  • Basics of Windows Phone Marketplace
  • Significance of Marketplace
  • Functions of  Windows Phone Marketplace
  • Guiding through the steps of publishing the application on Windows Phone Marketplace

I will try and cover each module one by one and if possible also will give you the some “Hands On” and “Demos”, lets see how things fall in place.

If you have any queries regarding anything please feel free to comment on or ask. 🙂 I am always there to help 

Will see you guys soon with a major content.

Thanks 🙂

Take care and have safe health.

Advertisements

Introduction to Application Packaging Standard (APS)

Application Packaging Standard gives a medium to package your Software-as-a-service (Saas) application. I got a nice experience of working with such packages and thought it would be good to blog it out!

First off, I would like to create a scenario where you have a web application, which can be deployed to a panel which will be handling your application. So, in such scenario, the package, when deployed, will be working as per your requirement.

In my case, I used Parallels Plesk Panel to achieve the purpose. I had to download it from the website, and install it on my local machine so that I was able to install the packages that I am going to develop.

In my case, I was more than curious to have my IIS-based application on the Plesk panel, so I installed the Plesk panel with ASP.NET support as well as SQL Server Database support.

Having created a scenario for installing and deploying the APS package, we will go through a short but important explanation of APS package.

An APS package is basically a simple compressed package, with an extension .app.zip. It is important to note that creating a mere compressed package will not work; it should follow some standards which are provided at the APS website.

Introduction to APS Specification

It provides a set of rules to be followed by a package in order that the package will be APS compliant. I will just borrow some material from APS website as an illustration to the things I am going to explain.

Following figure from the APS specification page clearly illustrates the package contents.

Img

I will go into details of each entity.

APP-META.xml

This file is responsible for keeping a track of following elements.

Application Information
  • General information: application name, version, change log, etc.
  • Vendor information: name, website, etc.
  • Packager information: characteristics of package manufacturer. It also includes a very important field, called package uri, which must be kept unique as far as each version/release of the application is concerned.
  • It also includes summary, category & description of the application and screenshots for the application.

These things are covered under application information element.

Services
  • Each application offers some service to its users. These services are specified in the services element.
  • There can be a license agreement, settings for service instance, control elements to be added to the user interface included in the services element.
  • Settings for service instance can also be included in the services element.

The APP-META.xml file follows simple xml schema architecture for the structure.

APP-LIST.xml

This particular file is responsible for keeping a track of all the files and folders present in the package. More importantly, this file also conveys useful information about each file in the package as far as hash value, size of the file is concerned. This is very important so as to track the changes in each file as various packages can be issued for any given application.

Scripts

This folder involves all the scripts which are necessary for an application package to work.

The important and very first file responsible for overall installation and functioning of the package is configure file. This file is included in the scripts folder, which is thereby invoked at the time of installation.

You can also insert the SQL scripts in the folder as declared in the configure file. I will be taking your through a detailed package creation tutorial, where you will actually get an exposure so as to how to create a package which is APS complaint, more or that later.

In the end, for a proper functioning of your package, the steps or the scripts are invoked by using files in this folder.

Images

This folder takes care of the branding of the package.

All the icons and screenshots are packed in this folder. Icons, particularly for an application, which are visible on the panel where you will be uploading the apps, are redirected from this folder.

The icons of packager, vendors are also present in this particular folder.

Htdocs

This is very crucial and important folder of the package, where you will put all your application files.

Particularly speaking, considering an example of a simple IIS-hosted web application, the published files are kept here in the folder.

This was all about a short and simple description about how the APS packages are and how they exist.

In the proceeding posts, I will take you through the environment for APS packages in detail.

SharePoint 2013 Communication with Yammer

Yammer is an Enterprise social network which was acquired by Microsoft. Yammer is similar as most popular social networking site “Facebook” .In SharePoint we can able to get the feed from external site as well like Yammer.

SharePoint interact with Yammer and get the live feeds to your Web Part.live feeds will be available at both place in SharePoint Web Part and the yammer page.

So here we will go with complete walk through step by step.

YammerHome

  • After click on Groups. your group page looks like below.

yammerGroups

  • Click on All Groups tab. then you can see all the groups in your organization and click on any group to join.

YammerAllgroups

  • After joining the groups you can see the joined group in left panel.

YammerJoinedGroup

YammerSoftwareGroup

  • Click on Software group then Click on Embed this feed.

Emmbed

  • after clicking one pop window will appear There is a script that generated by yammer, shows your domain and group id.

Script

  • After created the embed link from yammer, create a project in Visual Studio 2012 and open new project as Visual Web Part from SharePoint Solutions.

yammerVisualStudio

  • Paste the script inside the Visual Web Part.

yammerVS1

  • Build the Solution and Deploy
  • Open the SharePoint site and add the Web Part then save the page.

Sppage

visualwebpart

  • After adding the webpart your SharePoint page looks like below

YammerSignin

  • Now you need to sign in to Yammer page and Allow your feed to available for SharePoint Environment as below.

yam1

yam2

  • Now you can able to interact with your group from portal and Yammer.

final

Before putting down your first Step in development.

Hi People there are some prerequisites before we directly jump into the development of Windows Phone. Following are some prerequisites that will enable you and make it more simple to develop the app on Windows Phone

  1. .Net
  2. C#
  3. Silverlight
  4. OOPS Concepts

Going ahead you will be able to understand and build on the Windows Phone apps :

  1. Getting Started: The app platform, setting up tools and creating the first app.
  2. Developer Tools: The Visual Studio IDE and Windows Phone Emulator.
  3. Design Resources: Application bar icons, UI design principles, Expression Blend, and the design system.
  4. Fundamental Concepts: What you need to know before you begin creating your first application.
  5. Application Features and Common Development Tasks –Tasks that are common for all Windows Phone applications, and not related to specific features.
  6. Marketplace Publishing and getting paid– How to publish your app on App Hub and get paid for your work.

 

Will keep you posted people … :) :)

Jquery split() with IE8 issue

Jquery split() with html tags and browser

 I am working on HTML 4.0 + HTML 5 with jquery. I have a scenario as follow,

I want to create a list using ul, li structure from following string

String:

data =”

Lorem Ipsum is simply dummy text of the printing and typesetting industry.

<ul>

       <li>Test content 1</li>

       <li>Test content 2</li>

       <li>Test content 3</li>

</ul>

Lorem Ipsum is simply dummy text of the printing and typesetting industry. ”

so I need to create a structure at runtime from above string as follow,

Strucuture:

<ul>

       <li><p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p></li>

       <li>Test content 1</li>

       <li>Test content 2</li>

       <li>Test content 3</li>

       <li><p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p></li> </ul>

So I need to group non-tag data in ul, li list inside the paragraph tag <p></p> and remaining

data which is already inside the <li></li> structure as it is.

So I have create the function as follow,

 // Convience function for creating new jQuery objects
        function $tag(tag, id, css, style) {
            var element = document.createElement(tag);
            if (id) { element.id = id; }
            if (css) { element.setAttribute("class", css); }
            if (style) { element.setAttribute("style", style); }
            return $(element);
        }

code:
var ul_strucure = $tag("ul", false, false, false);

var temp = $tag("div", false, false, false).append(data);

$($(temp).children().filter("ul")).empty();

var nontag_data = "";

nontag_data = $(temp).html().split("<ul>").join("").split("</ul>").join("*<ul>*").split("*");

var ul_data = $tag("div", false, "", false).append(data["transcript_data"]).children()
              .filter("ul");

 var j = 0;

for (i = 0; i < nontag_data.length; i++) {

    if (nontag_data[i].toLowerCase() != "<ul>" && nontag_data[i]) {  

               $(ul_strucure).append($tag("li", false, false, false)

               .append($tag("p", false, false, false).html(nontag_data[i])));
        }
    else if (nontag_data[i].toLowerCase() == "<ul>" && nontag_data[i]) {

     for (k = 0; k < $(ul_data[j]).children().length; k++) {

          $(ul_strucure).append($tag("li", false, false, false)

               .html($($(ul_data[j]).children()[k]).text()));

                 }

             j = j + 1;
          }
     }

The above code is working fine in IE9, IE10, mozilla, chrome, safari

So split()  is return an array with given splitter expression.

but in IE8 I face a problem that the split method not returning the array for same above code,

After 2 days I found the solution as follow,

in IE8 inside < and >  means HTML tags and automatically convert it in to the upper case,

So I have updated the my function for browser specific as follow,

 
if ($.browser.msie && $.browser.version < 9) {
      nontag_data = $(temp).html().split("<UL>").join("").split("</UL>").join("*<UL>*")
                     .split("*");
      }
   else {
      nontag_data = $(temp).html().split("<ul>").join("").split("</ul>").join("*<ul>*")
                     .split("*");
   }

SO the small correction in code, It will work 
all browsers

Enter into Windows Phone 8

Hi everyone,

I will be uploading a series of blogs where in I will describe how Windows Phone 8 development is easy and new and attractive.

I will be guiding you through some steps which will actually help you to cover up all the Windows Phone 8 basics and help you in development in Windows Phone 8.

We will progressively move from basic steps to the advanced versions of how you can actually develop things on Windows Phone and get the application done and publish it on the Marketplace.

 

Be with me people, and believe me I am there to help you …

Manage Service Application with Windows PowerShell Commands

Windows PowerShell commands that you can use to manage service applications.

COMMAND
DESCRIPTION
Install-SPService
Installs the services in the farm. It runs once per farm.
Get-SPServiceInstance
Start-SPServiceInstance
Stop-SPServiceInstance
Operations related to managing the services instance for a specific server or the entire farm.
Get-SPServiceApplication
Publish-SPServiceApplication
Remove-SPServiceApplication
Set-SPServiceApplication
Unpublish-SPServiceApplication
Operations related to managing service applications deployed to a farm (such as sharing the specified local service application outside the farm).
Get-SPServiceApplicationProxy
Remove-SPServiceApplicationProxy
Add-SPServiceApplicationProxy
GroupMember
Operations related to managing service application proxies.
Get-SPServiceApplicationPool
New-SPServiceApplicationPool
Remove-SPServiceApplicationPool
Set-SPServiceApplicationPool
Operations related to managing the logical architecture of service applications.