stream:// .net


ASP.NET Core Demystified - Action Results

Next up in our ASP.NET Core Demystified series, we will discuss and demo a whole bunch of classes which implement the IActionResult interface and inherit from the corresponding ActionResult class. These classes are used as responses from controller actions, and include redirecting to another site, redirecting to a different

Redirect HTTP to HTTPS when using ASP.NET Core in Web App on Linux – Azure App Service

A couple things to consider when implementing HTTP to HTTPS redirect for an ASP.NET Core application running in Web App on Linux - Azure App Service. -Since you are using the .NET Core server to process requests, configuring a redirect rule in .htaccess won't work the way it does with sites that are closely coupled...

Adam Ralph — What is .NET Standard?

.NET Standard is one of many new technologies to emerge from the mass of open source .NET initiatives during the past year. Compared to what's come before, ....

Modular and Extendable Web Application on ASP.NET Core From Scratch Using ExtCore Framework

Today we are going to create small accounting web application which will consist of 4 extensions: Barebone, Incomes, Expenses, and Balance. UI and data model will be modular too.

Rider EAP 24 includes performance fixes, F# Interactive - .NET Tools Blog

We have a new Rider EAP build for you today. Highlights of this build include performance and memory consumption fixes, Unity support improvements, and F# Interactive, accompanied by a few dozens of bug fixes. Performance fixes Last week, we were … Continue reading →

Building Reusable UI Components in ASP.NET Core

Scott Addie discusses how to use two new ASP.NET Core tools for building reusable UI components: Tag Helpers and View Components.

Stratis Bitcoin Full Node for .Net Core in C# Goes Live

Stratis Group releases powerful and user friendly tools for C# developers to build blockchain apps on .Net Core using C#. Learn more at the C# Corner Conference 2017.

Microsoft's Nano Server: What to expect this fall | ZDNet

Microsoft is changing the positioning and feature set of Nano Server with the coming fall feature release of Windows Server 2016. Here's what to expect.

Span

tl;dr Use Span to work with ANY kind of memory in a safe and very efficient way. Simplify your APIs and use the full power of unmanaged memory! Contents Introduction Introduction C# gives us great flexibility when it comes to using different kinds of memory. But the majority of the developers use only the managed one. Let’s take a brief look at what C# has to offer for us: Stack memory - allocated on the Stack with the stackalloc keyword. Very fast allocation and deallocation. The size of the Stack is very small (usually < 1 MB) and fits well into CPU cache. But when you try to allocate more, you get StackOverflowException which can not be handled and immediately kills the entire process. Usage is also limited by the very short lifetime of the stack - when the method ends, the stack gets unwinded together with its memory. Stackalloc is commonly used for short operations that must not allocate any managed memory. An example is very fast logging of ETW events in corefx: it has to be as fast as possible and needs very little of memory (so the size limitation is not a problem). internal unsafe void BufferRented(int bufferId, int bufferSize, int poolId, int bucketId) { EventData* payload = stackalloc EventData[4]; payload[0].Size = sizeof(int); payload[0].DataPointer = ((IntPtr)(&bufferId)); payload[1].Size = sizeof(int); payload[1].DataPointer = ((IntPtr)(&bufferSize)); payload[2].Size = sizeof(int); payload[2].DataPointer = ((IntPtr)(&poolId)); payload[3].Size = sizeof(int); payload[3].DataPointer = ((IntPtr)(&bucketId)); WriteEventCore(1, 4, payload); } Unmanaged memory - allocated on the unmanaged heap (invisible to GC) by calling Marshal.AllocHGlobal or Marshal.AllocCoTaskMem methods. This memory must be released by the developer with an explicit call to Marshal.FreeHGlobal or Marshal.FreeCoTaskMem. By using it we don’t add any extra pressure for the GC. It’s most commonly used to avoid GC in scenarios where you would normally allocate huge arrays of value types without pointers. Here you can see some real-life use cases from Kestrel. Managed memory - We can allocate it with the new operator. It’s called managed because it’s managed by the Garbage Collector (GC). GC decides when to free the memory, the developer doesn’t need to worry about it. As described in one of my previous blog posts, the GC divides managed objects into two categories: Small objects (size < 85 000 bytes) - allocated in the generational part of the managed heap. The allocation of small objects is fast. When they are promoted to older generations, their memory is usually being copied. The deallocation is non-deterministic and blocking. Short-lived objects are cleaned up in the very fast Gen 0 (or Gen 1) collection. The long living ones are subject of the Gen 2 collection, which usually is very time-consuming. Large objects (size >= 85 000 bytes) - allocated in the Large Object Heap (LOH). Managed with the free list algorithm, which offers slower allocation and can lead to memory fragmentation. The advantage is that large objects are by default never copied. This behavior can be changed on demand. LOH has very expensive deallocation (Full GC) which can be minimized by using ArrayPool.

Deploy your ASP.NET Core Web API to AWS Lambda - Code it Yourself...

This week I´ll show you how to deploy your ASP.NET Core Web API to AWS Lambda.

Net(Cafe): Introduction of tag helpers in .net core

.Net(Cafe) - это цикл мероприятий посвященных технологии .Net Тема нового мероприятия: Introduction of tag helpers in .net core Вместе с Andrey...

Networking stack - Technical roadmap · Issue #9 · dotnet/designs

Summary Our investment in the .NET networking space will focus in the following areas Foundation: Sockets, SSL, DNS support. Primary Goal: Provide near-native performance and rock-solid reliability...

Visual Studio Code June 2017

See what is new in the Visual Studio Code June 2017 Release (1.14)

.NET Core solution management via the command line interface | Joseph Woodward, Software Developer

.NET Core solution management via the command line interface | Joseph Woodward, Software Developer Joseph Woodward Software development, ASP.NET & Architectur

Exploring CQRS within the Brighter .NET open source project - Scott Hanselman

Scott Hanselman on Programming, The Web, Open Source, .NET, The Cloud and More

Porting a 15 year old .NET 1.1 Virtual CPU Tiny Operating System school project to .NET Core 2.0 - Scott Hanselman

Scott Hanselman on Programming, The Web, Open Source, .NET, The Cloud and More

.NET Standard Libraries in Xamarin Studio |

Xamarin projects have supported .NET Standard Libraries in both Xamarin Studio and Visual Studio since their original release in order to enable developers to share code more easily. Consuming .NET Standard NuGets and Assemblies is completely seamless, and with Xamarin Studio 6.2, developers can create and open .NET Standard projects. What is .NET Standard? The …

Docker for .NET Developers (Part 1) - Steve Gordon's Blog

Two words you will very likely be used to hearing quite often within our community at the moment are “microservices” and “Docker”. Both are topics of great interest and are generating excitement for developers and architects. In this new series of blog posts I want to cover Docker, what it is, why it might be …

Announcing EF Core 2.0 Preview 2

A first-hand look from the .NET engineering teams

Announcing .NET Core 2.0 Preview 2

A first-hand look from the .NET engineering teams

Performance Improvements in .NET Core

A first-hand look from the .NET engineering teams

Shutting down CodePlex

Everything you want to know about Visual Studio ALM and Farming

What is the NETStandard.Library metapackage?

In my last post I looked at the Microsoft.AspNetCore metapackage. In this post I take a look at NetStandard.Library, what it contains and what it is for.

dotnet/core

.NET Core 1.1.1 was released today. Both releases include reliability updates to improve the quality of .NET Core. You can download the .NET Core Runtime releases via our .NET Core Runtimes download page. If you are looking for the .NET Core SDK, to get the latest tools, try the .NET Core SDK download page. Have a look at the .NET announcement blog post for details and great context around the release. Visual Studio 2017 is also releasing today and you can read about it in their announcement.

Entity Framework Core Tutorial | DotNetCurry

Entity Framework (EF) Core is a lightweight, extensible, and cross-platform ORM framework. This tutorial will help you get started with EF Core.

Hot Vacancies

.NETBack End Developer

Field Complete, .NET

Field Complete is a team of passionate, young & fun-loving professionals looking to change the uneffective way that Servicing Industry works on US markets. Field Complete is growing really fast. We are looking for a Back End Developer to build a top-level modern API, ready for high load. Strong expertise with:

Senior Xamarin Developer

DraftKings, Mobile

You will join a mobile team which is working on two very exciting projects, Sportsbook and Casino. The apps are used by users in the US, where we are working on the regulated markets. We are releasing apps every two weeks. Our apps are generating almost 75% of the company revenue and the user base is growing daily. Technical stack on the project: Xamarin.Forms, MVVM with DI, NewRelic, Azure + App Center etc. Switching to .Net MAUI in the nearest 2-3 months.

Senior .NET Engineer

DraftKings, .NET

You will be working in a large US-oriented company that puts as a priority: security, performance, and stability. The candidate will work on pushing a huge number of changes (several thousand per sec) to several thousand clients in a near real-time manner.

Middle strong .NET developer

SoftServe, .NET

Our customer is an American company that develops software for businesses to help manage their networks, systems, and information technology infrastructure. The company provides purpose-built products for IT professionals, MSPs, and DevOps pros.

Junior .NET Developer

Chudovo OU, .NET

We are looking for a Junior .Net developer for being involved in to further development of the B2B platform for IT companies. You'll work on mostly back-end tasks closely with a Senior level developer.