You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
💻
Dilan Waduge
DilanLivera
💻
Enjoy coding and learning new technologies. ⌚️ enthusiast.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to enable W3C distributed tracing to ASP.Net Core application
How to enable W3C distributed tracing to ASP.Net Core application
.Net Activity library supports using W3C trace identifiers
publicclass Program
{publicstaticvoid Main(string[]args){
Activity.DefaultIdFormat = ActivityIdFormat.W3C;//need to apply this as soon as the application starts
CreateHostBuilder(args).Build().Run();
How to implement a custom health check response writer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to log WCF client requests and responses and Add MessageInspectors to EndpointBehaviour
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP triggers let you use API keys to block unknown callers by requiring the key to be present on each request. When you create a function, you select the authorization level. By default, it's set to "Function", which requires a function-specific API key, but it can also be set to "Admin" to use a global "master" key, or "Anonymous" to indicate that no key is required. You can also change the authorization level through the function properties after creation.
Since we specified "Function" when we created this function, we will need to supply the key when we send the HTTP request. You can send it
as a query string parameter named code, or as an HTTP header (preferred) named x-functions-key.
How to fix npm start not starting the React app issue
How to fix npm start not starting the React app issue
Context
npm start command does not start the react app after creating the react app using npx create-react-app my-app command or using
Visual Studio React templace for .Net Core