Code Monkey home page Code Monkey logo

prowebapi.samples's Introduction

prowebapi.samples's People

Contributors

tugberkugurlu avatar aliostad avatar alexzeitler avatar

Stargazers

 avatar  avatar Kiarash Soleimanzadeh avatar Daniel Auger avatar Chris Missal avatar  avatar

Watchers

Mike Surface avatar  avatar  avatar James Cloos avatar  avatar

prowebapi.samples's Issues

Development Workflow

/cc: @AlexZeitler

What should we have as a development workflow for the individual chapter source code (not for the sample application)? Here is what I think:

  • The master branch of this repository is the stable branch.
  • We should work on so-called feature branches. E.g: Ch11-AuthFilterProject. Every feature branch should be branched off of master branch.
  • When the code under a feature branch is ready, we can follow the below approach:
    • You can send a PR from your forked repo by targeting tugberkugurlu:master branch. Then, I will merge it into master branch (We both have push and pull rights to tugberkugurlu/ProWebAPI.Samples project but it is better if one person is responsible for merging).
    • Since I don't have a chance to fork this repo, I will directly merge from my feature branch into master.
    • Before sending a PR, we should always pull from tugberkugurlu:master to keep our feature branch up to date.
    • After the merge, we can delete the feature branch or keep it. That doesn't matter much.

At the end, we won't struggle much and just give the zipped version of master branch.

HttpClient & HTTPS

As long as the base address uses https://, is all the data (to and from the server) encrypted with HttpClient (assuming the remote http service's certificate is valid)? Do we need to act specifically to enable that?

Any idea?

How should we structure the samples project

/cc: @AlexZeitler

As we need to provide the source code which we use inside the book, we should structure it in a way that it can be easily found.

  • We can create separate folders for each chapter and under that folder, separate solutions for each project which is used inside that chapter. On the other hand, as ASP.NET Web API ships through NuGet, we might end up with lots of duplicate package files since we have separate solutions.
  • We might have one solution for whole book, and separate the chapters with solution folders. The disadvantage of this way is that one needs to open the whole solution (which will take time as the project grows) even if s/he wants to work with only one project inside it.

Here you can download the source code for the Pro ASP.NET MVC book unde Source Code/Downloads section. They used separate solutions approach but at the time which that book was written, ASP.NET MVC was inside the GAC and not lots of NuGet package files.

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.