search
Follow Topic rss_feed

Usually, when getting errors logged through MEL, all of the HTTP context data is logged as part of the error, making it easy to spot why an error happened or at least making it a lot easier recreating the error. Today's error didn't include much more information than an error message and a request-id.

Bharat Dwarkani shared on Jan 17, 2020
image
blog.elmah.io
bookmarks
share
favorite_border0 visibility2
favorite_border0 visibility2 share bookmarks

Passing parameters to actions is an essential part of building RESTful Web API. .Net Core offers multiple ways to pass parameters to methods, that represent your endpoints. Let’s see what they are.

Bharat Dwarkani shared on Jan 17, 2020
image
michalbialecki.com
bookmarks
share
favorite_border0 visibility4
favorite_border0 visibility4 share bookmarks

Properties, such as MVC-specific features like the action method ID, RazorPages Handler name, or the ModelValidationState are only available in an MVC context, so can't be directly accessed by Serilog's middleware. In this post, I show how you can create action/page filters to record these properties for you, which the middleware can access later when creating the log.

Bharat Dwarkani shared on Jan 17, 2020
image
andrewlock.net
bookmarks
share
favorite_border0 visibility15
favorite_border0 visibility15 share bookmarks

So, you started using ASP.NET Core and love the new hierarchical JSON-based settings. But now you realize that you need individual settings per developer on your team. In this post, you will learn the best way to achieve just that.

Bharat Dwarkani shared on Jan 17, 2020
image
dev.to
bookmarks
share
favorite_border0 visibility4
favorite_border0 visibility4 share bookmarks

ASOS (AspNet.Security.OpenIdConnect.Server) is an advanced OAuth2 for ASP.NET Core 1.x and 2.x. In this article, we explain the integration process of ASOS, corresponding to client_credentials and password grant types, to enable:

Bharat Dwarkani shared on Jan 17, 2020
image
syncfusion.com
bookmarks
share
favorite_border0 visibility2
favorite_border0 visibility2 share bookmarks

AutoMapper is well known in the .NET community. It bills itself as “a simple little library built to solve a deceptively complex problem - getting rid of code that maps one object to another,” and it does the job nicely.

Bharat Dwarkani shared on Jan 17, 2020
image
baldbeardedbuilder.com
bookmarks
share
favorite_border0 visibility8
favorite_border0 visibility8 share bookmarks

In this article, we’re going to see how to get the most information about the failed request. This includes the error code, the type of failure, the method where the exception occurred, the exception type, exception stack trace, local variables, and the exact line of code where the exception happened.

Bharat Dwarkani shared on Jan 17, 2020
image
michaelscodingspot.com
bookmarks
share
favorite_border0 visibility2
favorite_border0 visibility2 share bookmarks

Configuration is difficult, and confusing, and one of the first things to become a difficult thing to deal with once a project really starts to grow. Before you know it you have to store connection strings, api keys for multiple dependencies, logging settings and so on.

Bharat Dwarkani shared on Jan 16, 2020
image
corstianboerman.com
bookmarks
share
favorite_border0 visibility0
favorite_border0 visibility0 share bookmarks

Would you like to know how to create your own extension and publish your own template? If yes, the rest of the article is a step by step process on how to do that.

Bharat Dwarkani shared on Jan 07, 2020
image
link.medium.com
bookmarks
share
favorite_border0 visibility12
favorite_border0 visibility12 share bookmarks

Open-source projects are great for getting started and serve as a good source for architecture reference. There are several open-source ASP.NET Core projects available in GitHub. These projects will help you learn ASP.NET Core technology in-depth, with different types of architecture and coding patterns. Some of the top real-time applications or sample architecture reference projects across different categories are listed

Bharat Dwarkani shared on Dec 22, 2019
image
github.com
bookmarks
share
favorite_border0 visibility101
favorite_border0 visibility101 share bookmarks
add