Avatar of crundle32
crundle32 asked on

How do you set up an API with ASP.net Webforms with data from stored procedure

How do you set up an API with ASP.net Webforms with data from stored procedure taking into account that data is dependent on the user login in.  Please remember this is webforms.
ASP.NETC#.NET Programming

Avatar of undefined
Last Comment
Paul MacDonald

8/22/2022 - Mon
Paul MacDonald

This question isn't a question, sorry!  There are at least three different technologies (APIs, web forms, SQL) mentioned and none of them have anything specific to do with each other.

Are you asking how you can create a web form that accesses a database differently based on which user is logged in?  Do you want to create a web service to pass data to authenticated users?
ASKER
crundle32

Looking to pass data to authenticated users.

Once user authenticated then use the userID  in a storedprocedure along with other values passed and return data REST.
ASKER CERTIFIED SOLUTION
Paul MacDonald

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Your help has saved me hundreds of hours of internet surfing.
fblack61