GithubHelp home page GithubHelp logo

clairernovotny / aspnetcorecloudservice Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 4.0 563 KB

Sample on how to use ASP.NET Core on Azure Cloud Services

Home Page: https://oren.codes/2017/10/16/using-asp-net-core-with-azure-cloud-services/

License: MIT License

C# 57.96% CSS 8.30% JavaScript 0.11% Batchfile 10.24% PowerShell 11.76% HTML 11.62%

aspnetcorecloudservice's People

Contributors

sayedihashimi avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

aspnetcorecloudservice's Issues

Template updates needed

I reviewed your template and have the following comments.

  • template.json should define guids which need to be replaced. You should include every <ProjectGuid> from .*proj files. You can use this PowerShell statement to find all guids Get-ChildItem .\ * -Recurse -File|Select-String '[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}'.
  • Add <!--/-:cnd:noEmit --> at the top of all MSBuild files (.*proj files), see (this comment)[https://github.com/dotnet/templating/issues/1195#issuecomment-321344890] for more info
  • After creation there is a LICENSE file with your name on it. The file should either not be dropped or your name should be removed at least.

Some other things I noticed

One other thing to consider. I noticed that you included the launchSettings.json file. I'm guessing this is because you wire up the projects to talk to each other via their specific ports. One drawback from this approach is that the same port numbers will be used. This should work fine in most cases so it's not a big deal. If a user has two different instances of VS with a different solution in each only one of them will run at a time. I think we have all the features you would need to generate a new port number and then include that as a replacement into the launchSettings.json, see https://github.com/dotnet/templating/wiki/Reference-for-available-macros.

Dead web hosting link.

The web hosting link in startup.ps1 now returns a 404. I updated to https://download.microsoft.com/download/1/1/0/11046135-4207-40D3-A795-13ECEA741B32/DotNetCore.2.0.5-WindowsHosting.exe. I did try and create a pull request but it seems the repo is locked down.

I also found an issue with having to revert the Microsoft.AspNetCore.All version back to 2.0.0 in the web project (.csproj) as per this thread and Mcafee123's answer - https://github.com/dotnet/coreclr/issues/13542.

Anyway thanks and great blog post!!

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.