search
profile img

Bharat Dwarkani

Nov 02, 2019
bookmarks

linkwellsb.com

The best way to pass data between Blazor pages is by registering a singleton service and injecting it as a dependency onto the pages or components that need it. In this tutorial, you will create a C# class, register it as a service in your Blazor app, inject an instance of the service onto your pages, and use the service to share data across Blazor components.

share
favorite_border0 visibility1
favorite_border0 visibility1 share
bookmarks
profile img

Bharat Dwarkani

Nov 02, 2019
bookmarks

linkblog.codingmilitia.com

we’ll use xUnit and write some unit tests for the ProxiedApiRouteEndpointLookup we’ve played around with in the last episode. We’re not going into much complexity, if for nothing else, because the class we’ll be testing is rather simple. In future episodes, with more complex code to test, we’ll revisit the topic and look at some other testing possibilities/needs (e.g. mocking).

share
favorite_border0 visibility3
favorite_border0 visibility3 share
bookmarks
profile img

Bharat Dwarkani

Nov 02, 2019
bookmarks

linkaws.amazon.com

Real world Microsoft workloads have a lot of Web APIs that are native to Microsoft methods for serving front-end applications (like ASP.NET, ASP.NET Razor/MVC, ReactJS or Angular Application). Even though there are customers who want to try serverless with AWS Lambda, they often have to continue to maintain many existing .NET web APIs. These applications traditionally talk to Microsoft SQL Server database for CRUD operations. This blog is for application teams that are migrating from traditional

share
favorite_border0 visibility1
favorite_border0 visibility1 share
bookmarks
profile img

Bharat Dwarkani

Nov 02, 2019
bookmarks

linkalejof.dev

Deploying a simple aspnet Core 3.0 app using DockerHub and Azure

share
favorite_border0 visibility2
favorite_border0 visibility2 share
bookmarks
profile img

Bharat Dwarkani

Nov 02, 2019
bookmarks

linkvisualstudiomagazine.com

When it comes to controlling which users can access which functionality in a Blazor application you not only have access to all of the user’s authentication you can authorize the user’s actions without writing any code.

share
favorite_border0 visibility1
favorite_border0 visibility1 share
bookmarks
profile img

Bharat Dwarkani

Nov 02, 2019
bookmarks

linkdejanstojanovic.net

Whether you are doing micro-services or mid-size monolith applications that do not have to be too distributed, there is a big chance that you will depend on some external HTTP service. Whether it is REST, SOAP or any other type of the response, your application flow depends on it's response.

share
favorite_border0 visibility3
favorite_border0 visibility3 share
bookmarks
profile img

Bharat Dwarkani

Nov 02, 2019
bookmarks

linkchrissainty.com

In this post, I want to build on my last post, Introduction to Routing in Blazor, and take a deep dive into the nuts and bolts of routing in Blazor. We're going to look at each part of Blazor's routing model in detail, starting in the JavaScript world where navigation events are picked up. And following the code over the divide to the C# world, to the point of rendering either the correct page or the not found template.

share
favorite_border0 visibility2
favorite_border0 visibility2 share
bookmarks
profile img

Bharat Dwarkani

Nov 02, 2019
bookmarks

linkcode-maze.com

We are going to start by looking into what the AutoMapper is and what problem it solves. Then, we are going to explain how we can use AutoMapper in our application. After that, we’ll learn about the usage guidelines and best practices. We’ll also take a look at what’s happening behind the scenes and how to flatten complex object models.

share
favorite_border0 visibility3
favorite_border0 visibility3 share
bookmarks
profile img

Bharat Dwarkani

Nov 02, 2019
bookmarks

linkscottsauber.com

By default, JSON in ASP.NET Core will not be formatted at all. By that I mean, the JSON is returned without any spacing or formatting, and in the cheapest way possible (from a “bytes-sent-over-the-wire” perspective).

share
favorite_border0 visibility1
favorite_border0 visibility1 share
bookmarks
profile img

Bharat Dwarkani

Nov 02, 2019
bookmarks

linkdotnetcurry.com

With the release of ASP.NET Core v3.0, amongst many other features, gRPC has become a first-class citizen of the ecosystem with Microsoft officially supporting and embracing it.

share
favorite_border0 visibility1
favorite_border0 visibility1 share
bookmarks
add