Strona głównaUżytkownik

Piotr Stapp | administrator

Piotr Stapp
Piotr Stapp
brak danych
27 dni, 17 godzin, 52 minuty temu
3 listopada, 2016
Administrator
dotnetomaniak.pl

Sam July 9th, 2021 API versioning can help evolving our APIs without changing or breaking the existing API services. URL segment, request header, and query string are three ways to achieve API versioning in ASP.NET Core application. ASP.NET Core OData 8, built upon ASP.NET Core, has the built-in API versioning functionality via route URL prefix template. For instance, the following code configures a version template in the route URL prefix to achieve URL based API versioning: services.AddControllers(...

Tagi: API, OData
Dziel się z innymi:
API versioning extension with ASP.NET Core OData 8 | OData

Inne 1226 dni, 7 godzin, 17 minut temu Piotr Stapp 54 źrodło rozwiń

Learn how to build APIs in .NET with our Ultimate ASP.NET Core Web API! 🔥Check out our video course about BLAZOR WEBASSEMBLY! 🔥HomeWeb API Book 📙Blazor WASM Video Course 🔥GuidesASP.NET CoreASP.NET Core SeriesGraphQL ASP.NET CoreASP.NET Core MVC SeriesASP.NET Core MVC TestingEF Core SeriesHttpClient with ASP.NET CoreSecurityASP.NET Core Identity SeriesIdentityServer4, OAuth, OIDC SeriesAngular with ASP.NET Core IdentityBlazor WebAssemblyBest PracticesSOLID PrinciplesASP.NET Core Web API Best Practice...

Źródło: code-maze.com
Dziel się z innymi:
C# Tips to Improve Code Quality and Performance - Code Maze

Sztuka programowania 1226 dni, 7 godzin, 17 minut temu Piotr Stapp 99 źrodło rozwiń

On this page: If you've been following this blog and my Twitter feed, you know I've been going through a lengthy process of updating the Markdown Monster WPF desktop application from using an WebBrowser control based editor and preview interface to using the new WebView2 control. This new control provides a modern browser that use the Chromium engine which provides much better compatibility with modern Web Standards than the old Internet Explorer based WebBrowser control. The new control has strict r...

Tagi: async/await
Dziel się z innymi:
Thoughts on Async/Await Conversion in a Desktop App - Rick Strahl's Web Log

Sztuka programowania 1228 dni, 7 godzin, 19 minut temu Piotr Stapp 35 źrodło rozwiń

Rocket Mortgage Technology BlogRocket Mortgage Technology BlogRocket Mortgage TechnologyFollow·9 min read Measuring Performance in .NET Jason Bock, Developer Advocate, Rocket Mortgage As developers, we come across unique ways to implement algorithms that may seem intriguing, but their novelty must be challenged with performance analysis. In this article, I’ll discuss ways to determine if words are anagrams using prime numbers. I’ll compare this approach to other solutions, and I’ll use Benchmark.NET t...

Tagi: performance
Źródło: medium.com
Dziel się z innymi:
Anagrams and Prime Numbers. Measuring Performance in .NET | by Rocket Mortgage Technology | Rocket Mortgage Technology Blog | Jul, 2021 | Medium

Inne 1228 dni, 7 godzin, 19 minut temu Piotr Stapp 22 źrodło rozwiń

8th July 20218th July 2021Steve Gordon.NETPart Two: Understanding the Overhead of a StringBuilder To continue exploring how the StringBuilder works, we’ll shift focus and study its logical design. Today, we’ll start by looking at how the type is designed and the overhead involved with creating and using StringBuilder instances. If you missed part one of this series, I explained why you may decide to use StringBuilders in your application code for more efficient string manipulation. Don’t worry if you mi...

Tagi: string
Dziel się z innymi:
How Does the StringBuilder Work in .NET? (Part 2) - Steve Gordon - Code with Steve

Sztuka programowania 1228 dni, 7 godzin, 19 minut temu Piotr Stapp 54 źrodło rozwiń

Whilst I was working on migrating the WeatherTwentyOne app from Maui to Uno I noticed that the Maui application includes a number images as SVG files. However, in the XAML there are only ever references to PNG files. On closer inspection of the bin folder for the WinUI project I noticed that for each SVG … Continue reading “Image Resizetizer for WinUI and Uno Applications” Whilst I was working on migrating the WeatherTwentyOne app from Maui to Uno I noticed that the Maui application includes a number im...

Tagi: MAUI
Dziel się z innymi:
Image Resizetizer for WinUI and Uno Applications - Nick's .NET Travels

Windows 1232 dni, 6 godzin, 25 minut temu Piotr Stapp 13 źrodło rozwiń

One of the questions I frequently get asked by people who watch my Durable Functions Fundamentals Pluralsight course is whether you can use dependency injection with Durable Functions (as my demo app uses static methods). The answer is yes, and it's quite simple although there are a couple of considerations about logging that are worth pointing out. In this post I'll give a quick overview of the main steps, and you can get more details on the official docs site if you'd like to dive further into the top...

Źródło: markheath.net
Dziel się z innymi:
Azure Durable Functions Dependency Injection

Cloud 1232 dni, 6 godzin, 25 minut temu Piotr Stapp 22 źrodło rozwiń

As the dotnet Maui team continue to churn out each preview, it’s great to see some of the showcase apps coming together. One of these is the WeatherTwentyOne app that David Ortinau has been working on. Whilst I’ve been doing a lot of work with the Uno platform recently, I haven’t been spending as time … Continue reading “Converting the WeatherTwentyOne app from dotnet Maui to Uno” As the dotnet Maui team continue to churn out each preview, it’s great to see some of the showcase apps coming together. One...

Tagi: MAUI
Dziel się z innymi:
Converting the WeatherTwentyOne app from dotnet Maui to Uno - Nick's .NET Travels

Mobile development 1232 dni, 6 godzin, 25 minut temu Piotr Stapp 19 źrodło rozwiń

5th July 20215th July 2021Steve Gordon.NETPart 1: Why do we need a StringBuilder and when should we use one? After becoming proficient in .NET and C#, developers are likely to learn that they should use a StringBuilder to optimise string manipulation and concatenation. This is not a hard and fast rule for all situations but is generally good advice if your code combines or modifies strings repeatedly, particularly if the number of modifications is unbounded and not known until runtime. In this post, I ...

Tagi: string
Dziel się z innymi:
How Does the StringBuilder Work in .NET? (Part 1) - Steve Gordon - Code with Steve

Inne 1232 dni, 6 godzin, 25 minut temu Piotr Stapp 52 źrodło rozwiń

Ultimate Guide to Machine Learning with Python - e-books bundle! Become Machine Learning Superhero TODAY! &##128293;FacebookTwitterInstagramLinkedInGitHomeBook 📙BlogContactSelect Page | .NET, C# | 0 commentsSubscribe and receive free guide - Ultimate Data Visualization Guide* indicates requiredEmail Address * C# has been around for a while. Since January 2002, to be more precise. As we wait for the 20th birthday of this popular programming language, we are expecting its new version as well. C# 10 ...

Tagi: c#10
Źródło: rubikscode.net
Dziel się z innymi:
C# 10 - Top 5 New Features in the Upcoming C# Version

Inne 1234 dni, 3 godziny, 36 minut temu Piotr Stapp 117 źrodło rozwiń

July 04, 2021 (~10 Minute Read) IDEMPOTENCYFAULT TOLERANCEDISTRIBUTED SYSTEMSAPI DESIGNASP.NET COREOPEN-SOURCE Contents IntroductionIdempotency in HTTP (Web)The IdempotentAPI LibraryHow IdempotentAPI WorksThe Source CodeIdempotentAPI NuGet packageStep 1: Register the Distributed Cache (as Persistent Storage)Step 2: Decorate Response Classes as SerializableStep 3: Set Controller Operations as IdempotentUsing the Idempotent Attribute on a Controller’s ClassUsing the Idempotent Attribute on a Controller’s...

Tagi: WebAPI
Dziel się z innymi:
.NET Nakama | Idempotency for Fault-Tolerant Web APIs

Sztuka programowania 1234 dni, 3 godziny, 36 minut temu Piotr Stapp 36 źrodło rozwiń

Nik June 30th, 2021 With the release of Visual Studio 16.10 comes a new analysis engine for the Performance Profiler, with the .NET Object Allocation Tool being the first tool to be onboarded. This provides the tool with some new features and a significant perf boost. Give it a shot with your C# app and see what spurious allocations you can remove to speed up your app! The .NET Object Allocation Tool now has support for Source Link which lets the tool pull down source files when going to source. This ...

Dziel się z innymi:
.NET Object Allocation Tool Performance | Visual Studio Blog

Narzędzia 1234 dni, 3 godziny, 36 minut temu Piotr Stapp 22 źrodło rozwiń

aboutblogpodcastyoutubespeaking browse by category or dateC sharp or B flat? Experiments in self-contained native executables in .NETComment on this post [3]Posted in Open Source Sponsored By One of the best parts of the .NET ecosystem is the excitement around experimentation. Someone is always taking .NET to the next level, trying new things, pushing the envelope. Michal Strehovsky has an interesting experiment on his GitHub called "bflat." This is not a produc...

Tagi: natywne
Źródło: www.hanselman.com
Dziel się z innymi:
C sharp or B flat? Experiments in self-contained native executables in .NET - Scott Hanselman's Blog

Sztuka programowania 1234 dni, 3 godziny, 36 minut temu Piotr Stapp 33 źrodło rozwiń

Lee P RichardsonRate me: Please Sign up or sign in to vote. 5.00/5 (7 votes)CPOL7 min readIn this post I'll quickly explain what asynchronous streams are, describe what real world problem they helped me solve, and show some common pitfalls just in case you're in a similar situation. My journey to solve a hard performance problem with a newish language feature: asynchronous streams. Explains what asynchrnous streams are, and shows a real world prob...

Tagi: FileStream
Dziel się z innymi:
Stop Saving to Disk with C# Asynchronous Streams - CodeProject

Sztuka programowania 1234 dni, 3 godziny, 36 minut temu Piotr Stapp 66 źrodło rozwiń

Recently, I had to convert an SVG file to PNG. I tried a few free online converters, but none of them were able to convert the image correctly. Indeed, they don't support custom fonts… Instead of wasting more time at searching for an existing tool, I opened Visual Studio and I made a quick application to convert my images!

Tagi: dotnet
Źródło: www.meziantou.net
Dziel się z innymi:
Convert SVG files to PNG or JPEG using .NET - Meziantou's blog

Inne 1238 dni, 6 godzin, 37 minut temu Piotr Stapp 32 źrodło rozwiń

In .NET there are multiple ways to check if a value is null. But all of them are not equivalent. Let's look at the different ways to check if an object is null:

Tagi: null-check
Źródło: www.meziantou.net
Dziel się z innymi:
Different ways to check if a value is null in C# - Meziantou's blog

Sztuka programowania 1238 dni, 6 godzin, 37 minut temu Piotr Stapp 99 źrodło rozwiń

Laurent April 15th, 2021 Hi! I’m Laurent Ellerbach. I’m a Principal Software Engineer Manager at Microsoft working for the Commercial Software Engineering team. My team and I are doing co-engineering with our largest customers helping them in their digital transformation and focussing on Azure. I’m more focussing on Manufacturing industry and I’ve been involved in IoT for a very long time. I’ve been a contributor to .NET IoT and quickly became one of the main contributors which drove me to work very cl...

Dziel się z innymi:
Show dotnet: Build your own unit test platform? The true story of .NET nanoFramework. | .NET Blog

Inne 1238 dni, 6 godzin, 37 minut temu Piotr Stapp 38 źrodło rozwiń

content Videos Content Index Board Games Photography

Tagi: inne
Źródło: martinfowler.com
Dziel się z innymi:
Hybrid Clock - Martin Fowler

Inne 1239 dni, 6 godzin, 9 minut temu Piotr Stapp 51 źrodło rozwiń

The other day at work I ran into an attribute I hadn't heard about, the [Conditional] attribute. In this post I start by describing conditional compilation using pre-processor directives like #if, and then introduce the [Conditional] attribute, and describe how it differs to using #if.Conditional compilation with #if With the release of .NET Core 5 years ago (has it really been that long?!) the need to multi-target .NET libraries and applications became more prominent. As the early versions of .NET...

Tagi: compiler
Źródło: andrewlock.net
Dziel się z innymi:
Conditional compilation for ignoring method calls with the ConditionalAttribute

Inne 1239 dni, 6 godzin, 9 minut temu Piotr Stapp 19 źrodło rozwiń

michielpost.nl Personal blog of Michiel PostcategoriesblockchainblazorauthorMichielpublishedcategoriesblazor Blazor WebAssembly apps can become pretty large (10+ MB), every Blazor app includes the dotnet runtime compatible with WebAssembly, and of course all of your app's dependencies. Microsoft is working on getting the download size as small as possible, with techniques like tree shaking. This means that unused code won't be included in the Release build. But there are also some things we can do ou...

Tagi: Blazor
Dziel się z innymi:
Reducing Blazor WebAssembly download size | michielpost.nl

Inne 1240 dni, 6 godzin, 7 minut temu Piotr Stapp 29 źrodło rozwiń

1 2 3 4 5 6 7 8... 16 17