Happy New Year 2012 :)

Saturday, December 31, 2011

Thanks to ALMIGHTY ALLAH. and all of my Friends ,Family ,Teachers, Students for helping and supporting me though all over the year. due to your love and good wishes i had really wonderful year.i wish to family,friends,student,teachers this new year will be a Efflorescence and Felicity with great success and Lagniappe for you.


I am Sorry to every one my family , Teachers , Students,Friend. Please for give for all of my mistake and i will try my level best to improve my self

Summary of 2011
Thanks a almighty Allah i achieved a great success in my career and shown my Dalliance with Technology and my community in this year 2011 . Thanks to Microsoft for bring my career at Elixir. i tried to share my knowledge with community as much as i can for helping other. To provide quality knowledge base information by training's,workshops,blog,Eloquence for Community. i tried to help my community and young youth to discover the world of entrepreneurship . motivate them by Eloquence. I am very happy to meet and found students like Umima,Mubhi,Salman,Fasial,Farah,Naveed,Haseeb,Zoya,farah,iqra and wish them best of luck for career.
Thanks to almighty i was nominated for MVP award, Won 26 local awards and received Microsoft Community reorganization award 2011 & Microsoft Community contributor Award. Also become Microsoft Certified Technology Specialist, Microsoft certified professional developer for SharePoint 2010,PMP-T,Scrum master-T. this year was full of fun and joy for me to play with so many new technologies like windows phone 7 , SharePoint 2010,mvc, Visual Studio 2010,Html 5 this year is really year of amazing Technology . i had a honor to experience work with top level of MVPs in the world for national and International Projects. also i experienced working in aboard.


Special Request
Incipient of this new year we have very sad situation. our baby Arfa Karim is fighting for her life. MAY ALLAH GIVE HER GOOD HEALTH AND GET WELL SOON.I WISH INSALLAH NEXT YEAR ARAFA WE US IN COMMUNITY WITH SAME PASSION AND TALENT. KINDLY REMEMBER HER IN YOUR PRAYS

Goal of 2012.

! just wanna to touch. the sky of success with you :)



Usama Wahab Khan

Techies.ae session Notes Open Coffee

Friday, December 23, 2011



Thank you Techies for making tonight, awesome! Great discussions and thanks to all a Techie member for welcoming me .

We had a broad conversation all over the spectrum. Memorable topics: @zubairdotnet presented his tool on Windows Mango to arrange for a Cab in Dubai Based on your geo-location. The service however is not running on TRA side. @gurshinder proposed to develop a parking service instead, however there is no central repository of parking pay terminals to math them with the nearest of your geo-location. Thoughts bend around place, and duration. nice features would be a reminder and add-payment options… @gurshinder displayed on his iPad a nice application FlightRadar that shows all air-traffic movement in UAE, the application would also show movement in Europe however Asia and Americas are blocked, and do not disclose this type of information.


i Shared when he worked with the cosmos virtual area projection on a 10’ wall of live data feeds from the military field. similar direct data using avatars. @zubairdotnet won a card from PluralSight for one Month of prepaid access to their learning content! I heard most of you came a week earlier as well! I appreciate the interest! Please note that the Open Coffee is every third Wednesday of the month at Time Square Centre Caribou coffee shop. Feel free to socialize outside of these moments, and please let me know the attendance, perhaps we can raffle off some sponsor goodies!

Windows Phone 7 Chart Control Data-binding with xml (MVVM)

Sunday, December 18, 2011




Windows Phone 7 Provide you great Support of Data Visualization with Charts and Vector graphic. You can also bind chart with xml data by using mvvm pattern.

To Create Chart Control with XML.

1
Open Visual Studio 2010 then create new Silverlight windows Phone Project

2
Add XML file and define some schema



3
Add three Folders in Solution "Model", "View" , "ViewModel"

4
Add Class in Model name ResultView.cs and map your xml scheme with properties.


5
Add Class in ViewModel and Named ResultViewModel.cs in this class you load data from xml

6
Open App.xaml and define or copy from sample code in you Template for PhoneChart Portrait and Landscape orientation in ResourceDictionary.


7
Add one UserControl in your View Folder and named ResultView.xaml.

8
Open MainPage.xaml add View in it :)


9
Open MainPage.xaml and Override the OnOrientationChanged event handler and change template on On Orientation.

10
F5 and Enjoy :)

Download Source Code Here

By Usama Wahab Khan
for More Question and help email me :)
thanks ali sultan for send two screen short :)



Windows Phone 7 Application for Enterprise by using Silver-light Prism (Part 1)

Saturday, December 3, 2011


Windows Phone 7 Mango provides an exciting opportunity for companies and developers to build applications that travel with users, are interactive and attractive, and are available whenever and wherever users want to work with them.

Windows Phone 7 is really great opportunity for Companies and Developer to Provide best interactive Application with Metro User Experiences. The Windows Phone 7 mango Application with on premise Server and Applications, services and Application that runs on cloud with great support windows Azure Platform. Developer can build high Scalable , Rapid, standardized , reliable and powerful and hug applications that extends Functionality beyond. More Portable and accessible environment.


To build high level of applications for enterprise and consumer basic needs for Companies.

Strong UI and UX

Hug and Standards Application Development Platform

SOP,XML and other API Support

Application extensibility

Project Testing

Repaid Development

Easy and Separate Development Tools (designing, development ,testing)

Modular base development model.

Independence for Development Teams for Modular base Developing environment.

Microsoft Provide Widodws Phone with Complete solution for Application Development

XNA for Gaming Development with XNA and C# support.

Silverlight Rich User experiences and separate designing and development tools

Need standard and modular based approach. Microsoft Windows Phone Application Development Platform Silverlight. Allows you to code and design you application separately by using MVVM pattern.



For Modular Approach base development you need to development model separately and also with few framework dependency. So the solution is PRISM.




The signed Prism Library for Windows Phone 7 includes a subset of the Prism and Prism.Interaction library targeted to Windows Phone 7. This includes the Prism event aggregator, commands, view model, and interaction request. For information about using the Prism Phone Library, see the Windows Phone 7 Developer Guide community site athttp://wp7guide.codeplex.com/.

The guidance is designed to help architects and developers achieve the following objectives:

· Create an application from modules that can be built, assembled, and, optionally, deployed by independent teams using WPF or Silverlight.

· Minimize cross-team dependencies and allow teams to specialize in different areas, such as user interface (UI) design, business logic implementation, and infrastructure code development.

· Use an architecture that promotes reusability across independent teams.

· Increase the quality of applications by abstracting common services that are available to all the teams.

· Incrementally integrate new capabilities.

Application Development Challenges

1) Client application Requirement can be Change any time.

2) Customer Feedback during ADC(Application Development cycle) affect scope of Application.

3) It is very Important to build application in that manner where it can more flexible and can be easily update , modified and extended over the time.

4) Required great architecture to develop and manage this kind of flexible design. Which allows individual part of the application to be independently developed , design and test. Without effecting on rest of application.

5) Now today Application requirement are very much complex to development specially for enterprise which required more than developer or teams.

Teams for Development.

UI and UX designers.

Localizers.

Developer

SQA

One of the Biggest Challenge to designs application which can be used by multiple developers and teams for work simultaneously.

Develop application in pieces for multiple developer. and each can be developed independently. And ensure that the all pieces come together seamlessly and integrate into Application.

Most enterprise applications are sufficiently complex that they require more than one developer, maybe even a large

Designing and building applications in a monolithic style can lead to an application that is very difficult and inefficient to maintain. In this case, "monolithic" refers to an application in which the components are very tightly coupled and there is no clear separation between them. Typically, applications designed and built this way suffer from problemsthat make the developer's life hard. It is difficult to add new features to the system or replace existing features, it is difficult to resolve bugs without breaking other portions of the system, and it is difficult to test and deploy. Also, it impacts the ability of developers and designers to work efficiently together.

The Composite Approach

An effective remedy for these challenges is to partition the application into a number of discrete, loosely coupled,

semi-independent components that can then be easily integrated together into an application "shell" to form a

coherent solution. Applications designed and built this way are often known as composite applications.

Composite applications provide many benefits, including the following:

 They allow modules to be individually developed, tested, and deployed by different individuals or subteams; they

also allow them to be modified or extended with new functionality more easily, thereby allowing the application

to be more easily extended and maintained. Note that even single-person projects experience benefits in

creating more testable and maintainable applications using the composite approach.

Using Prism

Now that you've seen the major capabilities and design patterns that Prism supports, it's time to see how easily you can start to use Prism when developing a new application. This section provides an overview of the first few steps required to create a basic Prism application. You can extend this basic application to leverage the additional capabilities and design patterns provided by Prism, as required by your scenario.

A typical Prism application leverages most or all of the Prism capabilities and design patterns described earlier to be able to fully realize the benefits of the loose coupling and separation of concerns architectural design principles. However, for this example, the steps required to create a basic Prism application that consists of a single module that defines a single view are described.

Prism guidance includes completely rewritten documentation with the addition of new topics such as Model-View-ViewModel (MVVM), Managed Extensibility Framework (MEF), and application navigation.

The code assets include reusable library code (named the Prism Library), two reference implementations, QuickStart tutorials, and hands-on labs. The Prism Library is delivered as Microsoft signed assemblies and source code.

Important Prism Compound


Define the Shell


Bootstrapper




Useful Resources:

http://compositewpf.codeplex.com/

MVVM QuickStart

http://msdn.microsoft.com/en-us/library/gg430857(v=PandP.40).aspx

Prism Resource

§ Prism 4 Download

§ Visual Basic Prism 4 Reference Implementations, QuickStarts, and Hands-on Labs

§ Prism 4 Readme

§ Developer's Guide to Microsoft Prism (on MSDN)

§ What's new in Prism 4

§ Prism 4 Documentation (includes a PDF format)

§ Prism (all versions) Knowledge base

§ Prism (all versions) Known Issues


NEXT PART how can you use SharePOint with WP7

EID Mubarak

Sunday, November 6, 2011

Configuring Forms-Based Authentication in SharePoint 2010

Tuesday, October 18, 2011


Best and Very Simple Video Tutorial

Microsoft Community Recognition Award open door

Friday, September 23, 2011





first of all Thanks a greatest Almighty ALLAH. and after that my father ,My friends, students, community, teacher and the Microsoft for this great honor at ITCN-Microsoft OPENDOOR. I am very glad to received this award. and Grateful for Microsoft to Recognized me again. and Proudly my father collect this award on my behalf. I really appreciates Jibran, haseeb, dep Lead, kamran, naved sir, kamal sir and all Microsoft team and congratulates them for organizing such huge and Great event. at ITCN ASIA. hope Microsoft will continue this passion for improvement of community and Pakistan.

Create a SharePoint List Definition Project

Monday, August 22, 2011




In This Excise we will to create List Definition with Visual Studio 2010 Solution using SharepOint2010 Project Template.

1. Open Visual Studio 2010 by going to Start Menu | All Programs | Microsoft Visual Studio 2010 | Microsoft Visual Studio 2010.
2. From the Visual Studio 2010 menu, select File | New | Project....
3. Select the Visual C# | SharePoint | 2010 | List Definition project template.
4.you can Enter any name like Bugs in the Name textbox.
5. Entery yourlocal location on your Computer in the Location textbox.
6. Click Ok.
7. In the SharePoint Customization Wizard:
8. Enter http://intranet.usama.com/ for the local site.

9. Set the trust level to Deploy as a farm solution.
10. Click Next.
11. Enter Bugs in the What is the display name of the list definition? textbox.
12. Select Custom List in the What is the type of the list definition? drop-down box.

Tick Add a list instance for this list definition

14. Click Finish.

Customize SharePoint 2010 List Definition and List Instance

customizing the List Definition project template by changing the list name, the content type it stores, and the fields that are displayed in the new, edit, and display forms :).

  1. In the Solution Explorer, expand ListInstance1 and open the Elements.xml file.
  2. Within the ListInstance element change the Title attribute to Bugs and change the TemplateType attribute to 10001.
  3. In the Solution Explorer, open Elements.xml.

  4. Within the ListTemplate element, change the Type attribute to 10001 and add the DisallowContentTypes=”FALSE” attribute, as shown below. DisallowContentTypes="FALSE"
  5. Insert the following xml into the top of the Elements element in the Elements.xml file. This XML describes the Fields the Bug Item content type uses.
  6. Insert the following xml into the top of the Elements element in the Elements.xml file. This XML describes the Bug Item content type the list will store.
  1. 7 The Elements.xml file should now look like the following.


8. In the Solution Explorer, open Schema.xml

9. Add the EnableContentTypes=”TRUE” attribute to the List element inside of the Schema.xml file.
10. Insert the following XML into the ContentTypes element in the schema.xml file. This XML describes the Bug Item content type this list will store.
11. Insert the following XML into the Fields element. This XML describes the fields the list will store. These are directly related to the fields in the Content Type we added in the previous step.
12. Insert the following XML into the ViewFields element in the 2nd view, BaseViewID="1". This XML describes which fields should be visible in this particular view. BaseView 1 is set as the default view and this is the view the newly created fields should display in.
13. From the menu, select Build | Deploy Bugs.
14. Open http://intranet.usama.com in a browser session. Under Lists in the left-side navigation, click on Bugs.







22. You have successfully customized the List Definition and List Instance

By Usama Wahab Khan
MCC,MCP,MCTS(SharePoint2010)