| 

.NET C# Java Javascript Exception

C# Blogs & News

Auf dieser Seite befinden sich alle C# Blogs & News. Weitere Themen findest du mit der Suche rechts oben, z.B. [csharp] .net um alle News zum Thema csharp mit dem Wort ".net" zu finden.

Stelle deine C#-Frage jetzt!
6

ASP.​NET Core on .NET 7.0 - File upload and streams using Minimal API

It seems the Minimal API that got introduced in ASP.NET Core 6.0 will now be finished in 7.0. One feature that was heavily missed in 6.0 was the File Upload, as well as the possibility to read the request body as a stream. Let's have a look how this would look alike. The Minimal API Creating endpoints using the Minimal API is great for beginners, or to create small endpoints like for ...
.net asp.net csharp visual-studio
01.04.2022 | 387 1 | Jürgen Gutsch
11

How to use IE proxy settings with HttpClient

Internet Explorer is - mostly - dead, but some weird settings are still around and “attached” to the old world, at least on Windows 10. If your system administrator uses some advanced proxy settings (e.g. a PAC-file), those will be attached to the users IE setting. If you want to use this with a HttpClient you need to code something like this: string target ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
29.03.2022 | 362 3 | Code-Inside Blog
4

ASP.NET Core on .NET 7.0 - Roadmap, preview 1 and file upload in minimal APIs

I really like the transparent development of .NET and ASP.NET Core. It is all openly discussed publicly announced on GitHub and developer blogs. Same with the the first preview version of .NET 7.0 which is released just a couple of days ago. Three months after .NET 6.0 was released. This is thee chance to have the first glimpse at ASP.NET Core 7.0 which will be released beginning of ...
.net asp.net csharp visual-studio
21.02.2022 | 523 5 | Jürgen Gutsch
8

20 years of .NET

.NET turns 20 years old today and it is just kind of ... wow! Yes, the 20-year celebration was was announced for a couple of weeks now, but I didn't really care until I started to think about it. I didn't really plan to write about it but the more I think about the last 20 years... you know... And you are completely free to read it. :-D Because 20 years of .NET also means to me writing software ...
.net asp.net csharp visual-studio
14.02.2022 | 430 3 | Jürgen Gutsch
8

Redirect to HTTPS with a simple web.config rule

The scenario is easy: My website is hosted in an IIS and would like to redirect all incomming HTTP traffic to the HTTPS counterpart. This is your solution - a “simple” rule: ?xml version "1.0" encoding "UTF-8"? configuration system.webServer rewrite rules rule name "Redirect to https" stopProcessing "true" match url ".*" / conditions logicalGrouping "MatchAny" add input ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
06.01.2022 | 548 4 | Code-Inside Blog
13

Customizing ASP.NET Core 6.0 - The second edition

Just a couple of days ago, the second edition of my book Customizing ASP.NET Core got released by Packt The second edition is updated to .NET 6 and includes three new chapters. I also put the chapters into a more logical order :-D This is the nee table of contents: Customizing Logging Customizing App Configuration Customizing Dependency Injection Configuring and Customizing ...
.net asp.net csharp visual-studio
04.01.2022 | 519 4 | Jürgen Gutsch
7

New blog sponsor - YOO inc.

I warmly welcome the YOO Inc. as a new sponsor of my blog: The YOO Inc., is located in Basel, Switzerland and serves national as well as international clients and specializes in creating custom digital solutions for distinct business needs. Actually, YOO Inc. is the first official Sponsor of my blog and is sponsoring for a few months already but I got that cool banner just a few weeks ...
.net asp.net csharp visual-studio
01.01.2022 | 472 20 | Jürgen Gutsch
8

Select random rows

Let’s say we have a SQL table and want to retrieve 10 rows randomly - how would you do that? Although I have been working with SQL for x years, I have never encountered that problem. The solution however is quite “simple” (at least if you don’t be picky how we define “randomness” and if you try this on millions of rows): ORDER BY NEWID() The most boring way is to use the ORDER BY NEWID() ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
07.12.2021 | 571 2 | Code-Inside Blog
6

SQL collation problems

This week I deployed a new feature and tried it on different SQL databases and was a bit suprised that on one database this error message came up: Cannot resolve the collation conflict between "Latin1_General_CI_AS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation. This was strange, because - at least in theory - all databases have the same schema and I was sure that ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
25.11.2021 | 589 4 | Code-Inside Blog
6

Microsoft Build 2021 session recommendations

To be fair: Microsoft Build 2021 was some month ago, but the content might still be relevant today. Sooo… it took me a while, but here is a list of sessions that I found interesting. Some sessions are “better” and some “lighter”, the order doesn’t reflect that - that was just the order I watched those videos. The headline has a link to the video and below are some notes. Build ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
25.09.2021 | 760 3 | Code-Inside Blog
3

Do you know the GitHub Advisory Database?

For a while, I'm trying to get into the topics of application security. Application security is a really huge area and covers a lot of topics. It contains user authentication as well as CORS, various kinds of injections, and many other errors you can do during development. One of the huge topics is about possible vulnerabilities in dependencies. Almost every developer is using ...
.net asp.net csharp visual-studio
22.09.2021 | 916 4 | Jürgen Gutsch
4

ASP.​NET Core in .NET 6 - Async streaming

This is the next part of the ASP.NET Core on .NET 6 series. In this post, I'd like to have a look into async streaming. Async streaming basically means the usage of IAsyncEnumerable IAsyncEnumerable Async streaming is now supported from the controller action down to the response formatter, as well as on the hosting level. This topic is basically about the IAsyncEnumerable T . This ...
.net asp.net csharp visual-studio
02.09.2021 | 936 2 | Jürgen Gutsch
8

ASP.NET Core in .NET 6 - Introducing minimal APIs

This is the next part of the ASP.NET Core on .NET 6 series. In this post, I'd like to have a look into minimal APIs. With the preview 4, Microsoft simplified the simplest project template to an absolute minimum. Microsoft created this template to make it easier for new developers to start creating small microservices and HTTP APIs. When I saw the minimal APIs the first time some months ...
.net asp.net csharp visual-studio
17.08.2021 | 1037 2 | Jürgen Gutsch
10

ASP.​NET Core in .NET 6 - Shadow-copying in IIS

This is the next part of the ASP.NET Core on .NET 6 series. In this post, I'd like to explore the Shadow-copying in IIS. Since .NET is locking the assemblies that are running by a process, it is impossible to replace them during an update scenario. Specially in scenarios where you self-host an IIS server or where you need to update an running application via FTP. To solve this, ...
.net asp.net csharp visual-studio
19.07.2021 | 1002 1 | Jürgen Gutsch
7

ASP.​NET Core in .NET 6 - HTTP/3 endpoint TLS configuration

This is the next part of the ASP.NET Core on .NET 6 series. In this post, I'd like to have a look at the .NET 6 support for Hot Reload. In the preview 3, Microsoft started to add support for Hot Reload, which automatically gets started when you write dotnet watch . The preview 4 also includes support for Hot Reload in Visual Studio. Currently, I'm using the preview 5 to try Hot Reload. ...
.net asp.net csharp visual-studio
12.07.2021 | 904 4 | Jürgen Gutsch
10

ASP.​NET Core in .NET 6 - HTTP/3 endpoint TLS configuration

This is the next part of the ASP.NET Core on .NET 6 series. In this post, I'd like to have a look into HTTP/3 endpoint TLS configuration. In the preview 3, Microsoft started to add support for HTTP/3 which brings a lot of improvements to the web. HTTP3 brings a faster connection setup as well as improved performance on low-quality networks. Microsoft now adds support for HTTP/3 as well ...
.net asp.net csharp visual-studio
05.07.2021 | 924 4 | Jürgen Gutsch
6

ASP.​NET Core in .NET 6 - Preserve prerendered state in Blazor apps

This is the next part of the ASP.NET Core on .NET 6 series. In this post, I'd like to have a look into preserve prerendered state in Blazor apps. In Blazor apps can be prerendered on the server to optimize the load time. The app gets rendered immediately in the browser and is available for the user. Unfortunately, the state that is used on while prerendering on the server is lost on the ...
.net asp.net csharp visual-studio
05.07.2021 | 661 1 | Jürgen Gutsch
4

ASP.​NET Core in .NET 6 - Preserve prerendered state in Blazor apps

This is the next part of the ASP.NET Core on .NET 6 series. In this post, I'd like to have a look into preserve prerendered state in Blazor apps. In Blazor apps can be prerendered on the server to optimize the load time. The app gets rendered immediately in the browser and is available for the user. Unfortunately, the state that is used on while prerendering on the server is lost on the ...
.net asp.net csharp visual-studio
30.06.2021 | 802 1 | Jürgen Gutsch
9

ASP.​NET Core in .NET 6 - Preserve prerendered state in Blazor apps

This is the next part of the ASP.NET Core on .NET 6 series. In this post, I'd like to have a look into preserve prerendered state in Blazor apps. In Blazor apps can be prerendered on the server to optimize the load time. The app gets rendered immediately in the browser and is available for the user. Unfortunately, the state that is used on while prerendering on the server is lost on the ...
.net asp.net csharp visual-studio
15.06.2021 | 995 1 | Jürgen Gutsch
10

ASP.​NET Core in .NET 6 - Part 09 - Infer component generic types from ancestor components

This is the ninth part of the ASP.NET Core on .NET 6 series. In this post, I'd like to have a look into the inferring of generic types from ancestor components. In Blazor generic ancestor components need to have the generic type defined in the markup code, until yet. With the preview 2 of .NET 6 ancestor components can infer the generic type from the parent component. In the ...
.net asp.net csharp visual-studio
01.06.2021 | 947 3 | Jürgen Gutsch
8

Today I learned (sort of) 'fltmc' to inspect the IO request pipeline of Windows

The headline is obviously a big lie, because I followed this twitter conversation last year, but it’s still interesting to me and I wanted to write it somewhere down. Starting point was that Bruce Dawson (Google programmer) noticed, that building Chrome on Windows is slow for various reasons: Based on some twitter discussion about source-file length and build times two months ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
31.05.2021 | 873 4 | Code-Inside Blog
4

ASP.​NET Core in .NET 6 - Part 08 - CSS isolation for MVC Views and Razor Pages

This is the eighth part of the ASP.NET Core on .NET 6 series. In this post, I'd like to have a quick into the support for SS isolation for MVC Views and Razor Pages. Blazor components already support CSS isolation. MVC Views and Razor Pages now do the same. Since the official blog post shows it on Razor Pages, I'd like to try it in an MVC application. Trying CSS isolation for MVC Views At ...
.net asp.net csharp visual-studio
10.05.2021 | 769 2 | Jürgen Gutsch
5

ASP.NET Core in .NET 6 - Part 07 - Support for custom event arguments in Blazor

This is the seventh part of the ASP.NET Core on .NET 6 series. In this post, I want to have a quick into the support for custom event arguments in Blazor. In Blazor you can create custom events and Microsoft now added the support for custom event arguments for those custom events in Blazor as well. Microsoft added a sample in the blog post about the preview 2 that I like to try in a small ...
.net asp.net csharp visual-studio
04.05.2021 | 906 7 | Jürgen Gutsch
8

How to self host Google Fonts

Google Fonts are really nice and widely used. Typically Google Fonts consistes of the actual font file (e.g. woff, ttf, eot etc.) and some CSS, which points to those font files. In one of our applications, we used a HTML/CSS/JS - Bootstrap like theme and the theme linked some Google Fonts. The problem was, that we wanted to self host everything. After some research we discovered this ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
29.04.2021 | 810 7 | Code-Inside Blog
11

ASP.​NET Core in .NET 6 - Part 06 - Nullable Reference Type Annotations

This is the sixth part of the ASP.NET Core on .NET 6 series. In this post, I want to have a quick into the new Nullable Reference Type Annotations in some ASP.NET Core APIs Microsoft added Nullable Reference Types in C# 8 and this is why they applied nullability annotations to parts of ASP.NET Core. This provides additional compile-time safety while using reference types and ...
.net asp.net csharp visual-studio
22.04.2021 | 979 2 | Jürgen Gutsch
12345...46
RSS-Feed für alle News zum Thema .NET C# Java Javascript Exception

Auf codekicker.news findest Du die besten Blogs und Artikel für Softwareentwickler!
Leseliste

Interessante News gefunden, aber gerade keine Zeit? Klicke auf "Später lesen", um die News in deine Leseliste aufzunehmen.