WCF service timeout

前端 未结 4 1114
离开以前
离开以前 2020-12-19 09:52

Is there a way to set a tiemout on the service side so that the request stops processing if it exceeds the timeout? I know I can time the request out on the client side, bu

4条回答
  •  自闭症患者
    2020-12-19 10:13

    yes i can handle it you have to configure your web.config file it's look like

    
    

    
        
        
            
        
        
    
    
    
        
            
        
         
          
          
        
      
      
    
    
    
    
      
    
      
        
          
            
          
        
    
        
          
            
          
        
    
      
    
      
         
                
                    
                    
                
    
              
                
                
              
        
    
        
          
            
          
        
      
    
    
      
        
          
            
              
            
          
          
        
    
        
          
          
        
                   
    
    
    
    

    --> -->

    And Your Client Side ServiceReferences.ClientConfig file looks like

    
    
    
        
            
                
                    
                
                
                    
                
    
            
        
    
      
    
    
      
        
        
      
    
            
    
    
    

提交回复
热议问题