ITfoxtec.Identity.Saml2 compatibility with ASP Classic Project - itfoxtec-identity-saml2

I want to use ITfoxtec.Identity.Saml2 in a ASP Classic Project. Is it compatible?
Is there any another library that i can use with ASP Classic ?

I'm afraid that ITfoxtec Identity SAML 2.0 du not support Classic ASP.
The only component that I think possible could support Classic ASP is Bouncy Castle.

Related

ADAL, Angular and WEB API strategy

I am a Microsoft developer. Making an ASP.NET application with authentication to Azure AD is very easy. The traditional multi page application with Vue (as an example) can be created within two minutes (by using the Authentication wizard in Visual Studio). However watching some Angular and NPM videos I liked the CLI/npm approach. So I decided to build my next project using ADAL.js, ASP.NET Core API and Angular 6 (deploy to Azure web app). But I haven't been able to succeed, and have only been met by complexity and issues.
Is the combo of these three technologies just a bad mix, Visual Studio not suited for SPA, or have I just gotten a bad start? Any suggestions on a good setup? I am considering to split the API and front end in two apps, so I can use clean Angular without having to worry about who is building TypeScript (VS or Node) etc. But then I need two web apps, and have to worry about CORS. Any suggestions here, what is a good setup to get started?
I have followed a lot of articles like:
http://www.talkingdotnet.com/how-to-create-an-angular-6-app-with-visual-studio-2017/
https://www.npmjs.com/package/microsoft-adal-angular6
But all of them had issues.
Refer to this Microsoft published GitHub sample. This sample demonstrates the use of ADAL for JavaScript for securing an AngularJS based single page app, implemented with an ASP.NET Web API backend, that calls another ASP.NET Web API using CORS.
Call an Azure AD protected Web API in an AngularJS Single Page App

Single Page Application Authentication using Active Directory in Intranet

Is it possible to create a SPA using a JavaScript framework like Vue, React or Angular and secure it using Active Directory authentication? I've only seen Forms authentication examples.
Thanks for any help.
Yes. Windows authentication is performed by the web server (IIS or Apache, for example) so that's where you need to set it up. You can search Google for help on setting it up. There are lots of examples.
The framework behind the web server (Vue, React, Angular, etc.) isn't really relevant.

SPA pre-rendering in Asp.net core?

How do i implement prerenderio in asp.net core, for angular spa. Or is there any way that asp.net core has introduced to do this. Actually i am migrating my old asp.net to asp.net core.
There is a package offered by Microsoft which allows to pre-render/execute Nodejs/JavaScript on the server side, commonly known under "JavaScriptServices". You can find it on the ASP.NET team's GitHub repository.
There are different packages that build up on different packages. The Microsoft.AspNetCore.NodeServices is the base package, usually used for people who implement their own server-sided execution based on NodeJS. Then there is Microsoft.AspNetCore.SpaServices which is based on NodeServices and tailored for single plage applications (SPAs) and finally there is a Microsoft.AspNetCore.AngularServices package which provides Angular specific extensions and is based on SpaServices.
On the GitHub you can find examples, for example the MusicStore SPA with server-side rendering.

Can we use adal-angular for Mobile applications developed using Cordova?

I've used adal-angular for a web based Single page application. Can I use the same library for applications built using Cordova for ADAL Authentication?
That is not recommended, as ADAL JS is designed for handling the SPA case but is not supported for native clients. Furthermore, you'd suffer with sandboxing limitations that aren't strictly necessary when using Cordova. See the preview of our cordova plugin for ADAL instead: https://azure.microsoft.com/en-us/documentation/articles/active-directory-devquickstarts-cordova/

Salesforce: Can we customize with .Net?

I am being asked to make some developments on salesforce. Is there anyway to do it using .Net instead of Apex?
It depends on exactly what you're trying to do, there are Web Services APIs you can call from .NET, but you can not run native .NET code on the salesforce servers.

Resources