Integrating OpenID into a website's registration process - asp.net

I want to integrate the same registration process that Stack Overflow has into my website. Does anyone know if this is possible and any ways I can go about doing this?
I am using ASP.NET MVC for my site implementation. It would be awesome if someone could point me in the right direction with some examples etc.

You can find out how to use OpenID here.

There's also DotNetOpenAuth.
Edit:
Andrew Arnott also pointed out in the comments that there is a pretty awesome OpenID selector control available. The Stack Overflow question it relates to is here.
Thanks Andrew!

Related

Wordpress: fit for per-region website? Another better CMS?

I'm looking to help a friend who needs a website for his project. I know wordpress a little, but there might be better options.
The needs are:
- have a splash screen prompting for region (like this site)
- have some pages available only for a given region.
- allow the non-it guy to update the contents.
Wordpress is the only one I know as web design isn't my specialty. I'd have gone for a template like Avada, but again, better leads are more than welcome.
Thanks in advance for your inputs!
Ok, the downvote really helped me and certainly will help other users as there's no comment whatsoever explaining why this post is bad. Don't give leads or guidance by the way.
So, whatever. I found a solution to this. The following plugin works like a charm:
https://www.fla-shop.com/products/wp-plugins/world/continents/
A simple purchase gives total control and removes the watermark. The best part regarding my need was the capability to write custom callback code as explained in this article.
https://www.fla-shop.com/blog/adding-custom-javascript-to-the-map/

caching fault and advantage

I search a lot but cannot find complete answer or paper about caching.
I use asp.net 4.5 and work with 3 layers to create website.
I want to know about cach,types and fault,advantage.when I cach a usercontrol in asp.net what save in cach and other things.
I know primary about it but i want advanced.
please give me a link of Comprehensive and powerfull paper or article about it.
Thank you in advance.
Please check below link,
http://www.c-sharpcorner.com/UploadFile/2072a9/caching-in-Asp-Net/[^]
http://www.tutorialspoint.com/asp.net/asp.net_data_caching.htm
Caching in ASP.NET

Implementing Google Accounts' OpenID like Stackoverflow

Firstly, This question may be asked. But I could not get the information i am looking for.
I am creating a website which should take to google.com where the user enters his account information and it redirect back to my website similar to how stack over flow is doing when we click on gmail image.
I am trying to implement a website in .net.
Please list a step by step procedure to implement it or suggest some documentation to follow.
I clearly dont want other types of openID implemention where u enter the open id and pick ur open id provider.
Thanks in advance.
Check out below articles:
http://www.code-magazine.com/Article.aspx?quickid=0907061
http://www.west-wind.com/weblog/posts/899303.aspx
Both has shown example using DotNetOpenAuth - The former list other library named ExtremeSwank.
I used www.janrain.com and it was simple enough to do.
It also has the advantage of allowing you to use other vendors without any extra - not only gmail.
Oh, and it's free!

asp.net web application

i am new for asp.net. i want to develop a simple web application(asp.net+c#) which display
questions and multiple choice answers and calculate result. i want to know which one is the best way for me to do it.
i want to use linq to sql.
please guide me.
thanks in advance and sorry if you feel my question style is bad.
Here is where you can start
http://www.asp.net/get-started
http://www.asp.net/web-forms
http://www.asp.net/mvc
http://www.codeproject.com/KB/aspnet/
Start by this examples...
Oh and here is something very close to what you ask
http://www.codeproject.com/KB/aspnet/MultipleChoiceExam.aspx

Example website login/registration code?

I am looking at building the login/registration part of a website (ASP.NET) and would like to see some example code or instructions on how to do this properly. For example, how to correctly use cookies and how to encrypt what is stored in the cookie to ensure the session persists until they logout/timeout.
I do not want to use the builtin ASP.NET Membership/Provider stuff as it looks painful to use and not very flexible. Please do not answer with 'This is how easy the ASP.NET Membership/Providre stuff is to use, just check this out and you will use it!' as I don't want to use it!
Don't get me wrong, I'm just wondering what exactly do you find painful and not flexible about the ASP.NET providers? I've used them a lot and I find them very flexible. I've even written some custom providers which is a straight forward process.
If you don't want to use ASP.NET providers, what are your exact requirements? I might help you out if I understand a bit better what you are trying to achieve.
Michael

Resources