.NET Development News RSS Feed

.NET Development News

.NET development news and blogs.
Feed created by feedshuttle
127

13 hours ago
In one of my recent posts about performance, a suggestion was raised: Just spotted a small thing, you could optimise the call to: _buffer[pos++] = (byte)'\'; with a constant as it's always the same. There are two problems with this suggestion. Let us start with the obvious one first. Here is the disassembly of the code:             b[0] = (byte) '/'; 00007FFC9DC84548  mov         rcx,qword ptr [rbp+8]   00007FFC9DC8454C  mov         byte ptr [rcx],2Fh               b[0] = 47; ...

Source Feed: Ayende @ Rahien

Information A (Hitchhiker’s) Guide To The .NET Core Projects on GitHub – Mark Rendle kicks off a series of posts looking at the .NET Core framework Managing My Many Hats on GitHub – Martin Woodward discusses managing your identity with Git Introducing DocNet, a static documentation site generator – Frans Bouma introduces a new project […]

Source Feed: The Morning Brew
Categories: .net, development, morning brew


In this article we will learn about CRUD operations in Web API using AngularJS.

Source Feed: C-Sharpcorner Latest Articles



In this article you will learn how to set image password in Windows 10.

Source Feed: C-Sharpcorner Latest Articles

In this post we will see some information about IndexedDB.

Source Feed: C-Sharpcorner Latest Articles

In this article you will learn about Account Settings in Windows 10. Here you will get options to sync your settings, sign-in settings, etc.

Source Feed: C-Sharpcorner Latest Articles


In this article we discuss PHP variables, comments, and single and double quotes.

Source Feed: C-Sharpcorner Latest Articles


We took this video a few weeks ago, tell us what you think.

Source Feed: Ayende @ Rahien

Information Building OWIN MiddleWare for ASP.NET vNext – Matt Millican Visual Studio Code – NEW FEATURES: JavaScript – Salsa Preview – Ed Price Project.json all the things – Oren Novotny Manually Attach a Debugger to Azure Web Apps – Jeff Sanders OWASP #6 Preventing Sensitive Data Exposure in ASP.NET – Part 2 – Max McCarty […]

Source Feed: The Morning Brew
Categories: .net, development, morning brew

We get some… fascinating replies from candidates to our code tests. Some of them are so bad that I really wish that I could revoke some people’s keyboard access: Case in point, we had a promising candidate from Israel’s equivalent of MIT (Technion, which is in the top 25 engineering schools in the world). He submitted code that went something like this: var nameFirstChar = char.Parse(name.Substring(0,1).ToLower()); switch (nameFirstChar) { case 'a': ...

Source Feed: Ayende @ Rahien

Advertisement

Information ASP.NET Core Embedded Resource – Derek Comartin takes a look at using Embedded Resources in ASP.NET Core projects The New Fetch Standard – K Scott Allen takes a look at the Fetch API, proposed as the future replacement for XMLHttpRequest for retrieving data in JavaScript GitHub Activity Guilt and the Coder’s FitBit – Scott […]

Source Feed: The Morning Brew
Categories: .net, development, morning brew


Let us assume that we have the following simple task: Given a Dictionary, convert that dictionary into a type in as performant a manner as possible. The conversion will happen many time, and first time costs are acceptable. The answer we came up with is to dynamically generate the code based on the type. Basically, here is how it looks like: public static Funcstring, string>, T> Generate() where T : new() { var dic = Expression.Parameter(typeof (Dictionarystring, string>), "dic"); ...

Source Feed: Ayende @ Rahien

Information The Error Model – Joe Duffy Feature Toggles (Working with feature-toggled systems) – Pete Hodgson FormatFilter and MediaTypeMappings in ASP.NET Core 1.0 MVC – Filip W JavaScript Unit Test Code Coverage Using NodeJS – Dave M Bush Testing That Your Public APIs Have Not Changed Unexpectedly with PublicApiGenerator and Approval Tests – Jason Roberts […]

Source Feed: The Morning Brew
Categories: .net, development, morning brew

This little nugget has caused a database upgrade to fail. Consider the following code for a bit. We have CompoundKey, which has two versions, slow and fast. The idea is that we use this as keys into a cache, and there are two types because we can “query” the cache cheaply, but constructing the actual key for the cache is more expensive. Hence, the names. public class CompoundKey { public int HashKey; } public sealed class FastCompoundKey : CompoundKey { public int Val; } public...

Source Feed: Ayende @ Rahien

Information Gzip Compression with NancyFX – Derek Comartin Learning How Garbage Collectors Work – Part 1 – Matt Warren Migrating SQL Server to SQL Azure – The Loupe Service goes Cloud Native – Gibraltar Software A Practitioner’s Guide to Moving to the Cloud – Sandeep Alur and Srikantan Sankaran Good, fast, pretty code: How to […]

Source Feed: The Morning Brew
Categories: .net, development, morning brew

I have a piece of code that does something on types. It is a whole complex thing that does a lot of stuff. And the code is really ugly, here is a small part from ~180 lines method. The problem would have been much simpler if we could only switch on types, which is effectively what I want to do here. As it stands, however, the JIT is actually going to replace all those if statements with pointer comparisons to the method table, so this is pretty fast. Unpleasant to read, but really fast. I...

Source Feed: Ayende @ Rahien

You might have noticed the low level work I have been posting about lately. This is part of a larger effort to better control over our environment, and hopefully gain more than mere incremental performance improvement. As part of that, we decided to restructure a lot of our core dependencies. The data format change is one such example, but there are others. Of particular relevance to this post is the webserver and web stack that we use, as well as the actual programming model. In order to...

Source Feed: Ayende @ Rahien

Explore the ConcurrentQueue class in C# and how it can be used to implement collections that are thread safe.

Source Feed: DevX: Latest .NET Content

As you read this post, you might want to also consider letting this play in the background. We had a UDP port leak in RavenDB. We squashed it like a bug, but somehow it kep repeating.   We found one cause of it (and fixed it), finally. That was after several rounds of looking at the code and fixing a few “this error condition can lead to the socket not being properly disposed”. Finally, we pushed to our own internal systems, and monitored things, and saw that it was good. But the bloody bug...

Source Feed: Ayende @ Rahien

Kelly Sommers had this twit, that caught my attention. While half a minute pause is not something that we have really seen, we have seen production systems that spend a lot of their cycles on GC. That is better than a pause, but only in the same way that you prefer to stab your toe rather than break your leg. As per the title of this post, the most challenging tasks in a database engine isn’t actually how to fetch the data, or how it is stored, but the management of the various resources...

Source Feed: Ayende @ Rahien


One of the most important things that you need to do for high performance is to control your allocations. Indeed, the blittable format is almost entirely implemented in unmanaged memory. And we get a great deal of performance from not having the GC poke its annoying little nose into our data structures. That said, it means that we take the onus of managing the memory ourselves. This post is about a couple of changes that we made to the memory management system in the blittable format, and some...

Source Feed: Ayende @ Rahien




Yesterday we held our AzureCon event and were fortunate to have tens of thousands of developers around the world participate.  During the event we announced several great new enhancements to Microsoft Azure including: General Availability of 3 new Azure regions in India Announcing new N-series of Virtual Machines with GPU capabilities Announcing Azure IoT Suite available to purchase Announcing Azure Container Service Announcing Azure Security Center We were also fortunate to be joined on...

Source Feed: ScottGu's Blog
Categories: azure, community news


Today, I’m happy to announce several key additions to our big data services in Azure, including the General Availability of HDInsight on Linux, as well as the introduction of our new Azure Data Lake and Language services. General Availability of HDInsight on Linux Today we are announcing general availability of our HDInsight service on Ubuntu Linux.  HDInsight enables you to easily run managed Hadoop clusters in the cloud.  With today’s release we now allow you to configure these clusters to...

Source Feed: ScottGu's Blog
Categories: azure, community news, sql server, hadoop

This Tuesday, Sept 29th, we are hosting our online AzureCon event – which is a free online event with 60 technical sessions on Azure presented by both the Azure engineering team as well as MVPs and customers who use Azure today and will share their best practices. I’ll be kicking off the event with a keynote at 9am PDT.  Watch it to learn the latest on Azure, and hear about a lot of exciting new announcements.  We’ll then have some fantastic sessions that you can watch throughout the day to...

Source Feed: ScottGu's Blog
Categories: azure, community news, .net

A few weeks ago, we announced the preview availability of the new Basic and Premium Elastic Database Pools Tiers with our Azure SQL Database service.  Elastic Database Pools enable you to run multiple, isolated and independent databases that can be auto-scaled automatically across a private pool of resources dedicated to just you and your apps.  This provides a great way for software-as-a-service (SaaS) developers to better isolate their individual customers in an economical way. Today, we...

Source Feed: ScottGu's Blog
Categories: azure, sql server, community news

The .NET web development team recently announced support for Webhooks in ASP.NET.

Source Feed: DevX: Latest .NET Content

One of the never ending flame wars involves the use of programmer editors vs. integrated development environments (IDEs). Most developers have a proclivity for one over the other.

Source Feed: DevX: Latest .NET Content

Today, we’re announcing the release of the new Azure GS-series of Virtual Machine sizes, which enable Azure Premium Storage to be used with Azure G-series VM sizes. These VM sizes are now available to use in both our US and Europe regions. Earlier this year we released the G-series of Azure Virtual Machines – which provide the largest VM size provided by any public cloud provider.  They provide up to 32-cores of CPU, 448 GB of memory and 6.59 TB of local SSD-based storage.  Today’s release of...

Source Feed: ScottGu's Blog
Categories: azure, community news


Today we are making available several new SQL Database capabilities in Azure that enable you to build even better cloud applications.  In particular: We are introducing two new pricing tiers for our  Elastic Database Pool capability.  Elastic Database Pools enable you to run multiple, isolated and independent databases on a private pool of resources dedicated to just you and your apps.  This provides a great way for software-as-a-service (SaaS) developers to better isolate their individual...

Source Feed: ScottGu's Blog
Categories: azure, community news, sql server

At DockerCon this year, Mark Russinovich, CTO of Microsoft Azure, demonstrated the first ever application built using code running in both a Windows Server Container and a Linux container connected together. This demo helped demonstrate Microsoft's vision that in partnership with Docker, we can help bring the Windows and Linux ecosystems together by enabling developers to build container-based distributed applications using the tools and platforms of their choice. Today we are excited to...

Source Feed: ScottGu's Blog
Categories: azure, .net, visual studio, windows server, community news

Today is a big day with major release announcements for Visual Studio 2015, Visual Studio 2013 Update 5, and .NET Framework 4.6. All these releases have been covered in great detail on Soma’s Blog, Visual Studio Blog, and .NET Blog.  Join us online for the Visual Studio 2015 Release Event, where you can see Soma, Brian Harry, Scott Hanselman, and many other demo new Visual Studio 2015 features and technologies. This year, in a new segment called “In The Code”, we share how a team of Microsoft...

Source Feed: ScottGu's Blog
Categories: asp.net, .net, community news, visual studio

Organizations moving to the cloud can achieve significant cost savings.  But to achieve the maximum benefit you need to be able to accurately track your cloud spend in order to monitor and predict your costs. Enterprises need to be able to get detailed, granular consumption data and derive insights to effectively manage their cloud consumption. I’m excited to announce the public preview release of two new Azure Billing APIs today: the Azure Usage API and Azure RateCard API which provide...

Source Feed: ScottGu's Blog
Categories: azure, community news

I’m very excited to announce the general availability release of Azure Premium Storage. It is now available with an enterprise grade SLA and is available for everyone to use. Microsoft Azure now offers two types of storage: Premium Storage and Standard Storage. Premium Storage stores data durably on Solid State Drives (SSDs) and provides high performance, low latency, disk storage with consistent performance delivery guarantees. Premium Storage is ideal for I/O-sensitive workloads - and is...

Source Feed: ScottGu's Blog
Categories: azure, community news

Dig into writing diagnostics as Ted Neward and Joe Hummel show how to use the open source .NET Compiler Platform (formerly known as "Roslyn") to write language tools when developing for the platform.

Source Feed: MSDN Magazine (en-us)
Categories: dotnet, cs, studio

Can the .NET Compiler Platform change what it means to write a Microsoft .NET Framework API? Learn about diagnostic analyzers, a key new feature of Visual Studio 2015 that lets a NuGet package introduce custom warnings and errors to your build.

Source Feed: MSDN Magazine (en-us)
Categories: dotnet, cs

Sometimes the simplest approach is best, as Ted Neward illustrates with the Growl notification utility, which makes it easy for developers to add reliable notificiations to their software.

Source Feed: MSDN Magazine (en-us)
Categories: dotnet

Golf season is here! Learn how to build a cross-platform mobile app (Windows Phone and iOS) that uses Azure Mobile Services to track drives in a long drive contest.

Source Feed: MSDN Magazine (en-us)
Categories: dotnet, azure, cs, data, sqla, mobile

Get the lowdown on better management of windows and tiles, new project templates, updated and new HTML and XAML controls, new networking and security APIs, and much more.

Source Feed: MSDN Magazine (en-us)
Categories: dotnet, javascript, studio, win8

RSS Feed Subscribe to this Feed via RSS reader.

Related Feeds
Jobs in New York City      Music News      Movie News     

Advertisement