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

The perils of conditional mutability

AddThis Social Bookmark Button
This morning I was wrestling with trying to make some Noda Time unit tests faster. For some reason, the continuous integration host we're using is really slow at loading resources under .NET 4. The unit tests which run in 10 seconds on my home laptop take over three hours on the continuous integration system. Taking stack traces at regular intervals showed the problem was with the NodaFormatInfo constructor, which reads some resources. I may look into streamlining the resource access later, but before we get to that point, I wanted to try to reduce the number of times
we call that constructor in the first place. NodaFormatInfo is meant to be cached, so I wouldn't have expected thousands of instances to be created - but it's only cached when the System.Globalization.CultureInfo it's based on is read-only. This is where the problems start... CultureInfo is conditionally mutable (not an official term, just one I've coined for the purposes of this post). You can ask whether or not it's read-only with the IsReadOnly property, and obviously if it's read-only you can't change it. Additionally, CultureInfo is composed of other conditionally mutable objects - DateTimeFormatInfo, NumberFormatInfo...(Read whole news on source site)

story.js New Query Object

AddThis Social Bookmark Button
story.js New Query Object If you are following my Blog you probably know that I’ve published a new JavaScript library by the name story.js. story.js enables web developers to use client-side storages in a simple and consistent way. Today, I’ve added a new feature – query language which resembles LINQ. The query language implementation include functions such as where, forEach, first, last and etc. The query language was created as a plugin to story.js and we are going to add more features to it in the near future. Here is an example
of using story query:
/// ///   var storage = story.storage(story.StorageTypes.IN_MEMORY); storage.add("key1", "value1").then(function (data) { }, function (error) { }); storage.add("key2", "value2").then(function (data) { }, function (error) { }); storage.add("key3", "value3").then(function (data) { }, function (error) { }); storage.getAll().then(function (data) { ...(Read whole news on source site)

New Speaking Engagement - vNEXT Seattle Developers Community

AddThis Social Bookmark Button
New Speaking Engagement - vNEXT Seattle Developers Community As I wrote in a previous post, I’m going to be in the US on August to speak in the VSLive conference. During my stay in Seattle I’ll join forces with Ido Flatow and we both will deliver sessions in the vNEXT Seattle Developers Community. I’m going to have a session about the new communication and messaging APIs in HTML5 while Ido will talk about debugging the Web with Fiddler. Here are the details of my session:
Using Communication and Messaging API in The HTML5 World:
HTML5 defines new standards for communication and messaging between the browser and the server.
In this session we will get to know the new HTML5 messaging APIs and the new HTML5 communication APIs.
We will also discuss where we can implement these APIs while building HTML5 web applications. Here is the is the link to the event.
See you there!

Nokia Lumia 800 Review

AddThis Social Bookmark Button
I have two Windows Phone 7 devices, one of them is the HTC 7 Pro and the other one is the Nokia Lumia 800. I was using HTC 7 Pro for quite a long time but when I received Nokia Lumia 800 by participating in the Microsoft iUnlockJoy program, I am using that only.   Few people asked me to write a review on Windows mobile phones and hence I decided to write a small review on my current experience on Nokia Lumia 800. This post will cover specification of Nokia Lumia 800 and my review on that.
        When I first received the box, I found it very slim and light weighted other than the HTC 7 Pro which has a Querty keyboard inside and thus makes it heavy. First thing that I gone thru was the specification and here is that for you.   Nokia Lumia 800 Specification:   Operating System Windows Phone 7.5 (Mango) ...(Read whole news on source site)

Teaching kids electronics, electricity, and logic using littleBits

AddThis Social Bookmark Button
We homeschool our two children. Ben, is kindergarten age, Abby is pre-school age. My wife does, by far, most of the work there, including trucking them to specialized classes (art, music, gymnastics, karate, our homeschool group single day school, etc.) plus all the playdates with the other kids, and special events. Melissa even teaches several of the classes at the home school group. I generally deal with reading, since I'm in charge of story time with my son. Lately, we've split our time between him reading stories to me (I'm proud to say he's at about a 2nd grade level - you have to love personal tutoring) and me
reading The Hobbit to him in preparation for the movie this Christmas. (JRR Tolkien is far wordier than I remember.) Melissa and I also split science duties. I've brought Ben to the Banneker planetarium for a customized class arranged for our homeschool group in concert with one of the astronomy professors. I often bring Ben to SERC (Smithsonian Environmental Research Center) for their bi-weekly homeschool science class. It's nice to leave close to centers like that. Even in the 5-7 year old group, they do serious science. They worked with Microscopes to analyze feathers to explain what holds them together, learned about the scientific method, dissected something (unfortunately...(Read whole news on source site)

Go to definition in JavaScript feature of Visual Studio 2011 beta

AddThis Social Bookmark Button
This blog post will be a part of Visual Studio 2011 Beta feature series. In recent days I am exploring the Visual studio features and this blog post is also part of that. I am loving visual studio 2011 beta more and more after exploring features that make developer’s life easy. Today I am going to talk about one of the features that is going to make developer’s life easy. JavaScript is a
client scripting language which is an integral part of any web application now days.  So if you are web application developer you are surely going to write lots of JavaScript those days.  With earlier version of visual studio navigating code in JavaScript is not easy. But in visual studio 2011 beta we have go to definition features which one of most favourite features of visual studio for visual C#. Here is the screen shot for that. I am navigating in JavaScript code in ASP.NET MVC 4 application. That’s it hope you liked it. Stay tuned...(Read whole news on source site)

Windows 8, Metro, and Windows RT

AddThis Social Bookmark Button
As Microsoft moves toward the release of their new operation system(s), there continues to be some real confusion about terminology and features. I recently was asked by the author of a college textbook to help explain what is happening in the Microsoft space. Below is my response to him. A good description of what is happening can be found in Brandon LeBlanc’s blog. Windows 8 is the official name for the product that supports x86/64 architectures. Remember that these architectures can be found in both desktop machines and tablets so it is important not to associate Windows
8 with just desktops. In fact, Windows 8 will include two “modes”. One mode is the classic “desktop” mode and should be viewed as an upgrade from Windows 7. There are no restrictions on storing data or consuming resources because it is assumed that the machine will be connected to external power. However, the other mode, called the “Metro” mode, will restrict applications in terms of the resources they can use and will change how the user will interact with the application. Some of the restrictions include not supporting databases on the client and requiring all communications to be...(Read whole news on source site)

Membership Provider Parte 2. Creación de un Modelo de Bases de datos

AddThis Social Bookmark Button
En mi post anterior se hablaba sobre la importancia del Membership Provider de asp.net y algunas de sus funciones. Sin embargo, para los que ha usado el proveedor se habrán dado cuenta de que contiene muchas tablas, procedimientos, vistas y demás que en muchas ocasiones no utilizamos o se nos dificulta modificar por su complejidad. Así que, tomando en cuenta la facilidad con que contamos para personalizar el proveedor, empezaremos creando un modelo bastante sencillo que contendrá  4 tablas: Users, Roles, Profiles y Application. Con estas 4 tablas tendremos todo lo necesario para poder manejar los modelos de autenticación
y seguridad en una aplicación de asp.net En nuestro caso, este proveedor será de uso común, así que lo crearemos en Entity Framework para posteriormente poder manejar la implementación del código mediante LINQ. Primer paso, creando el esquema de Entity * Abrir visual studio * Seleccionar archivo-nuevo * Seleccionar proyecto * En el menú izquierdo, en plantillas instaladas seleccionamos Visual C#-Windows-Biblioteca de Clases *  Le ponemos un nombre y la agregamos al proyecto. Por defecto se crea una clase llamada Class1 la cual podemos eliminar * Ahora que tenemos el proyecto, damos...(Read whole news on source site)

Windows 8, Metro, and WinRT

AddThis Social Bookmark Button
As Microsoft moves toward the release of their new operation system, there continues to be some real confusion about terminology and features. I recently was asked by the author of a college textbook to help explain what is happening the in the Microsoft space. Below is my response to him. I think the best description of what is happen can be found in Brandon LeBlanc’s blog. Windows 8 is the official name for the product that supports x86/64 architectures. Remember that these architectures can be found in both desktop machines and tablets so it is important not
to associate Windows 8 with just desktops. In fact, Window 8 will include two “modes”. One mode is the classic “desktop” mode and should be viewed as an upgrade from Windows 7. There are no restrictions on storing data or consuming resources because it is assumed that the machine will be connected to power. However, the other mode, called the “Metro” mode, will restrict applications in terms of the resources they can use and will change how the user will interact with the application. Some of the restrictions include not supporting databases on the client and requiring all communications...(Read whole news on source site)

Home