Remove Header Info from Response in Asp.NET Web API 2

To solve this issue, there are few ways but I used these two; Global.asax.cs I added these lines to remove server and asp.net version in Application_EndRequest blocks. Web.config The other thing we wanted to remove was X-Powered-By header. I added these XML lines into the system.webServer section That’s all 🙂

Structuring Data Types in Rust

  Hi everyone. Before that, I wrote a post called A Slice of Rust: Working with the Slice Type. Today I’ll try to explain the structs in Rust Before starting, I’ll create a project with cargo; cargo new defining_and_instantiating_structs cd defining_and_instantiating_structs Introduction Have you worked with C like languages before? For example C’s itself or …

Rust’s Borrowing and Reference Laws

Hi everyone. Before that, I wrote a post called Ownership Concept in Rust. Today I’ll try to explain some of the features called borrowing and references. I called them laws in the title. Before starting, I’ll create a project with cargo; cargo new references_and_borrowing cd references_and_borrowing Introduction We’ve discussed the ownership concept in the last …

Ownership Concept in Rust

Hi everyone. Before that, I wrote a post called Control Flow Statements in Rust. Today we will see the ownership concept in Rust. Before I get started I have to say that it was really hard for me to understand. Before starting, I’ll create a project with cargo; cargo new understanding_ownership cd understanding_ownership Introduction Ummm, …