ASP.NET Core Demystified - Action Results

ASP.NET Core Demystified - Action Results

August 22, 2017
  1175
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

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

August 21, 2017
  1308
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?

Adam Ralph — What is .NET Standard?

August 21, 2017
  1330
.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

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

August 21, 2017
  1425
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

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

August 21, 2017
  1443
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

Building Reusable UI Components in ASP.NET Core

August 19, 2017
  972
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 Bitcoin Full Node for .Net Core in C# Goes Live

August 19, 2017
  953
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's Nano Server: What to expect this fall | ZDNet

August 19, 2017
  1306
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

Span

August 19, 2017
  1376
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...

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

August 19, 2017
  1155
This week I´ll show you how to deploy your ASP.NET Core Web API to AWS Lambda.

Hot Vacancies

.NET Core Developer

Chudovo OU
.NET Core

Chudovo OU is looking for Experienced .Net developer to join one of our projects.

Trainee/Junior Microsoft Artificial Intelligence Developer

DevRain
Data Science

We are looking for the Trainee/Junior specialists whom are interested in Microsoft AI & Data Science & Azure platform development. This job is not connected to specific project or customer. Currently we are working on several internal and external R&D projects.

.NET Core Developer

MobiDev
.NET Core

We are expanding our team and looking for a talented .NET Core Developer, who is ready to gain new experience and share their own, working closely with colleagues. Combination of commercial experience and fundamental knowledge, ability to apply them in practice, passion for complex tasks, and good English – such is the recipe for our successful cooperation. Our projects include mobile and desktop apps, websites, web services, and complex solutions that consist of these components. It should be noted that we don't hire people just for one project. You have opportunity to become an essential part of our team. Join us!

Middle Backend Developer .NET Core, ASP.NET

IT Company Adraba
.NET Core

We are looking for middle Backend Developer .NET Core, ASP.NET for an exellent, stable project (online trading platform/CRM).

Senior .Net/C# Developer for IoT project

European product company
.NET Core

On behalf of our client, Simple Step Recruiters is looking for Senior.Net/C# developer to join fast growing team of European product company in Kiev. The company is a leading developer of industrial IoT solutions to track people and objects or transport sensor data, using mesh network technologies in Norway.

View all vacancies.