Visual studio feeds

All Visual Studio blogs in one place


Enter your email address:

Delivered by FeedBurner

Increase your website traffic with



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

Follow us on FB


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: 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)

4 and Going Strong

AddThis Social Bookmark Button
Thank you, Microsoft, for awarding me with MVP status for the fourth year in a row. It's encouraging to know that it's possible to work, be a new mother, and still be recognized for involvement with the SharePoint community. Speaking of community involvement, plans are already in the works for a SharePoint event in St. Louis early next year. I'll keep you posted once we reveal a date and a venue. Stay tuned!​

A tiny Utility to recycle an IIS Application Pool

AddThis Social Bookmark Button
In the last few weeks I've annoyingly been having problems with an area on my Web site. It's basically ancient articles that are using ASP classic pages and for reasons unknown ASP classic locks up on these pages frequently. It's not an individual page, but ALL ASP classic pages lock up. Ah yes, gotta old tech gone bad. It's not super critical since the content is really old, but still a hassle since it's linked content that still gets quite a bit of traffic. When it happens all ASP classic in that AppPool dies. I've been having a hard time
tracking this one down - I suspect an errant COM object I have a Web Monitor running on the server that's checking for failures and while the monitor can detect the failures when the timeouts occur, I didn't have a good way to just restart that particular application pool. I started putzing around with PowerShell, but - as so often seems the case - I can never get the PowerShell syntax right - I just don't use it enough and have to dig out cheat sheets etc. In any case, after about 20 minutes of that I decided...(Read whole news on source site)

#659 – Detecting a Triple Click

AddThis Social Bookmark Button
Although not very common in user interfaces, you can use the MouseButtonEventArgs.ClickCount property, available in the PreviewMouseDown or MouseDown events, to detect a triple click.  (You can also detect right vs. left mouse button clicks using the button specific events, e.g. MouseLeftButtonDown and MouseRightButtonDown). In the example below, double clicking on the Label does nothing.  But a triple click, with either [...]