Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Search

WinRT State Management Tutorial

AddThis Social Bookmark Button
WinRT applications transition between a number of different states. Closed applications transition to running applications. Running applications can be suspended or closed. Suspended applications can be resumed or terminated. Understanding these states and maintaining correct Application and Session State is critical to the UX. In this tutorial, we explain the various states and the transitions between them. We build a simple winRT application that manages Application State, such as preferences, using the new “roaming” feature of winRT and Windows 8. The sample application also shows how to save and restore Session State
that includes the data a user has entered when an application is suspended, terminated, and then restarted within a session. This tutorial demonstrates all the concepts and code associated with state management. In part 2 of this series, state management of an application with a more complex UI will be demonstrated.
...(Read whole news on source site)

Introducing TypeScript

AddThis Social Bookmark Button
This is the first tech coming out of Microsoft in several years that I’m excited about….really excited about. So, I thought I would take you, dear reader, on a learning adventure with me. Let’s dive in… What is TypeScript? TypeScript is a new programming language that Microsoft has been working on, apparently, for several years now. Anders Hejlsberg, creator of C#, has recently been involved with a small team of talented language gurus to bring it to us in the initial pre-release form. Simply stated: TypeScript is a superset of the JavaScript programming language which can be compiled to plain Javascript. The
superset distinction is important here. Every Javascript program is a TypeScript program and will compile with the TypeScript compiler without any alterations necessary. TypeScript works with any existing JavaScript libraries without the need for any sort of interoperability dance. Why Use TypeScript? TypeScript brings several of the features of ECMAScript 6th Edition to ECMAScript 3rd Edition compatible browsers and runtimes. This means you can have several of the cool features of tomorrow’s Javascript…today. Some of the most notable features are classes, modules and lexically scoped this (via arrow functions). So, by learning TypeScript today, you are also going to be learning some...(Read whole news on source site)

The Big Easy Offer is back, and don’t forget about Cloud Easy too!

AddThis Social Bookmark Button
Last month I told you about the “Cloud Easy” partner subsidy program that was announced and launched for partners in the United States. As I mentioned at the time, Cloud Easy is very similar to the very popular “Big Easy Offer,” only it is specifically aligned with our Microsoft online solutions. Well, I am very happy to share the good news with you that as of yesterday, not only do you have the Cloud Easy Offer available to you, but the Big Easy partner subsidy offer is now back in market as well! Now with both
the Big Easy and the Cloud Easy offers in market, you have the opportunity to help all of your clients take advantage of the Microsoft on-premise or online solutions that best fit their needs, and then help them claim a partner subsidy that they can then use for additional services from you, their Microsoft partner. Also, the partner subsidy funds may only be used with a Partner ("Selected Partner") active in the Microsoft Partner Network that is selected by the Qualified Organization for implementation of the Qualified Organizations Microsoft software and associated services. So be sure to help your clients...(Read whole news on source site)

TypeScript for Visual Studio 2012

AddThis Social Bookmark Button
Yesterday , Somasegar , in his blog announced the new open source project called TypeScript Preview which is available for download from Microsoft Download Center. TypeScript adds optional types, classes, and modules to JavaScript allowing the developer to make better tooling for large scaled JavaScript apps. TypeScript comes with the cross platform compiler and compiles to standards based JavaScript. Just download the TypeScript for Visual Studio 2012 from the below link and install the msi file. Once you install , Open your existing web project in Visual Studio 2012 and “Add New Item” , you will see the new TypeScript
File template. Intellisense support for the TypeScript class Employee { Name: string; constructor (message: string) { this.Name = message; } EmployeeName() { return "Hello, " + this.Name; } } var emp = new Employee("Senthil Kumar"); var button = document.createElement('button') button.innerText = "Hi " button.onclick = function() { alert(emp.EmployeeName()) } document.body.appendChild(button) Below are links to get started with the TypeScript TypeScript Playground TypeScript HomePage Introduction to TypeScript by Anders Hejlsberg (Video) TypeScript Tutorial...(Read whole news on source site)

TypeScript versus Closure

AddThis Social Bookmark Button
TypeScript is a recently released JavaScript superset which adds compile-time type-checking to the language, available with Intellisense as a VS2012 editor plugin and as a node.js command-line utility. That may be a mouthful but it’s an exciting mouthful, let me explain why. What is it? Announced yesterday, the official website describes TypeScript as - TypeScript [...]

JavaScript for Windows Store Apps: View States

AddThis Social Bookmark Button
Creating an application for the Windows Store requires forethought to a number of considerations – one of which is how will you want your app to appear when seen in different view states. When your application is running full screen in Windows 8, it will be in either landscape or portrait orientation.  When the orientation is landscape mode, two additional views are possible: snapped or fill.  A snapped view is docked either on the right or left side of the screen, with a width of 320px.  The
fill view is the larger remaining portion of the screen when another app is in snapped view.  Note Snapped and fill options are only available when the screen resolution is a minimum of 1366 x 768 and supporting wide screen (16:9) aspect ratio. When developing apps using JavaScript, you have two main ways to manage the view states in your apps:  Programmatically via JavaScript, or declaratively with CSS3 Media Queries.  It is recommended that you use media queries to manage view state changes.  However, there are times when you will need to respond to...(Read whole news on source site)

Capturing a photos in your Windows 8 application

AddThis Social Bookmark Button
source: jerrynixon.com Windows 8 apps easily access all the sensors on a Windows 8 machine. But Windows 8 apps can't access any sensors on a Windows 8 machine without first asking the user's permission. Asking Permission Windows 8 apps are safe. That's fundamental. Where desktop apps could (and can) do whatever the developer wants, Windows 8 apps are limited only to what the user allows. Developers ask for device access by the application manifest. This XML file is in every Windows 8 app. It is manipulated by the GUI editor or notepad (for the
die hard). The manifest is how applications tell the operating system what sensors it intends to use. Just the manifest is not enough. Once requested, the operating system will verify access with the user first.  ...Read more ...(Read whole news on source site)

How to create a Alchemy game for Windows 8

AddThis Social Bookmark Button
source: rudigrobler In this article I'll show you how to create a clone of the very popular (10,000,000 - 50,000,000 installs) android game by Andrey Zaikin called Alchemy. Alchemy is based on a simple idea. You start with only four basic elements: Fire, Water, Earth and Air. Combine them and their products to get more elements. The guts (a.k.a. the game engine) Before we can get to the cool Windows 8 stuff, we need to create our game engine. Luckily the logic behind alchemy is extremely simple! AlchemyElement public class AlchemyElement {
private static Uri _baseUri = new Uri("ms-appx:///"); public string Name { get; set; } public Uri Image { get { return new Uri(_baseUri, "Elements/" + Name + ".png"); } } public static AlchemyElement Create(string name) { return new AlchemyElement() {...(Read whole news on source site)

Home