What is .NETโ
What's C# and F#โ
What's the .NET Ecosystemโ
What can .NET buildโ
Learn what is .NET from Scott Hanselman! โ
[ Youtube ] : https://www.youtube.com/watch?v=bEfBfBQq7EE
ใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธ
#DotNet #CSharp
@ProgrammingTip
What's C# and F#โ
What's the .NET Ecosystemโ
What can .NET buildโ
Learn what is .NET from Scott Hanselman! โ
[ Youtube ] : https://www.youtube.com/watch?v=bEfBfBQq7EE
ใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธ
#DotNet #CSharp
@ProgrammingTip
YouTube
What is .NET? What's C# and F#? What's the .NET Ecosystem? .NET Core Explained, what can .NET build?
What is .NET? What is C# and F#? What is .NET Core? What's the .NET Ecosystem? What can you build? You have questions and we have answers. More videos at https://dot.net/videos
Looking inside ConfigurationManager in .NET 6 โ
However ConfigurationManager is very much an implementation detail. It was introduced to optimise a specific scenario (which I'll describe shortly), but for the most part, you don't need to (and won't) know you're using it.
In this post, We take a look at the ConfigurationManager class, why it was added, and some of the code used to implement it.
[ Article ] : https://kutt.it/cfg-mgr
ใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธ
#DotNet #AspNetCore
@ProgrammingTip
ConfigurationManager was added to support ASP.NET Core's new WebApplication model, used for simplifying the ASP.NET Core startup code. ๐งนHowever ConfigurationManager is very much an implementation detail. It was introduced to optimise a specific scenario (which I'll describe shortly), but for the most part, you don't need to (and won't) know you're using it.
In this post, We take a look at the ConfigurationManager class, why it was added, and some of the code used to implement it.
[ Article ] : https://kutt.it/cfg-mgr
ใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธ
#DotNet #AspNetCore
@ProgrammingTip
Telegram
Programming Tips Resources
Nuke Build ๐
As C# developers, we are spoiled with a great language and awesome IDEs.
Why do most automation systems never really match the level of convenience and integration that we're used to?
NUKE is different. ๐
It is fully based on C# console applications and uses the type system to its full extent.
You want your auto-completion, package management, debugging, refactorings, formatting, and navigation back? Itโs available right thereโ๏ธ
[ Website ] : https://nuke.build/
[ GitHub ] : github.com/nuke-build/nuke
ใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธ
#CSharp #Dotnet #BuildSystem
@ProgrammingTip
As C# developers, we are spoiled with a great language and awesome IDEs.
Why do most automation systems never really match the level of convenience and integration that we're used to?
NUKE is different. ๐
It is fully based on C# console applications and uses the type system to its full extent.
You want your auto-completion, package management, debugging, refactorings, formatting, and navigation back? Itโs available right thereโ๏ธ
[ Website ] : https://nuke.build/
[ GitHub ] : github.com/nuke-build/nuke
ใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธ
#CSharp #Dotnet #BuildSystem
@ProgrammingTip
Telegram
Programming Tips Resources
Source Link ๐
Source Link is a language- and source-control agnostic system for providing first-class source debugging experiences for binaries.
The goal of the project is to enable anyone building NuGet libraries to provide source debugging for their users with almost no effort.
Microsoft libraries, such as .NET Core and Roslyn have enabled Source Link.
Source Link is supported by Microsoft. โ
ใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธ
#DotNet #CSharp #Debugging
@ProgrammingTip
Source Link is a language- and source-control agnostic system for providing first-class source debugging experiences for binaries.
The goal of the project is to enable anyone building NuGet libraries to provide source debugging for their users with almost no effort.
Microsoft libraries, such as .NET Core and Roslyn have enabled Source Link.
Source Link is supported by Microsoft. โ
ใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธ
#DotNet #CSharp #Debugging
@ProgrammingTip
Telegram
Programming Tips Resources
ChilliCream GraphQL Platform ๐ถ
The ChilliCream GraphQL Platform, at its core, is a new way to create powerful Backends. HotChocolate, .NET GraphQL server, connects any service or data source and creates a cohesive service to offer your consumers a unified API. ๐
Hot Chocolate: GraphQL server to create GraphQL endpoints and merge schemas. โ
Banana Cake Pop: GraphQL IDE to explore, request and analyze any GraphQL endpoint. ๐
Strawberry Shake: GraphQL client to fetch data from any GraphQL endpoint. ๐
Green Donut: DataLoader to solve the N+1 problem. ๐
[ GitHub ] : github.com/ChilliCream/hotchocolate
ใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธ
#GraphQL #DotNet #AspNetCore
@ProgrammingTip
The ChilliCream GraphQL Platform, at its core, is a new way to create powerful Backends. HotChocolate, .NET GraphQL server, connects any service or data source and creates a cohesive service to offer your consumers a unified API. ๐
Hot Chocolate: GraphQL server to create GraphQL endpoints and merge schemas. โ
Banana Cake Pop: GraphQL IDE to explore, request and analyze any GraphQL endpoint. ๐
Strawberry Shake: GraphQL client to fetch data from any GraphQL endpoint. ๐
Green Donut: DataLoader to solve the N+1 problem. ๐
[ GitHub ] : github.com/ChilliCream/hotchocolate
ใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธ
#GraphQL #DotNet #AspNetCore
@ProgrammingTip
Telegram
Programming Tips Resources
aspnetcore-developer-roadmap.png
606.9 KB
ASP.NET Core Developer Roadmap in 2023 ๐
Roadmap to becoming an ASP.NET Core developer in 2023 ๐
[ GitHub ] : https://github.com/MoienTajik/AspNetCore-Developer-Roadmap
ใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธ
#AspNetCore #DotNet #DotNetCore #CSharp
@ProgrammingTip
Roadmap to becoming an ASP.NET Core developer in 2023 ๐
[ GitHub ] : https://github.com/MoienTajik/AspNetCore-Developer-Roadmap
ใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธ
#AspNetCore #DotNet #DotNetCore #CSharp
@ProgrammingTip
Please open Telegram to view this post
VIEW IN TELEGRAM
WireMock.NET ๐ฎ
WireMock.NET is a .NET library for stubbing and mocking HTTP services. With WireMock.NET, you can define the expected responses for particular requests, and the library will intercept and manage those requests for you.โ๏ธ
This allows for easy testing of the code that makes HTTP requests, without having to rely on the actual external service being available and without hacking HttpClient.๐
Sample code snippet:
ใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธ
#UnitTest #DotNet #CSharp
@ProgrammingTip
WireMock.NET is a .NET library for stubbing and mocking HTTP services. With WireMock.NET, you can define the expected responses for particular requests, and the library will intercept and manage those requests for you.
This allows for easy testing of the code that makes HTTP requests, without having to rely on the actual external service being available and without hacking HttpClient.
Sample code snippet:
[Test][ Blog ] : https://cezarypiatek.github.io/post/mocking-outgoing-http-requests-p1
public async Task sample_WireMock_usage()
{
// Setup WireMock.Net server
using var wireMock = WireMockServer.StartWithAdminInterface(port: 1080, ssl: false);
// Setup WebApplicationFactory
await using var appFactory = new WebApplicationFactory<Program>().WithWebHostBuilder(builder =>
{
builder.ConfigureAppConfiguration(configurationBuilder =>
{
// Override downstream service addresses pointing to WireMock address
configurationBuilder.AddInMemoryCollection(new Dictionary<string, string>
{
["ExternalServices:WeatherService"] = "https://localhost:1080"
});
});
});
// Prepare stub for outgoing request
wireMock
.Given(
Request.Create()
.WithPath("/api/v1.0/weather")
.WithParam("lat", "10.99")
.WithParam("lon", "44.34")
.UsingGet()
)
.RespondWith(
Response.Create()
.WithStatusCode(200)
.WithHeader("Content-Type", "application/json; charset=utf-8")
.WithBodyAsJson(new
{
temp = 298.48,
feels_like = 298.74,
temp_min = 297.56,
temp_max = 300.05,
pressure = 1015,
humidity = 64
})
);
// Automate tested app
}
ใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธใฐ๏ธ
#UnitTest #DotNet #CSharp
@ProgrammingTip
Please open Telegram to view this post
VIEW IN TELEGRAM
Telegram
Programming Tips Resources