The main issue is that I cannot run a webservice that accepts requests in JSON format. I keep getting a 500 Server error stating that the "request format is invalid." My ASP.NET AJAX extensions are installed. My server is running Plesk Control Panel 8.6 which is undoubtedly causing these problems.
The default handler for this specified extension is shown in the web.config like so:
For my applications webservice to handle JSON it needs to have this reference:
I have a folder structure that is odd and I need to find a way to deal with. Example, if you go to site.com/x/y/z/, I would like to have a script in the /x folder that grabs all incoming requests, even if the request was to /x/y/filename or /x/y/z/1/2/filename. Is it possible?
I'm working with asp.net c# web application. We have completed site and hosted in dedicated server (own server).
This server having only one site (sharepoint site). A page having 1000+ images. Loading in base page. And slide show in popup page.
Base page image painting is going on. At same time popup page image is not loading up to base page paint complete. I changed popup image download to some other server means working fine.
Here my problem is same domain more than 2 request web server (iis) not responding up to first 2 requests complete. We can call 2 requests at a time. How to increase more than 2 request in ie. This problem is not available in Firefox. Firefox can manage more than 2 requests. Ie not allows only 2 requests to one domain at a time.
How to send more than 2 requests from ie to a domain?
I have to write a page method in ASP.Net that returns a JSONP result. In order to build its payload for return however, it has to read a URL from another domain, passing it some parameters that were passed to it originally. I suppose I'll need to screen scrape the results to see if the login credentials worked. Could point me toward ideas that might begood for ASP.Net or ASP.Net MVC?
So I'm writing an MVC application, and have a JsonResult post back to obtain some item information for scanned items on a warehouse application I am writing. I'm trying to obtain a URL query string value though, and cannot seem to obtain one via the normal 'Request.QueryString['variable']' way... Is there a way to do this? I also thought about just passing the parameter into my post, but I already have a single value on my jquery post, and I am unsure if I can tack on more values to this.
I'm using asp.net mvc2 and trying to send a list of json objects with hard coded values from the home controller, and receive them in index.... in the code below i'm sending 1 json object. how do i send many?
What's the simplest and most effective way to selectively redirect HTTP requests to your ASP.NET page to its HTTPS equivalent? For example, if my page site URL is [URL], I want to redirect some (or all) page requests to [URL] What's the easiest way to do that?
This is so frustrating to me. I'm doing this via standard .NET 2.0+ web services (not WCF). My application is in .NET 3.5 but I'm just adding a service reference. I've not done any SOAP WSDL sending before. I've used NVP which to me seems much more error prone and burdensome because you have to create all the wrappers yourself and if any of that third party API changes, it breaks your code. I have not a clue how to make a call using the latest PayPal WSDL. I added the service reference and I see proxy classes such as [className]Request and [className]Response but how do you actually make the CALL and send the request over the wire?
I see people have used the outdated (.NET 1.1) PayPal SDK. We do not want to use an SDK just to send a request. Isn't it much easier nowdays in .NET when using any SOAP API to invoke the request? People for example using PayPal are relying on a caller class from that SDK but again it's way, way outdated. So onto today, .NET 2.0+, I thought that you don't need all that plumbing anymore?
How would I do this? I see no good documentation on the net period on .NET 2.0 or 3.5 web services especially SOAP and it's frustrating. Sure add the service reference, use the WSDL and proxy generated class wrappers but outside this HOW to make a request is impossible to find. I'm seeing legacy ways of doing this in .NET and then I hear this is all done under the covers for you in .NET..I guess that must be .NET 2.0+ ?? Is it as simple as just making the proxy class method calls and .NET under the covers takes care of the plumbing to actually send the request over Http unlike .NET 1.1 where you had to do all the plumbing yourself?
I have an ASP.NET app that gets its data form an external service, via HttpWebRequest. Currently the request is made on the Page_Load event. After that event finishes I have my objects in the page and I output their data in the HTML. Sometimes the site hangs and throws timeout exceptions. Should I move the web request to an event prior to Page_Load ?