Hi all...
Please let me know... How to implement "Single Sign On" concept in existing asp.net website?
What is the advantage of this ?
Thanks a lot in advance...
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Riddhi ValechaPosted Aug 25, 2014, 1:58 AM
Thats ok.... no worries...
But, I guess,, there is actually no short-cut for implementing a web - service for such a big website...
No other way except for copying and pasting all methods and validations.....
Guest UserPosted Aug 21, 2014, 6:34 AM
Riddhi ValechaPosted Aug 21, 2014, 4:57 AM
This this thorough analysis is going on from last 20 days..
Also, the response time of stored procedures is -
Minimum - 5 seconds.
Maximum -20seconds.
And please..... improve your language -"but I don't want to see you posting question..."
You are not anyone's boss here.....
Guest UserPosted Aug 20, 2014, 9:58 AM
You can go and try Webservice, I can't stop that...it's good to learn about it.. but, I'm not convinced that you'll gain performance from Webservice over Webpages aspx
I suggest to dig in more...
Sorry my idea is not to restrict you trying Webservice, but I don't want to see you posting question that Webservice has also not improved performance much. So do thorough analysis....
Riddhi ValechaPosted Aug 20, 2014, 8:45 AM
I agree that webservice is not the only solution...
I have searched every look and corner of the code.
All queries are in stored procedures.
Lines of Code are as minimum as possible.
There are more than 15,000 records in each master tables (Total 4 master tables ) and more than 55,000 records in the transaction table.
I want to implement a webservice and check whether the site gets faster or not when published and put on IIS.
That is the only thing left out now.
Rest, all the root causes are analyzed fully.
Ankur JainPosted Aug 20, 2014, 8:14 AM
Guest UserPosted Aug 20, 2014, 8:07 AM
lets hear from Riddhi on performance...waiting for her response.
Ankur JainPosted Aug 20, 2014, 7:52 AM
Guest UserPosted Aug 20, 2014, 7:43 AM
I prefer JSON these days over XML as JSON is simple to use as Data Exchange Format. What's your opinion?
Ankur JainPosted Aug 20, 2014, 7:29 AM
Riddhi ValechaPosted Aug 20, 2014, 7:03 AM
Thanks Ankur...
I have seen these websites.
If I follow these , then I will have to add all the methods, classes, etc again the the service.
I want to know how to add a service in existing website.
Is there any way to do it in smaller duration time period ??
This website is really long - more than 15 class files, more than 100 methods, and nearly 70 web pages.
Thanks a lot once again.
Guest UserPosted Aug 20, 2014, 7:01 AM
Links provided by Ankur are good for webservice reference!
But may I know why do you think webservice will make it faster before you invest into it?
there could be many reasons for performance, it could be database response, code logic, frontend scripting?
I would suggest to get to root cause of performance before you make conclusion that Webservice will solve the problem.
Ankur JainPosted Aug 20, 2014, 5:36 AM
@Riddhi checkout these thread, it will explain you easily creating and consuming webservices..
http://www.c-sharpcorner.com/UploadFile/718fc8/creating-and-comsuming-web-service/
http://www.c-sharpcorner.com/UploadFile/0c1bb2/consuming-web-service-in-Asp-Net-web-application/
Riddhi ValechaPosted Aug 20, 2014, 5:24 AM
Do you guys have any idea about webservices ??
How to add a webservice to this existing website ??
This site have 15 class files (more than 100 methods) and 70 webpages(.aspx) .
THe site is running very slow.
How can I add a webservice to this site and make it run faster and smoothly ??
Please help.
Thanks a lot in advance.
Guest UserPosted Aug 19, 2014, 6:04 AM
Session["username"]="";
Session["username"].Abandon();
Please accept answer if you find it helpful!
Ankur JainPosted Aug 19, 2014, 5:26 AM
checkout the thread its good..
http://www.codeproject.com/Articles/429166/Basics-of-Single-Sign-on-SSO
Riddhi ValechaPosted Aug 19, 2014, 5:06 AM
For Logout Link ??
Guest UserPosted Aug 19, 2014, 3:07 AM
Sorry for this long thread!
To implement SSO you can do via multiple ways
- Using ads credentials, so C# provides way to read user's Ads credentials and if the user is part of your ADS (Active directory services) then the user will be authenticated automatically. Now once authenticated, you can keep user's information in session variable like Session.isAuthenticated = true and you can check this property at major events.
- As you're using Oracle, you can create User table in database and store user's name & passwords. Now you can compare against database and check user's authentication. Once authenticated you can again keep the information in session.
Session works by creating cookie inside and this cookie is passed with each interaction with the website (server). Because HTTP is stateless protocol.
Session can be saved in three ways:
- At database
- At IIS
- ASP state management service
Thanks!
Please accept answer if you find it helpful!
Riddhi ValechaPosted Aug 19, 2014, 2:40 AM
Can we please cut this out .....
Please explain here only naa.... What's wrong ??
I have a website developed in VS2008 and back-end as Oracle 9i.
How do I implement single sign-on and Single sign-out in this website??
The domain is is - .com.
Guest UserPosted Aug 19, 2014, 2:35 AM
Riddhi ValechaPosted Aug 19, 2014, 12:34 AM
Knowledge sharing is a good thing.
Also, others will be benefited from this.
Guest UserPosted Aug 18, 2014, 1:55 PM
"Please accept this answer if you find it useful"
Riddhi ValechaPosted Aug 18, 2014, 2:03 AM
Dear.. I can definately give you a friend request...
But, live web chat is not possible...
I do not have internet connection.
I go to cyber and access it.
Also, I want to do it on Logout Link as well.. SSO - Single Sign Out.
Please tell me... whether it is possible to do it in Visual Studio 2008 asp.net Website ??
Please help...
Thanks !!
Guest UserPosted Aug 13, 2014, 2:59 AM
Riddhi ValechaPosted Aug 13, 2014, 2:24 AM
Thanks a lot...
But, I did not understand any example given on these sites.
Please explain step-by-step.
Thanks a lot in advance !
Guest UserPosted Aug 12, 2014, 12:19 AM
Now there are multiple ways to acheive SSO.
# you can do at your own by creating user table that is shared among applications
# you can take advantage of http://dotnetopenauth.net/ module for acheiving the same
you can understand basics of SSO via this blog:
http://www.codeproject.com/Articles/429166/Basics-of-Single-Sign-on-SSO