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 […]
Originally posted on: http://geekswithblogs.net/akraus1/archive/2015/03/22/161982.aspx
Since 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)
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 […]
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)
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 [...]
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)
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: http://dotnetfringe.org/tickets.html#ticket-types
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)
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 : [...]
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
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.
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 4.5 introduced model binding: basically, it is a way for databound controls - Repeater
, etc - to be fed, not from a datasource control - ObjectDataSource
, 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