Part 3 Using ASP NET Session State in a Web Service

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ม.ค. 2025

ความคิดเห็น • 56

  • @tahirnawaz9821
    @tahirnawaz9821 5 หลายเดือนก่อน

    Thank you so much sir, I don't have words for you, I ever never see a teacher/youtubers just like you in my life?

  • @anbumani6083
    @anbumani6083 4 ปีที่แล้ว

    Mr.Venkat you are a savior. Thanks for every knowledge you have shared.

  • @uzairsaqib9298
    @uzairsaqib9298 5 ปีที่แล้ว

    The way in which you display screen shots of all the relevant code at the end of every video is very helpful for taking notes

  • @siciidh
    @siciidh 11 ปีที่แล้ว +1

    Thank You Sir
    Web Service and WCF are what I asked your many times to teach us, as you did
    C#, ASP.NET, SQL, MVC, ADO.NET, thanks thanks thanks thanks thanks!!!!!!!!
    THanks a lot a lot a lot a lot a lot

  • @ivandrofly
    @ivandrofly 11 ปีที่แล้ว

    THANK YOU SO MUCH DEAR @kudvenkat... SOONER I'LL START WATCHING ASP TUTORIALS I'M STILL FOCUSED WITH C#

  • @josephoyila6913
    @josephoyila6913 11 ปีที่แล้ว +1

    sir, the session did not generate in my web-config and using VS2012, is there any way to make it generate , all do l need to set one features in the visual studio, at work fine until l get to this stage.

  • @anilhadapad7534
    @anilhadapad7534 7 ปีที่แล้ว +1

    if session not working in web service then where to change in webconfig

  • @zahidiimt2010
    @zahidiimt2010 11 ปีที่แล้ว +3

    How to use session state, when cookies are disabled and service is on another server??

  • @talkdeepak
    @talkdeepak 11 ปีที่แล้ว

    Nice Explanation...Thanks a lot.
    Looking forward for WCF videos from you.

  • @Chilis012
    @Chilis012 8 ปีที่แล้ว +3

    I have problem with ASP .NET MVC 4. I do not know how turn on "allowCookies="true"" in MVC 4. I do not find the similar setting.

    • @tocarguitarra2806
      @tocarguitarra2806 8 ปีที่แล้ว

      same problem here...

    • @tocarguitarra2806
      @tocarguitarra2806 8 ปีที่แล้ว

      just fixed it. type allowCookies="true" inside tag

    • @Chilis012
      @Chilis012 8 ปีที่แล้ว +1

      Thank you very much! You saved my life :)

    • @rajithareddy1192
      @rajithareddy1192 7 ปีที่แล้ว

      Hi Tocar, I just followed this video and I'm a beginner student. I couldn't retrieve the session. I cannot find this tag to type allowCookies = true. Could you please help me in finding this tag.
      Thank you.

    • @Extra621
      @Extra621 7 ปีที่แล้ว

      When I opened Web.Config, I didn't have most of the code. So, I just wrote "allowCookies=true"

  • @12Tsurugi
    @12Tsurugi 6 ปีที่แล้ว

    In this context, why would you do the "Recent Calculations" storing on the server side?

  • @zubeenahuja88
    @zubeenahuja88 11 ปีที่แล้ว

    @kudvenkat: can you please explain how to get exception messages and custom messages from web service

  • @ashwinisaravannavar9293
    @ashwinisaravannavar9293 3 ปีที่แล้ว

    How to do for other arithmetic operations?

  • @momo224314
    @momo224314 6 ปีที่แล้ว +1

    session not wotking ,

  • @rikenze05
    @rikenze05 6 ปีที่แล้ว

    One problem is when we refresh the page, than the values automatically insert a value again as recent calculations... How can I fix it?

  • @pavankrishna6304
    @pavankrishna6304 11 ปีที่แล้ว

    sir, when im performing the second Add operation, Session["CALCULATIONS"] is null , the session is not preserving first Add operation value,so the gridview is displaying only 1 result every time, how can i resolve this?

    • @abhinavsultania
      @abhinavsultania 11 ปีที่แล้ว

      Make sure that you have made changes (allowCookies="true") in Web.config file of client i.e. project from where you are calling the service.
      Make sure that you are not making changes in Web.config file of the project where you have created the service.

    • @buichitai6072
      @buichitai6072 10 ปีที่แล้ว

      abhinav sultania Hi, I did as your guide, but Session["CALCULATIONS"] still = null. where did you set the key: CALCULATIONS for the session ? what happens if I use : Session["CALCULA"] ?

  • @sajithasujith1591
    @sajithasujith1591 5 ปีที่แล้ว

    Very nice and interesting video. I have followed the same code , but still I always get the result as "You have not performed any Calculations yet" in the GetCalculations(). Please suggest. Thanks in Advance!!, Sajitha

  • @mikerayco
    @mikerayco 9 ปีที่แล้ว +3

    I was not able to see the GetCalculations method in my web service even though i rebuild it

    • @rahulchugh6694
      @rahulchugh6694 6 ปีที่แล้ว

      hey brother may be you haven't write web method(Enable Session= true)
      write it then it will be visible.

  • @tanekim77
    @tanekim77 9 ปีที่แล้ว +2

    Thanks! Keep up the good work :)

  • @vlakshmib9971
    @vlakshmib9971 8 ปีที่แล้ว

    Hi Venkat. I have a pbm to open CalculatorWebService.asmx page that error is
    Server Error in '/' Application.
    Parser Error
    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
    Parser Error Message: Could not create type 'WebServicesDemo.CalculatorWebService'.
    Source Error:
    Line 1:
    Source File: /CalculatorWebService.asmx Line: 1
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1055.0
    Can you tell me how to solve this issue

  • @rajithareddy1192
    @rajithareddy1192 7 ปีที่แล้ว

    When I invoke the GetCalculations , I'm unable to receive the calculations that were performed. Could anyone please help me to solve this problem. Thank you.

  • @alaqaffaf6618
    @alaqaffaf6618 8 ปีที่แล้ว

    awesome video, thanks alot really u helped me

  • @fconteEBdotcom
    @fconteEBdotcom 6 ปีที่แล้ว

    Great video. However, I cannot get the webform1 page to display. Upon building (ctrl-5) my program always defaults to localhost:61809/CalculatorWebServices.asmx not WebForm1.aspx. I can run the program from the startpage (CalculatorWebServices.aspx) but I cannot get the table in WebForm1.aspx. Any advice? I tried changing the "Start page" function but it is not working.

  • @rajendrosahu
    @rajendrosahu 8 ปีที่แล้ว

    Very nice video. My humble request to you, that if you provide any session related to Webapi with restful services then that would be a great help.

  • @minagh8705
    @minagh8705 7 ปีที่แล้ว

    HI, thanks for your great teach.
    i have problem in this part. my web service is run correctly but when i run webform1.aspx in web _application_calculator , I face this error ("HTTP Error 403.14 - Forbidden") and i can't fix it. could you help me? how can i solve this?

    • @shaikkhajaismail6835
      @shaikkhajaismail6835 6 ปีที่แล้ว

      Hi this is Khajaismail could u please share the Screenshot then i'm gonna help u Message me , This is my mail Khajaismail15111994@gmail.com

  • @abdelouhabelkadiri4338
    @abdelouhabelkadiri4338 8 ปีที่แล้ว

    Thank you so much, very interesting !

  • @rajithareddy1192
    @rajithareddy1192 7 ปีที่แล้ว

    I'm unable to retrieve the session. Could anyone please help me in fixing this problem. If anyone could help me to resolve this error, I can move forward to watch later videos. Please...
    Thank You.

    • @shaikkhajaismail6835
      @shaikkhajaismail6835 6 ปีที่แล้ว

      Hi this is Khajaismail i can help u please contact me, Bcoz same problem i got but now i fixed this problem in my project (or) u can call me this is my number 8830548216

  • @kushagrakhandelwal8867
    @kushagrakhandelwal8867 3 ปีที่แล้ว

    can anyone please paste ADONet interview blog From venkat

  • @paolamendez3845
    @paolamendez3845 7 ปีที่แล้ว

    how can i write (List)Session["CALCULATIONS"]; in visual basic?

    • @mhvazirian
      @mhvazirian 4 ปีที่แล้ว

      CType(Session("CALCULATIONS"), List(Of String))

  • @shaikkhajaismail6835
    @shaikkhajaismail6835 6 ปีที่แล้ว

    Nice Video , It helpful

  • @dauculajava
    @dauculajava 8 ปีที่แล้ว

    thanks a lot. great vid again.

  • @msritmanju
    @msritmanju 11 ปีที่แล้ว

    u're just awesome

  • @Chilis012
    @Chilis012 8 ปีที่แล้ว

    Good work

  • @khyativaghela518
    @khyativaghela518 9 ปีที่แล้ว +1

    great ..

  • @abhinavkumar8271
    @abhinavkumar8271 8 ปีที่แล้ว

    good one..

  • @austin-dam-x
    @austin-dam-x 10 ปีที่แล้ว

    thank you very much!

  • @ipsitapani8641
    @ipsitapani8641 11 ปีที่แล้ว

    Thank u sir.

  • @mohamedali-km3jw
    @mohamedali-km3jw 11 ปีที่แล้ว

    great work keep it up and please if u can wcf tutorial also will be great

  • @vlakshmib9971
    @vlakshmib9971 8 ปีที่แล้ว

    pls help me

  • @anishpal2397
    @anishpal2397 9 ปีที่แล้ว +1

    very nice vedio

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  9 ปีที่แล้ว +1

      +Anish Pal Thank you for the feedback. This means a lot. Very pleased you found these videos useful.
      Dot Net & SQL Server training videos to help you become a web developer
      th-cam.com/users/kudvenkatplaylists?view=1&sort=dd
      Download videos for offline viewing
      www.pragimtech.com/Order.aspx
      Slides, Code Samples & Text Version of the videos can be found on my blog
      csharp-video-tutorials.blogspot.com
      Tips to effectively use our youtube channel
      th-cam.com/video/y780MwhY70s/w-d-xo.html
      To receive alerts, when new videos are uploaded, please subscribe to our channel
      th-cam.com/users/kudvenkat
      If you like these videos, please click on the THUMBS UP button below the video
      May I request you to please share the link with your friends who you think would also benefit from them
      To teach is to learn
      Thanks
      Venkat

  • @raselmahmud6888
    @raselmahmud6888 11 ปีที่แล้ว +1

    Really Great

  • @tomasmaccormaic3030
    @tomasmaccormaic3030 4 ปีที่แล้ว

    I put this in the web form aspx.cs to use the initial "You have not performed any calculations"
    protected void Page_Load(object sender, EventArgs e)
    {
    CalculatorService.CalculatorWebServiceSoapClient client = new CalculatorService.CalculatorWebServiceSoapClient();
    gvCalculations.DataSource = client.GetCalculations();
    gvCalculations.DataBind();
    gvCalculations.HeaderRow.Cells[0].Text = "Recent Calculations";
    }

  • @naodagere8210
    @naodagere8210 4 ปีที่แล้ว

    Thank you so much!