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

Visual guide to Azure Access Control Services authentication with SharePoint 2010 - part 2 - common problems

AddThis Social Bookmark Button
This is a the second part of the Visual guide to Azure Access Control Services authentication with SharePoint 2010. I hope you've read part 1 which showed you how to configure SharePoint 2010 to use Windows Azure Access Control Services, ACS, as the federated Identity Provider, IP. In this post I'll go through the most common errors that you might stumble upon (most likely due to the fact that you didn't follow part 1 thoroughly). These errors are also applicable to other providers such as ADFS. Note: this post is written using Azure ACS
as per February 2012 and with SharePoint 2010 Server with SP1 and December 2011 Cumulative Update. So let's get started with a very annoying problem - Live ID... Windows Live ID and the e-mail claim The first error is not an error per see. You will see this one if you followed the instructions in the first part - but instead tried to use Windows Live ID when logging in. What you will see is the classic "An unexpected error occurred". The key here is to take a look at the URL....(Read whole news on source site)

Limit your abstractions: So what is the whole big deal about?

AddThis Social Bookmark Button
When I started out, I pointed out that I truly dislike this type of architecture: And I said that I much rather an architecture that has a far more limited set of abstractions, and I gave this example: Controllers Views Entities Commands Tasks Events Queries That is all nice in theory, but let us talk in practice, shall we? How do we actually write code that actually uses this model? Let us show some code that uses this type of code, this type, this is from the C# port of the same codebase, available here. public class CargoAdminController : BaseController { [AcceptVerbs(HttpVerbs.Post)] public ActionResult Register(
[ModelBinder(typeof (RegistrationCommandBinder))] RegistrationCommand registrationCommand) { DateTime arrivalDeadlineDateTime = DateTime.ParseExact(registrationCommand.ArrivalDeadline, RegisterDateFormat, CultureInfo.InvariantCulture); string trackingId = BookingServiceFacade.BookNewCargo( registrationCommand.OriginUnlocode, registrationCommand.DestinationUnlocode, arrivalDeadlineDateTime ...(Read whole news on source site)

Next Seattle F# Meetup, Tuesday Feb 21, 2012

AddThis Social Bookmark Button
Seattle F# user group meeting Feb 21, 2012
Tuesday, February 21, 2012, 6:00 PM. Microsoft Building 99, Room 1919-C, Redmond, WA (map) 47.641712 -122.140670

As with the previous meetup, we have two sessions + one tiny program contest:
Ryan Riley  (F# MVP) : Web Apps and APIs with F#
Most .NET web applications today use ASP.NET WebForms or MVC. However, several F# libraries offer new ways to build web APIs and applications help reduce code and offer better abstractions, especially for single-page applications (SPA). We'll start with an existing web application written
in C# using both WebForms and MVC and transition first to a F# application that follows the same patterns, then transition again to using several tools that expose the additional power offered by F#.

F# team member Jack Hu (MSFT): F#, The American Dream
Since F# became a first-class programming language in Visual Studio 2010, it has been gaining popularity among the financial and scientific communities. In this talk, we will showcase several F# applications in the context of financial investments. We will highlight F#'s value propositions, through the themes of simplicity, powerfulness and programmer satisfaction. We'll also take a look...(Read whole news on source site)

The first 10 Minutes of a C# Developer Exploring a Metro Application using C++

AddThis Social Bookmark Button
  Introduction I’m a C# guy through and through, but I have recently been exploring C++ . I decided to take you with me as I spend 10 minutes exploring the C++ Metro Templates included with Visual Studio 11. This blog post is written with my background in C#. I will try to point out the differences as I see them. We will look at C++ templates, solution explorer, some XAML and even some code-behind. Let’s get started with templates. The Visual C++/C# Metro Templates built-into VS 11 Visual Studio
11 has the following templates built-into it for Visual C++/C# projects: The description of each project type is located below: Application – A blank project using the Metro style framework.   Grid Application – A multi-page project for navigating multiple layers of content with item details displayed on a dedicated page. Split Application – A project for navigating among a master list of items while viewing their details on the same page. Unit Test Project –...(Read whole news on source site)

#496 – Using a StackPanel to Make a Group of Buttons the Same Size

AddThis Social Bookmark Button
You’ll often want to stack a group of buttons in a GUI, vertically or horizontally.  You’d typically use a StackPanel to do this. Let’s say that you want a series of buttons stacked vertically on the right side of a window. We can use a DockPanel as the main container and add a StackPanel docked on the right [...]

Slides for TechDays Belgium 2012: SignalR

AddThis Social Bookmark Button
It was the last session on the last day of TechDays 2012 so I was expecting almost nobody to show up. Still, a packed room came to have a look at how to make the web realtime using SignalR. Thanks for joining and for being very cooperative during the demos! As promised, here are the slides. You can also find the demo code here: SignalR. Code, not toothpaste - TechDays Belgium 2012.zip (2.74 mb) PS: The book on NuGet (Pro NuGet) which I mentioned can be (pre)ordered on Amazon.
...(Read whole news on source site)

Windows Phone Performance–Part 1 of many

AddThis Social Bookmark Button
source: dotneteers.net This post series is the translation of the performance chapter of the Windows Phone developer book I co-authored with many of my Hungarian peers. If you read Hungarian, I suggest you get the book - either online or in a paper format. There are also some seriously good videos that come with it, if you are more of a session watcher kind. I think that this information would be useful for other WP developers, too, who do not speak Hungarian. Therefore I started this blog post series, translating my Performance chapter. This post series also
acts as a draft - if the feedback is good, I will clean it up and publish the performance chapters as an e-book. So, please do provide feedback, even if it is just a grammar mistake on my part! 1. The Big Challenge If you compare the computing power of a desktop pc or even a laptop to a phone, the numbers are pretty disappointing. The battery of a phone could only deliver a few minutes of power to a desktop computer. The CPU of a Windows Phone has only one core, and even though it runs...(Read whole news on source site)

WP7 Sample: A GPS-enabled Phone App in 5 minutes!

AddThis Social Bookmark Button
source: Jerry Nixon`s blog One of the best parts of Windows Phone application development is how fast you can add sophisticated functionality to your solution. In fact, I was teaching a weekend crash course on Windows Phone at Brigham Young University a few weeks back. Here's a room of 100 smart, young developers following along with their laptops and Visual Studio. In a matter of hours (literally) - they had 5 sample Windows Phone applications running in their environments. Presto! How many apps can other platforms build in a single day? Aw, snap! How
many apps can other platforms build in 5 minutes? I am not kidding when I say Windows Phone development is rapid. Windows Phone developers are happy developers. Not only do they get to use Visual Studio (game changer), but the framework, Silverlight, and the OS provide them many of the tools other platforms make them jump hoops for. In this article we will show how to use the GeoCoordinateWatcher. To be clear, I do not discuss how to use the native Bing Map control, but I do discuss it in detail in this article. ...(Read whole news on source site)

Curiosity drives creativity. The only limit for your kid are there because you put them there.

AddThis Social Bookmark Button
I watched this YouTube recently, Neil DeGrasse Tyson was being interviewed and was asked a question: what would you do as a nation to increase scientific literacy.
Neil's answer:  What do you do at home?  What do you do with your kids?  Kids needs to be able to explore freely.  The home, he argues, is not a great place for exploration.  Play in the toilet?  No.  Garage?  No.  Kitchen?  No, no, no. The kid goes to the kitchen and starts to bang pots together, you tell him to stop.  The
consequence of stopping a kid, is stopping a kid from exploring.  The seeds of curiosity are the foundations of science.  The parents need to get out of the way.  If the kid pulls petals from a  $10 flower you bought from the florist, but discovers an interest in biology.  That's the cheapest $10 you've ever spent on his education!   iPad, and Technology Many of us marvelled at our children being able to pick up an iPad and use it right away.  We say surely this is proof of Apple's solid design principles, even a...(Read whole news on source site)

The Morning Brew #1045

AddThis Social Bookmark Button
Information Modern Web Development - Part 5 - Shawn Wildermuth presses on with his series looking at the face of modern web development, looking in this part at the ‘joy and pain’ of jQuery Plugins, a great and sometimes frustrating way of getting rich functionality into your applications. Building Hybrid Applications in the Cloud on Windows Azure [...]

Home