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


Programmatically Create a Managed Metadata List Column (Mohammed Faizan)

AddThis Social Bookmark Button
Managed metadata is a hierarchical collection of centrally managed terms that you can define, and then use as attributes for items in Microsoft SharePoint Server 2010. Refer here for more information on the managed metadata in SharePoint 2010. A column is a location in a list in which to store information about a SharePoint Server 2010 item. When you define a column, you provide a name for the column, specify the column's type, and provide additional information that depends on the column type. SharePoint Server 2010 introduces a new column type named managed metadata. When you create
a managed metadata column, you specify the term set from which the column's values must come. When you want users to provide information for list items (including documents), and the valid values for the information are contained in a term set, use a managed metadata column. Create a new content type or modify an existing content type, and then add the managed metadata column to the content type. This post describes the way of programmatically creating a managed metadata taxonomy column and adding the column to a custom content type. In this article, you: ...(Read whole news on source site)

Mvc Controls Toolkit Support to Mvc4 WebApi 2: Handling Relations

AddThis Social Bookmark Button
In this post we will see how to handle one-to-many relations among entities with the advanced tools introduced in the last 2.1 release of the Mvc Controls Toolkit. We will give also some hints on how to handle some types of many-to-many relations that one might face in practical applications. I assume that everyone already read my previous post: Mvc Controls Toolkit Support to Mvc4 WebApi. The code of this example together with the code of my previous post is available in the  Mvc4 Client-Filtering -Paging-Sorting-updating file in the download area of the Mvc Controls Toolkit web
site. Since, the update features we are going to discuss are not specific for ApiControllers but they are available also to standard Mvc 3 controllers, I provided also similar code examples that works with Mvc 3 controllers. They are in the AdvancedJSonCommunication file in the download area of the Mvc Controls Toolkit web site As first step let modify our IQueryable to include also child entities of our ToDo items:
return context.ToDo.Include("SubTasks").Select(item =>             new ToDoView()             {                 Name = item.Name,                 Description = item.Description,                 DueDate = item.DueDate,                 id =,                 Tasks = item.SubTasks.Select(x => new SubTasksView { Name = x.Name, WorkingDays = x.WorkingDays, Key = x.code, FatherId = x.idTask...(Read whole news on source site)

HTML5 and Device API’s

AddThis Social Bookmark Button
Last week the question of HTML5 and sensors came up. This wasn’t really strange as we where talking about the HTML5 GeoLocation features and using the, optional, GPS is just one device or sensor you might want to use. It turns out the W3C has a Device APIs Working Group working on this problem. They are working on a whole range of interesting devices like: Battery Status API Contacts API HTML Media Capture Media Capture API Network Information API
Sensor API Vibration API Calendar API MediaStream Capture Scenarios And more..   The Sensor API covers a group of others AmbientTemperature   
A ambient temperature AtmPressure   
A pressure sensor    RelHumidity   
A releative humidity sensor    AmbientLight   
A light sensor    AmbientNoise   
A ambient noise sensor    DevMagneticField   
A magnetic field sensor    DevProximity   
A proximity...(Read whole news on source site)

Obfuscation is not a panacea

AddThis Social Bookmark Button
So, you want to obfuscate your .NET application. My question to you is: Why? What are your aims when your obfuscate your application? To protect your IP & algorithms? Prevent crackers from breaking your licensing? Your boss says you need to? To give you a warm fuzzy feeling inside? Obfuscating code correctly can be tricky, it can break your app if applied incorrectly, it can cause problems down the line. Let me be clear - there are some very good reasons why you would want to obfuscate your .NET application. However, you shouldn't be obfuscating for the sake of obfuscating. Security through Obfuscation? Once
your application has been installed on a user’s computer, you no longer control it. If they do not want to pay for your application, then nothing can stop them from cracking it, even if the time cost to them is much greater than the cost of actually paying for it. Some people will not pay for software, even if it takes them a month to crack a $30 app. And once it is cracked, there is nothing stopping them from putting the result up on the internet. There should be nothing suprising about this; there is no software protection available for...(Read whole news on source site)

Announcing Windows Azure Media Services

AddThis Social Bookmark Button
I'm excited to share news about a great new cloud capability we are announcing today - Windows Azure Media Services. Windows Azure Media Services Windows Azure Media Services is a cloud-based PaaS solution that enables you to efficiently build and deliver media solutions to customers. It offers a bunch of ready-to-use services that enable the fast ingestion, encoding, format-conversion, storage, content protection, and streaming (both live and on-demand) of video. It also integrates and exposes services provided by industry leading partners – enabling an incredibly deep media stack of functionality that you can leverage. You can use
Windows Azure Media Services to deliver solutions to any device or client - including HTML5, Silverlight, Flash, Windows 8, iPads, iPhones, Android, Xbox, and Windows Phone devices.  Windows Azure Media Services supports a wide variety of streaming formats - including Smooth Streaming, HTTP Live Streaming (HLS), and Flash Media Streaming. One of the unique aspects of Windows Azure Media Services is that all of its features are exposed using a consistent HTTP REST API. This is true both for the media services we've built, as well as the partner delivered media services that are enabled through it.  This...(Read whole news on source site)

Daily WP7 Development News 16 April 2012

AddThis Social Bookmark Button
by WindowsPhoneGeek Daily WP7 Development News 16 April 2012: New Coding4Fun Toolkit v1.5.6 officially released Nokia Places API for Windows Phone Windows Phone - JumpList using LongListSelector Rotate 3D model in XNA using Motion API Changes To The Dropbox API - Upload Files The New Way From a Windows Phone You can also subscribe to our News feed or follow us on Twitter @winphonegeek . (We list the latest Windows Phone 7 development activities.

Nokia Places API for Windows Phone

AddThis Social Bookmark Button
source: In this post I will demonstrate way to begin using the Nokia RESTful Places API and display places data in your Windows Phone application. Nokia's RESTful Places API is a web service API that allows you to offer your application's users Nokia's Places service as available in Nokia Maps and other applications within the look & feel of your own application. The Places service supports a variety of use cases that center around two major features: Place discovery - Help users find the places
relevant to them Place information retrieval - Provide detailed information about places users are interested in When you use the Places API to build an application, your users can find individual locations in over 200 countries over 1.5 million different areas (cities, districts, regions) over 25 million streets split into 90 million and more individual segments...(Read whole news on source site)

Windows 8 JavaScript–Change Lock Screen Image

AddThis Social Bookmark Button

In the past couple of months I’ve worked a lot with Windows 8 JavaScript and C#, I’ve also wrote plenty of posts on that subject and there is much more stuff to talk about. In this post I’ll show two things: Using File Picker using JavaScript Change Windows 8 Lock Screen Image Programmatically Download Demo Project Step 1: Create Blank JavaScript Project In the app.onactivated function we add the following code to listen the Choose Picture button and
calling the displayCurrentImg function.
When you click the Choose Picture button we call the openFilePicker function.
app.onactivated = function (eventObject) {     if (eventObject.detail.kind === Windows.ApplicationModel.Activation.ActivationKind.launch) {        $("#btnBrowse").addEventListener("click", function () {             openFilePicker();         }, false);           displayCurrentLockImg();         WinJS.UI.processAll();     } };
Step 2: Find The Current Lock Screen Image You might notice that in the previous...(Read whole news on source site)