Comments (2)
Hi,
You are right, if you are using localhost then you need to run both projects on the same time, they are two separate projects hosted locally on different ports.
All you need to do is to right click on project .API and choose "Debug" --- > "Start New Instance" and the same applies to the .Web project.
Hope this answers your questions.
Date: Fri, 25 Jul 2014 15:59:38 -0700
From: [email protected]
To: [email protected]
Subject: Re: [AngularJSAuthentication] Congratulations on This Repo (#1)
After a couple of days wrangling, i realized that I do not understand how this application works. While every verification presented in the first two articles worked fine (registering a new user using Postman, login of that user using postman returned the bearer token, etc) once I tried to run the whole application as defined after the Step 10 in the second article - I realized that I do not know which of the two projects:
should be set as a startup project??
One would expect that the execution starts with AngularJSAuthentication.Web - so that everything get's activated as the consequence of parsing the SPA view (index.html). However, once I enter the data to register the first account, I get
This is of course correct exception as the ..../register API is in the AngularJSAuthentication.Web project and thus inacessible.
Is this application expected to be run as two independent IIS hosted apps (using Owin)?
—
Reply to this email directly or view it on GitHub.
from angularjsauthentication.
Hi trooks1017,
Thanks for taking the time to read the posts and drop a comment.
Regarding the service in run event you are absolutely right, I wanted to used Singleton pattern here.
from angularjsauthentication.
Related Issues (20)
- Bootstrap menu doesn't work HOT 3
- Cors Issue HOT 1
- if API is pointed to a Virtual directory, app.js controller were not firing because of lack of ./
- Hi Team, When I try to debug Katana source along with application - there are many build erros :(
- no controller handling for _login post request HOT 1
- string.Equals in AccountController will not match *
- Update to ASP.Net 5 MVC 6 HOT 4
- Problem with changing password when using AspNetIdentityDependencyInjectionSample
- Use this to create API keys
- how can i generate refresh token as well when i login with facebook?
- Race condition problem?
- Tried integrating Microsoft Live/ Twitter. Not able to validate access token. Any help would be greatly appreciated?
- Problem with type mismatch on Startup.cs HOT 2
- Use Refresh Tokens Option Not Working (No Error Displayed) HOT 4
- FacebookAuthProvider and GoogleAuthProvider HOT 2
- Not able to login with FAcebookOauth HOT 3
- License?
- API Project fails to load
- about ExpiresUtc HOT 1
- Checking user name of refresh token
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angularjsauthentication.