I am carrying out a project called Trenify, to make groups and be able to enjoy Renfe’s table fares.
The basic mechanics are that you sign up for the trains you could travel on and when there are four people willing to travel on that train it will bring you together to buy the ticket. The notification mechanism will be through Email or Facebook.
The website is made in ASP .NET MVC implementing Identity for identity management. A good technology from Microsoft, to have a login with Facebook, Twitter or Google+, password recovery, confirmation, verification in 2 steps etc in a few minutes. In case you are interested I leave you the information of their official website
Compilation of tutorials to achieve all this#
- If you don’t have one, create an Azure account (it’s free for trials and small things but not for sites with SSL certificate)
- Although if you are an entrepreneur or a Startup, you may be able to get a BizSpark account](http://www.microsoft.com/bizspark “BizSpark”)[ all the benefits of all Microsoft products (free and legal) and €110 free per month to spend on Azure, the url to sign up is THIS
Create an Azure Web Site
- **** You can do this from Visual Studio as indicated HERE
- Or from the Azure portal itself, how it is explained HERE
Now you will need to create a new ASPNET MVC project to configure Facebook, Google +, Twitter etc as explained HERE with screenshots
Azure gives you a xxxxx.com domain, but you probably want a top-level **** one
Go Daddy is now offering .com domains on promotion at €1.49 you can sign up for one by clicking HERE (it seems incredible, but it works for 1 year)#
To set up your brand new xxxxx.com domain in Azure you must follow the steps indicated HERE for Go Daddy
You may want to have your page also your website as a Facebook page and/or App, for this you will need an SSL **** certificate
You’ll need a domain-specific SSL certificate
You will receive an email from COMODO, to confirm the SSL certificate,
\* UPDATE (Go to the end of the article for updated information) This will then be detected by MrDomain and when you enter your panel you will be able to download a package with everything you need
- Key file
- Certified for your site
- Certificate from a Certificate Authority (CA)
Download OpenSSL for Windows/LINUX/MAC
- I put the download for Windows because if we use ASPNET MVC, that’s what we’ll be using
- Click HERE (Win32OpenSSL) to download
Realiza los siguientes pasos //Copia los archivos (certificate.key,certificate.key,certificate.key) a C:OpenSSL-Win32bin //Ahora Inicio //cmd.exe (En modo administrador) //Navega a C:OpenSSL-Win32bin C:OpenSSL-Win32bin>openssl pkcs12 -export -out certificate.pfx -inkey certificate.key -in certificate.crt -certfile certificate.ca.crt //Introduce un password y su confirmaciónIn the C:OpenSSL-Win32bin folder, a .pfx file will have been created that you will have to upload to Azure
Follow the steps HERE (“Configure SSL” section)
Now you need to configure your Facebook page/app to use SSL as it says HERE
You’re done!
NOTE: The links are not sponsored, so I don’t gain anything from all this, but I thought it was a good offer and I think it can be useful :D
\* UPDATE: MrDomain will detect the certificate and when you click on other formats, select “PFX/PKCS#12”, it will ask you for a password, (you can enter it or not). Download the file and upload it to Azure







