.NET Development News RSS Feed

.NET Development News

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

Language: .NET, Expertise: Intermediate — To string HTML tags, use HttpUtility's HTMLDecode method with a RegEx expression.

Source Feed: DevX: Latest .NET Content

One of the things that we did recently was go over our internal data structures in RavenDB and see if we can optimize them. Some of those changes are pretty strange if you aren’t following what is actually going on. Here is an example: Before After   What is the point in this kind of change? Well, let us look at the actual assembly generated by this, shall we? Before After As you can see, the second option is much shorter, and in the common case, it involves no actual jumping....

Source Feed: Ayende @ Rahien

Software NuGet is now fully integrated into MSBuild – Karan Nandwani Information C# 7.0: Out variables – Gunnar Peipman Notes from the ASP.NET Community Standup – March 21, 2017 – Maria Naggaga Sharing is Caring: Using Shared Projects in ASP.NET – Rion Williams MassTransit on RabbitMQ in ASP.NET Core – Simon Timms Fast Dictionary and […]

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










Advertisement

In this article, we are going to learn Singleton design pattern in C#.

Source Feed: C-Sharpcorner Latest Articles

One of the most common issues that come up with performance tuning is that dictionaries are expensive. It isn’t so much that a single dictionary lookup is expensive, it is the sheer number of them. Dictionaries are used everywhere, and they are often used in very hot codepaths (as caching). Numerous times we have dealt with that with trying to avoid the dictionary access (often favoring an array based lookup if we can get away with it). But at some point we have decided to implement our own...

Source Feed: Ayende @ Rahien

Information Preventing mass assignment or over posting in ASP.NET Core – Andrew Lock Real-time chart using ASP.NET Core and WebSocket – Gunnar Peipman ASP.NET Community Standup – March 21st, 2017 – LIVE at Treehouse – ASP.NET Team The week in .NET – Happy birthday .NET with Mads Torgersen, Coypu – Bertrand Le Roy How to […]

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

One of the most common operations in RavenDB is to load a document, make a simple change and save it back. Usually, we tell users to just rely on the change tracking on the session and just save the document, but while it is the easiest way, it isn’t always the best. If I have a large document, I might not want to send it all the way back to the server just for a small change. That is why RavenDB has had a Patch operation for a long time. But while we had this feature, it was always a bit...

Source Feed: Ayende @ Rahien

Software GitHub – Microsoft/VisualStudioUninstaller – Visual Studio Uninstallation sometimes can be unreliable and often leave out a lot of unwanted artifacts. Visual Studio Uninstaller is designed to thoroughly and reliably remove these unwanted artifacts. ReSharper Ultimate 2017.1 EAP update: Visual Studio 2017 RTM and more – Svetlana Emelyanova Information ASP.NET Core MVC Anatomy (Part 1) […]

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

RavenDB it meant to be a service that just runs and runs, for very long periods of time and under pretty much all scenarios. That means that as part of our testing, we are putting a lot of emphasis on its behavior. Amount of CPU used, memory utilization, etc. And we do that in all sort of scenarios. Because getting the steady state working doesn’t help if you have an issue, and then that issue kills you. So we put the system into a lot of weird states to see not only how it behaves, but what...

Source Feed: Ayende @ Rahien

Software Azure Functions F# support is now generally available – Chris Anderson SQL Server next version CTP 1.4 now available – SQL Server Team Introducing Cake.Chocolatey.Module – Gary Ewan Park Information Disposing resources at the end of ASP.NET Core request – Filip W Options for CSS and JS Bundling and Minification with ASP.NET Core – […]

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

Every time that I think about this feature, I am reminded of this song. This is a feature that is only ever going to be used in everything fails. In fact, it isn’t a feature, it is an early warning system, whose sole purpose is to tell you when you are screwed. Checksums in RavenDB (actually, Voron, but for the purpose of discussion, there isn’t much difference) are meant to detect when the hardware has done something bad. We told it to save a particular set of data, and it didn’t do it...

Source Feed: Ayende @ Rahien

Software Visual Studio 2017 Update Preview and Windows 10 Creators Update SDK – Daniel Jacobson Preview 5 – Visual Studio for Mac – Bri Brothers Information Short introduction to serverless architecture – Gunnar Peipman Publishing a .NET class library as a Function App – Donna Malayeri Connect to Azure Event Hub in browser ( using […]

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

This piece of code is part of a test that runs a scenario, and checks that the appropriate errors are logged. Very occasionally, this test would fail, and it would be nearly impossible to figure out why. I’ve extracted the offending code from the test, ReadFromWebSocket returns a Task, since that isn’t obvious from the code. Do you see the error? Think about it, what is this doing? This is reading from a socket, and there is absolutely no guarantee about the amount of data that will go over...

Source Feed: Ayende @ Rahien


Ever put on a pair of shoes that were just a bit too small for you? You think that it would be fine, but then time goes by, and it pinches. And then it hurts, and then you just can’t walk any longer. That is how it feels to work with any reasonable amount of data (even low hundreds of MB) in 32 bits. The virtual address space is so limited that it is incredibly easily to just run out due to address space fragmentation and fail, and there is very little that you can actually do to recover from...

Source Feed: Ayende @ Rahien

I/O is a strange beast, it is slow, ponderous and prone to all sort of madness. In particular, there is no correlation between when you make an operation and when it will actually reach its destination. Case in point, this StackOverflow question, which describe a failure that led to data corruption in a database (from context, is seems to be PostgreSQL). The basic problem seems to be pretty simple, fsync can fail, which is fine, but the problem is what is going to happen when it fails. This is...

Source Feed: Ayende @ Rahien


The performance team has noticed that a particular scenario (importing large number of documents) is spending a lot of time sorting data. The finger was pointed directly at this guy: Those are 11.3% of the total operation time, in an area that is already extremely optimized. Before I go forward and explain what we did, I need to explain what is going on here. Consider the following JSON document (taken from the JSON value in Wikipedia):   RavenDB has progressed far beyond storing JSON as...

Source Feed: Ayende @ Rahien

RavenFS is a pretty cool technology. It was designed to handle both very large files over geographically distributed environment and large number of small files in a single datacenter. It has some really cool features, such as the ability to run metadata searches, delta replication, etc. And yet, pretty much all our customers are using it primarily as a way to handle small set of binaries, typically strongly related to the documents.  We also got a lot of feedback / worries about attachments...

Source Feed: Ayende @ Rahien




There has been a lot of discussion regarding which of the two most popular Web servers is better. Take a look at this comparison of their characteristics and performance.

Source Feed: DevX: Latest .NET Content



Leverage the new modular ASP.NET Core framework to build applications that are platform-independent, lean and fast.

Source Feed: DevX: Latest .NET Content

Yesterday was the 15th anniversary of .NET’s debut to the world. And Visual Studio was first released twenty years ago! In a recent episode of On .NET, I went to the Channel 9 studios to talk a bit about the history of .NET, my work at GitHub, and challenges to .NET’s future success among other random diversions. I hope you enjoy the interview! On a personal note, I’ve found it hard to blog lately because every topic seems so trivial in light of what’s happening in our country. It’s easy to...

Source Feed: You’ve Been Haacked

Happy New Year! I hope you make the most of this year. To help you out, I have a tiny little Git alias that might save you a few seconds here and there. When I’m working with Git on the command line, I often want to navigate to the repository on GitHub. So I open my browser and type in the URL like a Neanderthal. Yes, a little known fact about Neanderthals is that they were such hipsters they were using browsers before computers were even invented. Look it up. But I digress. Typing in all...

Source Feed: You’ve Been Haacked

10/12/2016
On Tuesday, November 8, 2016 I’ll be giving a talk entitled “Social Coding for Effective Teams and Products” at QCon SF as part of the “Soft Skills” track. If you happen to be in San Francisco at that time, come check it out. In anticipation of this talk, I recorded a podcast for InfoQ where I pointed out the irony of using the term “soft skills” to describe the track as these are often the most challenging skills we deal with day to day. They are indeed the hard skills of being a software...

Source Feed: You’ve Been Haacked

In the beginning of the year I announced a .NET Port of GitHub’s Scientist library. Since then I and several contributors from the community (kudos to them all!) have been hard at work getting this library to 1.0 status. Ok, maybe not that hard considering how long it’s taken. This has been a side project labor of love for me and the others. Today I released an official 1.0 version of Scientist.NET with a snazzy new logo from the GitHub creative team. It’s feature complete and used in...

Source Feed: You’ve Been Haacked

I’m coming on five years at GitHub (in December) and I thought I’d write a bit about what I’ve been up to lately and the fact that several of my teams are hiring. Five years passes by so quickly, right? I still get emails for feature requests on ASP.NET MVC. I always reply that the team would be happy to implement all of the suggestions and to just check the repository in a week’s time. I’m sure the team loves me for that. If you don’t give a rat’s ass about what I’m up to, but are interested...

Source Feed: You’ve Been Haacked

8/24/2016
Last week my family and I went on a cruise to Alaska with four other families and we didn’t die. Not that we should expect to die on a cruise, but being confined with a bunch of kids on a giant hunk of steel has a way of making one consider one’s mortality. Not only did we not die, but I learned a thing or two. For example, it’s common knowledge that the constant wave like motion of a ship can make one queasy. I learned that I could counteract that effect. Drink just the right amount of...

Source Feed: You’ve Been Haacked

I’ll be in the UK next week presenting at the free AzureCraft event being held on June 3rd and 4th.  This event was created by the UK Azure User Group and is a great way to learn about Azure as well as engage with the Azure community in the UK. What’s new in Azure Talk I’ll be speaking on June 3rd from 9:30-11:30am on “What’s new in Azure”.  It is going to have a lot of new content and highlight some of the cool new services and capabilities in Azure that developers might not have had a chance...

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

Yesterday, the NuGet team announced that NuGet.org reached one billion package downloads! It’s exciting to see NuGet still going strong. As part of the original team that created NuGet, we always had high hopes for its future but were also cognizant of all the things that could go wrong. So seeing hope turn into reality is a great feeling. At the same time, there is still so much more to do. One billion is just a number, albeit a significant and praiseworthy one. I love that the post calls...

Source Feed: You’ve Been Haacked

The tagline for the Atom text editor is “A hackable text editor for the 21st Century”. As a Haack, this is a goal I can get behind. It accomplishes this hackability by building on Electron, a platform for building cross-platform desktop applications with web technology (HTML, CSS, and JavaScript). The ability to leverage these skills in order to extend your text editor is really powerful. I thought I’d put this to the test by building a simple extension for Atom. I decided to port the...

Source Feed: You’ve Been Haacked

As an open source maintainer, it’s important to recognize and show appreciation for contributions, especially external contributions. We’ve known for a while that after a person’s basic needs are met, money is a poor motivator and does not lead to better work. This seems especially true for open source projects. Often, people are motivated by other intrinsic factors such as the recognition and admiration of their peers, the satisfaction of building something that lasts, or because they need...

Source Feed: You’ve Been Haacked

Some people, when confronted with a problem, think “I know, I’ll use regular expressions.” Now they have two problems. - Jamie Zawinski For other people, when confronted with writing a blog post about regular expressions, think “I know, I’ll quote that Jamie Zawinski quote!” It’s the go to quote about regular expressions, but it’s probably no surprise that it’s often taken out of context. Back in 2006, Jeffrey Friedl tracked down the original context of this statement in a fine piece of...

Source Feed: You’ve Been Haacked

As the role of mobile devices in people's lives expands even further, mobile app developers have become a driving force for software innovation. At Microsoft, we are working to enable even greater developer innovation by providing the best experiences to all developers, on any device, with powerful tools, an open platform and a global cloud. As part of this commitment I am pleased to announce today that Microsoft has signed an agreement to acquire Xamarin, a leading platform provider for...

Source Feed: ScottGu's Blog
Categories: mobile, azure, .net, visual studio

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

RSS Feed Subscribe to this Feed via RSS reader.

Related Feeds
Jobs in New York City      Music News      C# Development      U.S. Politics     

Advertisement