Coder Social home page Coder Social logo

usingrediswithazure's Introduction

DN6 Simple Web with Auth and Insights

This is a simple template with Auth and Insights for DotNet 6 MVC. I've also added app configuration and code to integrate Azure App Config and Azure Key Vault. If you try to use those, make sure to read all the notes in the Program.cs file. It would also help if you've seen the video from the Opsgility Azure A-Z conference.

Use at your own risk

We are not responsible for anything you do with this code.

Set Up the solution

You will need to add your Application insights at Azure and you will need to wire up the Instrumentation connection string.

Additionally, you will need SQL Developer locally, then you will need to do some configuration and create and wire up the SQLAzure at Azure.

Notes

Additional Thoughts

YAML

Use the sample YAML at your discretion.

You will want to update your user secret to map correctly for your publish profile and you will want to update the name of your azure web app

Developer Secrets

As you develop the solution, do not store your connection strings in the appsettings.json file.

Instead, put them in the user secrets.

You will likely want a separate instance of application insights for your developer from your web/slot in production in the real world. You could use the same one for demo/learning purposes.

usingrediswithazure's People

Contributors

blgorman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.