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


Lazy<T> in C# 4.0

AddThis Social Bookmark Button
Before C# 4.0 there was no on demand initialization by default. So at the time of declaration we need to create a value or object will be null or we have to create on demand initialization via coding.. But with C# 4.0 we now have lazy class. As per MSDN it support lazy initialization so it means if we use lazy class then it will initialize the object at the time of demand. It is very useful for UI responsiveness and other scenario's.  Lazy initialization delays certain initialization and  it’s improve the
start-up time of a application. In the earlier framework if we need this kind of functionality we have to do it manually via coding but from C# 4.0 onwards it have Lazy class. With the Help of this we can improve the responsiveness of C# application. Following is a simple example. using System; namespace LazyExample { class Program { static void Main(string[] args) { Lazy lazyCustomer = new Lazy(); ...(Read whole news on source site)

Daily Windows Phone Development News 3 Jan 2013

AddThis Social Bookmark Button

Masonry, Isotope and the gutters

AddThis Social Bookmark Button
You know Pinterest? And would like a layout like Pinterest? Well I did and came across this jQuery Masonry plugin. But I wanted to do some sorting and filtering with the elements. The Masonry which is released with an MIT license does not have this functionality. Isotope does, but has a $ 25,- license for commercial use and is free for personal use. This quote from StackOverflow explains the difference between masonry and isotope: To some people Isotope would look very similar to the work you had previously done
with Masonry; can you explain the main differences between the two? Isotope has several features that Masonry lacks. Masonry essentially does one thing, placing item elements in a cascading arrangement. Isotope has Masonry’s layout logic built in, but in addition, it also has several other layout modes that can be used to dynamically position elements. You can even develop your own custom layout mode. As I’ve mentioned, it has filtering and sorting functionality built in. Filtering items is as easy as passing in a jQuery selector: $('#container').isotope({ filter: '.my-selector' }); ...(Read whole news on source site)

Creating a complete ASP.Net MVC 4.0 application with Visual Studio 2012, C# , EF 5.0 (Code First) - part 6

AddThis Social Bookmark Button
I have decided to write a series of posts on how to write a small ASP.Net MVC 4.0 application.I will develop this application step by step and I will explain everything that you need to know in order to develop ASP.Net MVC 4.0 applications. This is the sixth post in this series. You can find the first one here , the second one here , third one here , the fourth one here and the fifth one here. Make sure you read and understand those posts.In this post I will add some validations to
our application through Code First Data Annotations and migrate those changes to our database through EF Code First Migrations.Right now there is no validation for the fields Rating and Comment of the MovieReview entity. I want to have a validation rule applied to the Rating field that will accept only values 1 to 10 and it will be mandatory. The Comment field will only be 100 characters long and also mandatory.We also want to have the characters for the Name property of the Movie entity  restricted to 70 and the name of the Director restricted to 50 characters.Both of these...(Read whole news on source site)

Passing Certification For Enterprise Windows Phone 7.5 Apps

AddThis Social Bookmark Button
Your Enterprise Windows Phone 7.5 application has different requirements and restrictions than the majority of apps in the store.  While we now have Windows Phone 8 with different distribution methods, your client may still have 7.X devices that require using targeted distribution via the store.  You need to consider how to allow the certification team to test your app without exposing sensitive data or affecting production systems.  There are a few choices you have: Supply the testing team with test credentials to your system Make your app redirectable to a test system
Apply for a technical exception The first thing you will need to do is mark the app as hidden in the Distribution Channel section.  This will make it so that you can send the URL for the app to each individual who should have access to it when it is published. All of the your options from this point will require using the More XAP Options hidden area of the Upload XAP section.  If you chose to give the certification team access to your app by either method you will need...(Read whole news on source site)

RangersTalk - An insight into the inner world of the Quick Response TFS Branch Tool

AddThis Social Bookmark Button
The ALM Ranger Team that I worked with to create the TFS Branch Tool posted a video to Channel 9 where we talk about the tool, its design, and how we went about working together to create it. Check it out here: