It had been a couple of month since I embark in the journey of mixing AngularJS with MVC. Before then, I have utilized AngularJS to render certain view containers here and there. However, for the first time I was after a fully functional AngularJS app, yet with MVC server side. I wanted to use the fully functional Form Authentication MVC template, and make an AngularJS application ready to go with form authentication in no time.
This task introduced two main challenges. First, we have to make the client side fully aware of the authentication and have Angular preserve state – so even as the page refreshes Angular shall response as authenticated. This is inherit function in a MVC Razor app but not necessarily in an Angular application. Secondly, client side authentication – No-Oauth - is not the most secure, we could end up with a cross site request forgery attack. So what I needed was an Anti-Forgery Token, MVC Form Authentication AngularJS app.
Read the rest of entry »
Get the latest updates in your email box automatically.
is a Software Developer base in Omaha, NE with a passion for emerging web technologies and the .NET framework; with a master degree in science of Information technology management (MS-ITM) and a master in business administration (MBA), with concentration in finance from Creighton University.
Do developers know a hybrid app when they see one?.
@MongoDB Fun with MongoDB and the Facebook Graph API.
The 9 Most Common Mistakes Of First-Time Entrepreneurs
AngularJS and MVC Forms Authentication
It had been a couple of month since I embark in the journey of mixing AngularJS with MVC. Before then, I have utilized AngularJS to render certain view...
UI Credit Card Receiver
Imputing credit card information has always been plain and one of the less engaging transactions. Thankfully it is nice to see the craft of CSS magic applied...