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


The Morning Brew #1825

AddThis Social Bookmark Button
Software Windows 10 Launching This Summer in 190 Countries and 111 Languages – Terry Myerson highligths some of the rollout plans for Windows 10, and some of the opportunities it presents. Introducing NGraphics – Frank A. Krueger shares NGraphics, a cross platform vector graphics library available as a Portable Class Library on NuGet Information Diagnosing […]

ProfBugging - How to find leaks with allocation profiling

AddThis Social Bookmark Button
Originally posted on: ETW know how is still considered an arcane science by most people I have the chance to look at a lot of "easy" things which did affect performance a lot but they went bye unnoticed until I did look into with ETW tracing. While checking some GC related stuff to reduce the memory allocations I have noticed that one process had a object[] allocations on the Large Object Heap. This is nothing unusual at all but the allocation stack was interesting. The allocations were coming from Delegate.Remove. What does this
tell me when I see large object allocations in this method? Inside MulticastDelegate you can find the allocation with e.g. ILSpy at private object[] DeleteFromInvocationList(object[] invocationList, int invocationCount, int deleteIndex, int deleteCount) { object[] array = this._invocationList as object[]; int num = array.Length; while (num / 2 >= invocationCount - deleteCount) // Try to use a much smaller array /2 or /4 or even less if the remaining delegates can fit into it. { num /= 2; } ...(Read whole news on source site)

Solving the “Event not found” issue in Xamarin #MVVMLight binding and commanding

AddThis Social Bookmark Button
When using the MVVM Light binding framework (or other such frameworks, for that matter), you may encounter an issue where the debug version of your application works just fine, but the release version throws the following exception: System.ArgumentExceptionEvent not found: Click (or any other event name)Parameter name: eventName So what’s happening here? First we need […]

SharePoint Online and Azure AD Dynamic Groups

AddThis Social Bookmark Button
One very common requirement in SharePoint, and other portal solutions for that matter, is to have the possibility to target content to a dynamic audience of users and even secure information based on dynamic rules. Traditionally this has been done with Audiences in SharePoint. Audience is a dynamic set of users that is compiled, usually once a day, and at compile time the rules of the Audience is evaluated. A SharePoint Audience is used to target information, but cannot be used to protect content - ie as a security group. The Azure Active Directory released a new feature the
other week, called Dynamic Membership, which is a very similar feature to the SharePoint Audience feature. But, does it work with SharePoint Online? Let's have a look! Enabling Dynamic Groups in Azure AD First of all we need to enable Dynamic Membership in Azure Active Directory. To do this you need to be an Azure AD admin and you must have Azure Active Directory Premium subscription, and also the administrator you're logging in with must have an Azure AD Premium license assigned to him. Once you have the licensing sorted out you need to enable Delegated Group Management....(Read whole news on source site)

C# Questions and Answers – Data Types Part 2

AddThis Social Bookmark Button
This blog post on the C# Questions and Answers – Data Types Part 2 focuses on C# multiple choice interview questions on the data types in C# like char , integer etc. C# Questions and Answers – Data Types Part 2 1. What is Size of the char data type in C# ? a. 8 [...]
Related Posts :C# Questions and Answers – Data Types – Part 1 This blog post on the C# Questions and Answers – Data Types Part 1 focuses on C# multiple choice interview questions on data types. C#…Declaring Variables in F# To
learn any new programming language , it is necessary to learn the basics first which includes how to declare and define basic data types…JavaScript Tutorial #7 – Variables and Datatypes The developers can use the following primitive datatypes in their web application or Windows store application. - String - Boolean - Numbers JavaScript also support…Var keyword in Delphi/Oxygene and C# I had the privilege of working on some of the interesting languages like Delphi, Oxygene, C# etc. All the languages listed above has the keyword…Discover the Unit Testing Secrets: Top Unit Testing Questions Type...(Read whole news on source site)

Bringing the power of PowerShell to your build scripts

AddThis Social Bookmark Button
If you look back at the last couple of years, you'll notice an increasing attention for best practices that should make us more professional software developers. We design our classes using Test Driven Development, we review our code in pairs, and we apply all kinds of architectural principles such as those represented by the S.O.L.I.D. acronym. In other words, we really care about our code. But what about our build scripts? Do we care as much about those as we do for our regular code? I doubt it, but shouldn't we?

About a year ago we switched
from Microsoft Team Foundation Server's build environment to JetBrains TeamCity, mostly because my client was moving to Git and GitHub. After being used to the cryptic MSBuild XML documents (I never bothered with the Windows Workflow Foundation stuff), being able to use TeamCity's elaborate build step system seemed like an attractive approach. But with that, we almost made the mistake of treating build scripts as something exotic again.

Luckily, my (then new) colleague Damian Hickey convinced us to look at how the open-source community solves the build problem. Quite a lot of these projects use either...(Read whole news on source site)

.NET Fringe is Coming!

AddThis Social Bookmark Button
As many of you know, I’m not in the country at the moment but if I were, I’d be going to .NET Fringe in Portland, Oregon on April 12-14th. This new conference is all about open source in the .NET space and I and really excited that a conference is focused on it. I have a couple of small, older .NET open source libraries, but my real facination has been with where the overall community is going. Both Microsoft and the community at large are all going open source and it’s great news for us all I
think. If you’re interested in going, it’s relatively cheap. There is even an option to apply for a free ticket (though I don’t know the qualifications). If you’re a student or unemployed, it’s only $100! You can see all the ticket prices here: While I won’t be able to be there (at least, we’ve not figured out a way to make that happen yet), I suggest you go if you can get there. They even have set up a geek train to take people from Seattle down to the event in Portland: The...(Read whole news on source site)

C# Questions and Answers – Data Types – Part 1

AddThis Social Bookmark Button
This blog post on the C# Questions and Answers – Data Types Part 1 focuses on C# multiple choice interview questions on data types. C# Questions and Answers – Data Types – Part 1 1. Which of the below data types are value types ? a. Array b. String c. Long d. Integer Answer : [...]
Related Posts :Declaring Variables in F# To learn any new programming language , it is necessary to learn the basics first which includes how to declare and define basic data types…How to convert string array to integer array easily using LINQ?
There are times when you would have an array of string with only integer values and you may want to convert them to an integer…How to remove duplicates from integer array in C# ? Below is a sample code snippet demonstrating the usage of the extension methods to get the distinct data from integer array in C#. How to…How to Find if an Integer is a Power of 2 in C# ? Do you want to know if an integer is a power of 2 in C# ? . Below is a simple method with the...(Read whole news on source site)

Connect(“Live”); // WPF Team Live Q & A

AddThis Social Bookmark Button
It’s been a busy week for the .NET teams here at Microsoft. We’ve just concluded our two day, live, free, dotnetConf 2015 event, with 19 sessions from both our product teams and community presenters. If you missed it, don’t worry. You can watch all the videos on-demand over at the dotnetConf 2015 Channel 9 page. Next Week – WPF Team Live Q&A Connect(“Live”); We are not done yet. On Monday, March 23rd we are once again back with another Connect(“Live”); session, this time featuring the WPF team. This will be your next opportunity to engage the team, ask your questions,
and hear about the future of the framework. Among other topics, we’ll take another look at the newly revealed WPF App Local technology that is being considered for future releases and other investigations into platform improvements. Details: When: Monday 3/23 at 11:00am PDT
Speakers: Harikrishna Menon Ajith Kumar, Unni Ravindranathan, Rob Relyea and hosted by Seth Juarez Save the Date: You can save the date using an ICS file Watch it live: Connect (“Live”); event page Missed the live broadcast? No problem, see the WPF Team Live Q&A session page for the video   We hope to see you there!

ASP.NET Web Forms Extensibility: Model Binding Value Providers

AddThis Social Bookmark Button
ASP.NET 4.5 introduced model binding: basically, it is a way for databound controls - Repeater, GridView, ListView, etc - to be fed, not from a datasource control - ObjectDataSource, EntityDataSource, SqlDataSource, etc -, but from a method in the page. This method needs to return a collection, and may have parameters. The problem is: how these parameters get their values? The answer is: through a model binding value provider. A model binding value provider is a class that implements IValueProvider, and normally is injected through a ValueProviderSourceAttribute-derived attribute. ASP.NET includes
some implementations:
ControlAttribute: gets a value from a control;
CookieAttribute: gets a value from a cookie;
FormAttribute: gets a value from a submitted form field;
ProfileAttribute: gets a value from the user's profile;
QueryStringAttribute: gets a value from the query string;
RouteDataAttribute: gets a value from the current route;
SessionAttribute: gets a value from the session;
ViewStateAttribute:  gets a value from a control's view state.
If we want, say, to...(Read whole news on source site)