Click here to Skip to main content
15,897,891 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Gridview with full-screen editing question Pin
Member 1044208512-Nov-15 9:08
Member 1044208512-Nov-15 9:08 
QuestionHelp with a connection string Pin
Member 121243549-Nov-15 13:50
Member 121243549-Nov-15 13:50 
AnswerRe: Help with a connection string Pin
Wombaticus10-Nov-15 1:09
Wombaticus10-Nov-15 1:09 
AnswerRe: Help with a connection string Pin
Richard Deeming10-Nov-15 1:21
mveRichard Deeming10-Nov-15 1:21 
GeneralRe: Help with a connection string Pin
Member 1212435410-Nov-15 12:28
Member 1212435410-Nov-15 12:28 
GeneralRe: Help with a connection string Pin
Richard Deeming11-Nov-15 1:54
mveRichard Deeming11-Nov-15 1:54 
GeneralRe: Help with a connection string Pin
Member 1212435411-Nov-15 11:59
Member 1212435411-Nov-15 11:59 
QuestionJquery Ajax method call with asp.net static webmethods Pin
ganesh.dks8-Nov-15 20:31
ganesh.dks8-Nov-15 20:31 
Hi,

Here's what I understand how Jquery Ajax method call works with asp.net static web methods.

First the page object is created on server to serve the page when you try to load a webpage. But when you make an ajax call from Jquery ajax method you actually point to a static web method which cannot access any of the page controls as it cannot create an instance of the page in itself.

So can I put it this way? - These static web methods cannot access the page's controls or their view state hence the danger of multiple requests and concurrency does not arise.


You call a static web method which means it does not have an associated object making it stateless(why do they use the term stateless?), which there by makes it work like a service which takes data, processes it, and returns something but does not keep anything to itself. Also you can choose to change the state of the controls present on the webpage by getting data in this manner and using JavaScript as there is no view state involved.

We can therefore presume that this workflow will not cause any concurrent access problems even though it uses static methods and fields.

Is there any flaw in my understanding?.

modified 9-Nov-15 12:36pm.

AnswerRe: Jquery Ajax method call with asp.net static webmethods Pin
Nathan Minier9-Nov-15 2:53
professionalNathan Minier9-Nov-15 2:53 
GeneralRe: Jquery Ajax method call with asp.net static webmethods Pin
F-ES Sitecore9-Nov-15 4:49
professionalF-ES Sitecore9-Nov-15 4:49 
GeneralRe: Jquery Ajax method call with asp.net static webmethods Pin
Nathan Minier9-Nov-15 6:05
professionalNathan Minier9-Nov-15 6:05 
GeneralRe: Jquery Ajax method call with asp.net static webmethods Pin
Richard Deeming9-Nov-15 9:04
mveRichard Deeming9-Nov-15 9:04 
GeneralRe: Jquery Ajax method call with asp.net static webmethods Pin
Nathan Minier19-Nov-15 1:23
professionalNathan Minier19-Nov-15 1:23 
AnswerRe: Jquery Ajax method call with asp.net static webmethods Pin
F-ES Sitecore9-Nov-15 4:59
professionalF-ES Sitecore9-Nov-15 4:59 
QuestionASP.NET MVC How to implement timer functionality to update dock panels on client side respective to their time intervals? Pin
glitteringsound4-Nov-15 20:41
glitteringsound4-Nov-15 20:41 
AnswerRe: ASP.NET MVC How to implement timer functionality to update dock panels on client side respective to their time intervals? Pin
Nathan Minier5-Nov-15 1:37
professionalNathan Minier5-Nov-15 1:37 
QuestionMVC View and Sub Views, Child View? Views within a View? Pin
jkirkerx4-Nov-15 7:38
professionaljkirkerx4-Nov-15 7:38 
AnswerRe: MVC View and Sub Views, Child View? Views within a View? Pin
F-ES Sitecore9-Nov-15 5:11
professionalF-ES Sitecore9-Nov-15 5:11 
GeneralRe: MVC View and Sub Views, Child View? Views within a View? Pin
jkirkerx9-Nov-15 6:22
professionaljkirkerx9-Nov-15 6:22 
QuestionInterview Question Pin
zephaneas3-Nov-15 7:23
zephaneas3-Nov-15 7:23 
QuestionRe: Interview Question Pin
Richard MacCutchan3-Nov-15 21:57
mveRichard MacCutchan3-Nov-15 21:57 
AnswerRe: Interview Question Pin
Blikkies8-Nov-15 10:11
professionalBlikkies8-Nov-15 10:11 
GeneralRe: Interview Question Pin
Richard MacCutchan8-Nov-15 22:30
mveRichard MacCutchan8-Nov-15 22:30 
AnswerRe: Interview Question Pin
F-ES Sitecore9-Nov-15 5:05
professionalF-ES Sitecore9-Nov-15 5:05 
Questionhow to do a a parody album management ASP.NET application Pin
kushaochin2-Nov-15 21:30
kushaochin2-Nov-15 21:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.