Skip to content

ashwinsangem/dotnetted

 
 

Repository files navigation

dotnetted

This repo contains various sample projects built for .NET Core.
To deploy these to azure (web apps for now), deployer.bat is added. (Works on windows machine only)

How to deploy to your existing azure web app?

Pre-requisites

  • Local machine must be a windows machine (windows 10),
  • .NET Core SDK (LTS 3.1) must be installed on the machine,
  • Node.js must be installed on the machine

Setting deployer.bat for your scenario

Open the deployer.bat in an editor of your choice, set the values of following variables as per your requirement -

  • If you want to conncet to Az using SPN,
    • spn_id=SPN Client ID
    • spn_secret=SPN Client Secret
    • tenant_id=Tenant ID
  • If you want to connect to Az with your account, replace az login --service-principal -u %spn_id% -p %spn_secret% --tenant %tenant_id% with az login
  • In either case, resource_group=Resource group name

Deploying to Azure with deployer.bat

Go to root folder (dotnetted), open command prompt and run -
deployer project-folder-name webappname

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 34.8%
  • TypeScript 25.4%
  • HTML 19.3%
  • JavaScript 14.0%
  • CSS 5.8%
  • Batchfile 0.7%