.NET Development News RSS Feed

.NET Development News

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

In this article, we will learn about the hash function and its properties– we will also see how the hash function is useful in the blockchain.

Source Feed: C-Sharpcorner Latest Articles


C# FileInfo.Length returns the size of a file in bytes. This method coverts file size in bytes into KB, MB, GB, TB, or PB.

Source Feed: C-Sharpcorner Latest Articles


In this article, you will learn about making O365 sites read-only.

Source Feed: C-Sharpcorner Latest Articles

Here is a lists top .NET Interview Questions. The article also explains .NET interview question and answers. What is .NET? What are advantages of .NET? What are components of .NET framework? What is CLS and CTS?

Source Feed: C-Sharpcorner Latest Articles

In this article, you will learn about HTTP verbs in MVC 5.

Source Feed: C-Sharpcorner Latest Articles




A few days ago I talked about how you can use RavenDB’s query functions to compute distances during queries.  On the one hand, I’m really happy that you can do that without having to wait for us to update RavenDB, on the other hand, I felt that this should really be us doing this. So I spent some time on spatial this week and we got a whole bunch of nice features out of it.The first new option is the ability to natively get the distance from a location as part of the query:You no longer need...

Source Feed: Ayende @ Rahien

Software Announcing Entity Framework Core 3.0 Preview 6 and Entity Framework 6.3 Preview 6 – Diego Vega Try the new System.Text.Json APIs – Immo Landwerth Visual Studio 2019 for Mac version 8.1 is now available (and a Preview for 8.2) – Cody Beyer WSL 2 is now available in Windows Insiders – Craig Loewen Information […]

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

We got a few requests for some guidance on how to optimize RavenDB insert rate. Our current benchmark is standing at 135,000 inserts/sec on a sustained basis, on a machine that cost less than a 1,000$. However, some users tried to write their own benchmarks and got far less (about 50,000 writes / sec). Therefor, this post, in which I’m going to do a bunch of things and see if I can make RavenDB write really fast. I’m sorry, this is likely to be a long post. I’m going to be writing this as I’m...

Source Feed: Ayende @ Rahien

Language: .NET, Expertise: Intermediate - Learn how to use the GetDistinaceTo method of the GetCoordinates class to determine the distance between two coordinates in C#.

Source Feed: DevX: Latest .NET Content

Software Announcing .NET Core 3.0 Preview 6 – Richard Lander ASP.NET Core and Blazor updates in .NET Core 3.0 Preview 6 – Daniel Roth Information Let’s develop Blazor apps on Linux – Kazuki Ota Prerendering a Client-side Blazor Application – Chris Sainty Install and Use C# 8 in Visual Studio 2019 – Claudio Bernasconi Developing […]

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

RavenDB has had support for spatial queries for a long time. In RavenDB 4.0 we did a whole bunch of work to make spatial queries better. In particular, we have separate the concepts of searching and ordering for spatial queries. In most cases, if you are doing a spatial query, you’ll want to sort the results by their distance. The classic example is: “Give me the Pizza stores within 5 km from me”. I’ll usually also want to see them listed by their distance. But there are other ways to go about...

Source Feed: Ayende @ Rahien

Software Announcing ML.NET 1.1 and Model Builder updates (Machine Learning for .NET) – Cesar De la Torre & Pranav Rastogi Announcing ML.NET 1.1 and Model Builder updates (Machine Learning for .NET) – Cesar De la Torre & Pranav Rastogi Visual Studio 2019 version 16.2 Preview 2 – Jacqueline Widdis Azure Service Fabric 6.5 release – […]

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

Software Welcoming Core WCF to the .NET Foundation – .NET Foundation Information Migrating a Sample WPF App to .NET Core 3 (Part 1) & Migrating a Sample WPF App to .NET Core 3 (Part 2) – Mike Rousos Empty try with finally – Jiří Činčura Automatic reconnects with SignalR 3.0 – Jerrie Pelser Implementing Sign […]

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

It happened again. A group of hackers targeted another cryptocurrency wallet via a malicious NPM package. The good news is that this attempt was foiled. Yesterday, the npm, Inc. security team, in collaboration with Komodo, helped protect over $13 million USD in cryptocurrency assets as we found and responded to a malware threat targeting the users of a cryptocurrency wallet called Agama. The bad news is this is just the attempt we know about. This attack is a variant of the...

Source Feed: You’ve Been Haacked
Categories: nuget, security, oss

Recently we got a couple of questions in the mailing list about running a RavenDB 4.x cluster with just two nodes in it. This was a fairly common topology in RavenDB 3.x days, because each of the nodes was mostly independent, but that added a lot of operational complexity to the system. In RavenDB 3.x you had to do a lot of stuff on each of the nodes in the system. RavenDB 4.x has brought us a unified cluster management and greatly simplified a lot of operational tasks. But one of the results...

Source Feed: Ayende @ Rahien

Information Supporting the community with WF and WCF OSS projects – Scott Hunter WCF vs gRPC – Round 2 – Mark Rendle Clever little C# and ASP.NET Core features that make me happy – Scott Hanselman Merging domain events before dispatching – Vladimir Khorikov Building a C# Interactive shell in a browser with Blazor (WebAssembly) […]

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

Advertisement

When I ran the Client Apps team at GitHub, I wrote a weekly “newsletter” to the team. I named it the CACAW which stood for Completely Awesome Client Apps Weekly. The name gave me an excuse to highlight each letter with a crow themed image. I tried to invoke every possible pun on crows I could find. It did not take long to run out of these. The purpose of this newsletter wasn’t to show off my skill at finding funny punny images. Distributed teams have a tendency to feel like a collection of...

Source Feed: You’ve Been Haacked
Categories: github, oss, tip

I spoke about this in the video, and it seems to have caught a lot of people yes, so I thought that I would talk here a bit how we trace the root cause of a RavenDB critical issue to a printer being out of paper.What is the relationship, I can hear you ask, between RavenDB, a document database, and a printer being out of paper? That is a good question. The answer is pretty much none. There is no DocPrint module inside of RavenDB and the last time yours truly wrote printer code was over fifteen...

Source Feed: Ayende @ Rahien

I had a great time giving this talk, and I think it went really well.You can watch the recording of the talk using the following link. I’ll also follow up tomorrow with more details about the printer that broke RavenDB, it seems to have hit a spot.

Source Feed: Ayende @ Rahien


When you see a small bug or error in a repository, a common refrain is to submit a pull request to fix it. To submit a pull request with a correction is an act of kindness to the maintainers. It allows the maintainers to review the change and accept it with a click. But it’s a bit of a heavyweight operation for the person submitting the fix. Chances are they don’t have write access to the repository. Thus to submit a fix, the person must fork the repository to their account first. The forked...

Source Feed: You’ve Been Haacked
Categories: github, oss, tip

We are running another set of RavenDB workshops in London, Dallas and New York. These are two days of deep dive into RavenDB. The workshop cover everything from how to talk to a RavenDB database to how to model your data, from how to setup a single node to building a geo-distributed cluster. It is also, at least in my opinion, a lot of fun. Here are the details: London - Jun 25-26th Dallas - Jul 11-12nd New York - Sep 16-17th We’ll also be talking about some of the new features in 4.2...

Source Feed: Ayende @ Rahien

Millions of years ago, Zach Holman gave a great talk about How GitHub uses GitHub to build GitHub. The talk focused a lot on GitHub’s approach to coordinating work on github.com, the software. But, the way GitHub uses GitHub goes beyond code. It uses GitHub to not only build github.com, but GitHub company. For example, the employee handbook is in a GitHub repository. This makes it easy to suggest corrections and changes and see a history of its changes. Note that pull requests to suggest an...

Source Feed: You’ve Been Haacked
Categories: github, oss, books

One of the changes that we made in RavenDB 4.2 is a pretty radical one, even if we didn’t really talk about it. It is the fact that RavenDB now contains C code. Previously, we were completely managed (with a bunch of P/Invoke) calls. But we now we have some C code in the project. The question is why?The answer isn’t actually about performance or the power of native C code. We are usually pretty happy with the kind of assembly instructions that we can get from C#. The actual problem was that we...

Source Feed: Ayende @ Rahien

Just a reminder, next week I’ll be speaking at the CodeNode on: When Select() is Broken"Select isn't broken" is an important bit of advice from the Pragmatic Programmer book. In most cases, you won't find bugs in your OS, programming languages or core libraries. It is almost always your code that is at fault. Except...In this session, Oren will discuss how RavenDB has exposed numerous issues in the CoreCLR, the JIT and the underlying operating systems. Along the way, you'll learn deep...

Source Feed: Ayende @ Rahien

I ended my last post on package security through fingerprints with this ominous note… In a future post, I’ll cover how even this wouldn’t protect us from every malicious package. It would do a lot, but there’s always trouble in the water. Welcome to the future my friends! This is that post. The stream of events I had in mind when I wrote that concerns the event-stream NPM package. Normally, streams are only used for IO, but in event stream we send all kinds of objects down the pipe....

Source Feed: You’ve Been Haacked
Categories: nuget, security, oss

We have a lot of internal test scenarios that run RavenDB through its paces.One of them had an issue. It would test that RavenDB backups worked properly, but it would (sometimes) fail to clean up after itself.The end result was that over time, the test database would accumulate more and more backup tasks that it had to execute (and all of them on the same schedule).You can see here how RavenDB is allocating them to different nodes in an attempt to spread the load as much as possible. We fixed...

Source Feed: Ayende @ Rahien

5/24/2019
My head is crammed with ideas just jostling to see the light of day. I imagine them pounding the inside of my cranium screaming LET US OUT!. And in response, I say the same thing I always say. Not yet. It’s counter productive. Sure, many of them will be bad ideas. But not all of them. And if I let them out, every once in a while, one of those ideas might make a mark on someone. Someone out there will have an even better take on the idea. That person might take that ember of an idea and make a...

Source Feed: You’ve Been Haacked
Categories: personal, meta

It seemed like an innocuous enough update. Someone yanked bootstrap-sass ruby gem version 3.2.0.2 and published 3.2.0.3. Ruby gems more or less follows the SemVer versioning scheme (albeit with an extra version number). An increment of the patch number communicates that this release should be a safe bug fix update. The command, bundle update --patch, should be safe as it updates to the next patch version which should be safe. Only, in this case, it was not. Version 3.2.0.3 of bootstrap-sass...

Source Feed: You’ve Been Haacked
Categories: nuget, security, oss

In my post on Why NuGet Package Signing Is Not Yet For Me I noted… as a NuGet consumer, there’s no way, within reason, that I can take advantage of package signing to make my environment more secure. At least not yet. For the most part, Microsoft implemented package signing in NuGet to comply with its own internal security policies. But for the rest of us, it has little benefit today. So what would I propose? Perhaps we can get a little help from our friends! No, not those friends....

Source Feed: You’ve Been Haacked
Categories: nuget, security, oss


Strap in for a rollicking exploration of the NuGet package signing feature. What is the feature and what is it good for? And does it live up to its purpose? Yes, my friends, I know how to party. To get reacquainted with my old pal NuGet, I updated some old packages and tweeted about the fun I had doing it. That’s when my buddy Oren rained on my parade. Perhaps my answer was a bit glib. Just a bit. But if you peer behind the glib “nope”, there’s an overflowing cauldron of thoughts. These...

Source Feed: You’ve Been Haacked
Categories: nuget, security, oss




Language: .NET, Expertise: Beginner - See how to use the System.Environment namespace's GetFolderPath method to retrieve the path of a special folder.

Source Feed: DevX: Latest .NET Content




2/19/2019
Every project risks failure to some degree or other. There’s the risk of delivering late. The risk of not being able to deliver at all. Or the risk that when you do deliver, it solves the wrong problem. It’s a risky business, but not the kind with Tom Cruise lip-synching in his underwear. When you work on a project, it’s important to be aware of and manage risk. There are several good tools for doing this. Postmortem (Retrospectives) One well-known procedure is the postmortem (or...

Source Feed: You’ve Been Haacked
Categories: work, consulting, management

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

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

Advertisement