.NET Development News RSS Feed

.NET Development News

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

Software Released: Microsoft.Data.SqlClient 2.0 Preview 1 – David-Engel Information Understanding how to port your ASP.NET web apps to ASP.NET Core – Mike Finley The C# Interactive Window – K. Scott Allen Refactoring Code to Use C# Local Functions – Jason Roberts The Inversion of Control pattern in the test of time – Oren Eini aka […]

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



I run into a really interesting discussion on Twitter, I suggest you go over the whole thread, it is fascinating reading.This is the simplest example that ignores important features like mixed object lifetimes. That's why I scoff at these posts... Show a *real* example of an object graph that mixes scoped, transient and singleton dependencies. https://t.co/9IvSiO4t8a— David Fowler (@davidfowl) January 20, 2020 I have written DI / IoC business applications for a decade and I was heavily...

Source Feed: Ayende @ Rahien


Information Excluding health check endpoints from Serilog request logging: Using Serilog.AspNetCore in ASP.NET Core 3.0 – Part 4 – Andrew Lock Getting the Most Out of Application Insights for .NET (Core) Apps – David Paquette .NET everywhere apparently also means Windows 3.11 and DOS – Scott Hanselman Event Versioning Guidelines – Derek Comartin LICENSE to […]

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


This Article is brief on upcoming AI and trending technologies in the sector. Most important it also consider social impact and psychological tenet of AI

Source Feed: C-Sharpcorner Latest Articles

This article consists of overview of Linear Regression which is considered as a workhouse of Supervised ML along with it's implementation with some common python libraries .

Source Feed: C-Sharpcorner Latest Articles

In this article, you will learn about Memory Optimizer Advisor.

Source Feed: C-Sharpcorner Latest Articles



In my last post, I talked about how to store and query time series data in RavenDB. You can query over the time series data directly, as shown here:You’ll note that we project a query over a time range for a particular document. We could also query over all documents that match a particular query, of course. One thing to note, however, is that time series queries are done on a per time series basis and each time series belong to a particular document.In other words, if I want to ask a question...

Source Feed: Ayende @ Rahien

Information The Monsters Weekly – Episode 148 – WebWindow – ASP.NET Monsters Using Local Functions to Replace Comments – Jason Roberts Behind the compiler: 20 examples of C# code before and after compiling – Gunnar Peipman Avoiding the Debugger with Better Logging – K. Scott Allen Unit Testing .NET Core When Using Common Statics (DateTime, […]

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

Information Integrating Blazor Components into existing Asp.Net Core MVC apps – Wael Kdouh .NET Core on Red Hat platforms – Tom Deseyn Endpoint Debugging in ASP.NET Core 3 Applications – Khalid Abuhakmeh ASP.NET Core Dependency Injection – Cannot consume scoped service – Ibrahim Šuta C# boxing with string concatenation and interpolation – Fons Sonnemans Don’t […]

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

Software New year, new browser – The new Microsoft Edge is out of preview and now available for download – Joe Belfiore January 2020 unified Azure SDK release – Adrian Hall Information Blazor Mobile, Uno Platform, and WebAssembly – piling up the tech – Uno Platform Team Best Practices – When to use async void […]

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

When it comes to security, the typical question isn’t whatever they are after you but how much. I love this paper on threat modeling, and I highly recommend it. But sometimes, you have information that you just don’t want to have. In other words, you want to store information inside of the database, but without the database or application being able to read said information without a key supplied by the user. For example, let’s assume that we need to store the credit card information of a...

Source Feed: Ayende @ Rahien

A few days ago, my daughter was in a real funk. It breaks my heart to see her struggle. Fortunately, I knew exactly what to do, “build a mobile app!” Before the humorless among you think I’m a callous parent, that’s not exactly what I did of course. I gave her money. I kid. What I really did was listen to her struggles and offered unconditional love, support, and comfort. Then I went and wrote a mobile app. The App The idea for the app is simple. The main screen has a list of moods. She...

Source Feed: You’ve Been Haacked
Categories: mobile, dev, xamarin

On Tuesday, January 21, 2020 10:30 AM Eastern Time, I’ll be doing a webinar show casing some of the unique features of RavenDB.We talk a lot about new features and exciting stuff that we work on, but RavenDB has been around for a decade and some of the most impressive stuff that we have are still features that I built around 2009. I’m going to give a guided tour into some of the features that don’t share much of the limelight but can be real work horses in your application. You can register to...

Source Feed: Ayende @ Rahien

In RavenDB Cloud, we routinely monitor the usage of the RavenDB Cluster that our customers run. We noticed something strange in one of them, the system utilization didn’t match the expected load given the number of requests the cluster was handling. We talked to the customer to try to figure out what was going and we had the following findings (all details are masked, naturally, but the gist is the same).The customer stores millions of documents in RavenDB.The document sizes range from 20KB –...

Source Feed: Ayende @ Rahien

RavenDB has two separate APIs that allow you to get push notifications from the database. The first one is the Subscriptions API, which allows you to define a query such as:And then subscribe to it like so:RavenDB will now push batches of orders that match your query to the client. This is done in a reliable manner. If the client fails for any reason, it can reconnect and resume from where it left off. If the server failed, the cluster will automatically reassign the work to another node and...

Source Feed: Ayende @ Rahien

I was talking with a developer about their system architecture and they mentioned that they are going through some complexity at the moment. They are changing their architecture to support higher scaling needs. Their current architecture is fairly simple (single app talking to a database), but in order to handle future growth, they are moving to a distributed micro service architecture. After talking with the dev for a while, I realized that they were in a particular industry that had a hard...

Source Feed: Ayende @ Rahien

In my previous post, I asked you to find the bug in the following code:This code looks okay, at a glance, but it turns out that this is a really nasty data corruption bug waiting to happen. Here is what the problematic usage looks like:Do you see the error now?If the operation will time out, an exception will be raised, but the underlying operation isn’t over. We are using a shared pool, so the buffer we use may be handed over to someone else. At this point, we do something with the buffer,...

Source Feed: Ayende @ Rahien

Consider the following code:This is meant to add timeout support for a stream. There is a subtle bug in the code, can you spot it? What would be the implications here?

Source Feed: Ayende @ Rahien

I got an email recently asking about my advice on how to approach the architecture on new projects. In particular, looking at typical architectural patterns, they are full of things like repositories, interfaces, components and multiple moving pieces. Usually they are marketed as items that will aid future extensibility or promote separation of concerns. In fact, if you’ll look at the image on the right, you’ll see a typical timeline for a non trivial project. The amount of time that will be...

Source Feed: Ayende @ Rahien


Quick! How many ways are there with .NET Core to encode parts of a URL? Here’s a list I came up with. HttpUtility.UrlEncode - This is part of System.Web, so primarily used within a web application. WebUtility.UrlEncode - Part of System.Net so it can be used outside of a web application. Uri.EscapeUriString - 99 out of 100 developers agree you should pretty much never use this method. Use EscapeDataString instead. Uri.EscapeDataString - This method is the jam for encoding a full URL...

Source Feed: You’ve Been Haacked
Categories: aspnet, web

Sometimes you just need to submit a form and update a portion of your web page without a lot of fuss and muss. Today, you have a lot of options for dynamically updating the DOM based on changes made on the server. You could use React, Vue, Angular, SignalR, and Blazor. The choice you make will depend a lot on your experience and your scenario and how much complexity you can endure. For a site I’m building, I like to start as simple as possible and only add in components as the pain they solve...

Source Feed: You’ve Been Haacked
Categories: aspnet, js


Language: .NET, Expertise: Intermediate - With the Skip and Take methods in LINQ, paging has become a lot easier. Learn how to use them to provide paging to your items.

Source Feed: DevX: Latest .NET Content





Language: .NET, Expertise: Intermediate - Use this extension method in C# to check whether or not an input argument is null, and throw error if necessary.

Source Feed: DevX: Latest .NET Content


Developer tools that understand code semantics have a lot of potential. They have potential to make developers more productive and reduce the friction and drudgery of our craft. But it can be difficult to put these tools to use in practice. Many of them require a steep learning curve to use. It would be nice if we could automate the benefits of some of these tools. You can see where I’m going with this. For example, a while back, I wrote a post on how semantic diff and merge tools can reduce...

Source Feed: You’ve Been Haacked
Categories: git, semantic

This post describes how to apply an Entity Framework Core Global Query filter on all entity types that implement an interface using a strongly typed expression. And why you might want to do that in the first place. One way to implement a multi-tenant application is to use a discriminator column (aka a tenant_id column on every table). This is a risky proposition. Every query must remember to filter by the tenant_id. One missed query and you expose data from one tenant to another. That’ll get...

Source Feed: You’ve Been Haacked
Categories: data, ef

In my last post, I showed how to flow claims from an external identity provider (also referred to as a login provider) to your application. My post walks through how to bring over the claims every time the user logs in. But why would I want to do this? On Twitter, Brock Allen replied to my post with this tweet, IMO, external claims (other than sub) are only useful to pre-populate the registration page in your app the first time the user ever shows up from the external IdP. Otherwise, and...

Source Feed: You’ve Been Haacked
Categories: aspnet, security

Advertisement

I love it when a website lets me use my Google, GitHub, or Facebook account to log in. Chances are, I’m already logged into those sites, so it’s one click to log into a new site. This is a great experience for users. It reduces the friction to registration and loggin in to your site. They’re less likely to clam up. It’s easy to add external authentication to ASP.NET Core applications. For example, if you want users to log in with their Google or Facebook credentials, follow these...

Source Feed: You’ve Been Haacked
Categories: aspnet, security

Azure has a neat feature that runs Azure Functions from a package file (aka a zip file). This same feature also applies to Azure Web Apps, though you wouldn’t know it from the documentation. The Run from Package docs only mention Azure Functions. The GitHub issue that announced the feature makes it clear this also applies to Web Apps. Run From Package is an exciting new feature which lets you run a Web App or Function App by simply pointing it to a zip file containing your files. There...

Source Feed: You’ve Been Haacked
Categories: aspnet, azure

When you merge two branches, there may be conflicting changes between the branches. Git can often resolve these differences without intervention. For example, when each branch has changes to different files or lines of code. But sometimes each branch has changes that Git cannot resolve without help. For example, if two developers change the same line of code. Or if one developer deletes a file, but the other changed the file. In these situations, Git fails the merge operation and reports a...

Source Feed: You’ve Been Haacked
Categories: git, semantic

Raise your hand if you enjoy merge conflicts. I’ll go out on a limb and guess that nobody has a hand up. If you do have your hand up - first, you look silly right now. I can’t see you. And second, you’re being contrarian. Nobody likes merge conflicts. They’re a hassle. I know the data backs me up here. When I started at GitHub, I worked on a Git client. If you can avoid it, never work on a Git client. It’s painful. The folks that build these things are true heroes in my book. Every one of...

Source Feed: You’ve Been Haacked
Categories: git, semantic

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
Science News      Jobs in New York City      Music News      world news      C# Development      multiple feeds for new google sites      baseball      Skylanders     

Advertisement