State Management; .Net Profiler
Here is the situation with the customized profiler.
I got a profiler class called SSOProfileProvider inheriting from ProfileProvider. I've implemented the Initilization, GetPropertyValues and SetPropertyValues.
The Get... and Set.. are making a call to the database to store profile into the database.
This class has been stored in the separate DLL called "Security.DLL" and there is a web site that is using this dll. The web.Config for this website is as follow:<profile enabled="true" inherits="AppProfileBase" defaultProvider="SSO" automat...How to call a .net web service from another .net web service?
Hi all,I have developed two asp .net web services using visual studio .net 2003.I wish to call one web service from another web service.I tried adding a web reference of the web service in another web service and was able to do so.but i m not able to access the web methods provided by the web servicecould you please suggest a way to go about itExpecting quick replyThanxCharmy
try to make sure that you reference it in the web reference and call it properly this is sample
public double CalcDistance(int x1, int y1, int x2, int y2)
Calculator.Service1 calc = new...Web Service State Management Issue
ok here is my small problem. the lines below are written in WebMethod and works fine. What I need to do is t o move the lines written in Bold to the class library since It does not look good lying in the WebMethod.
I need to maintain the amount variable so that it contains the sum of all the amount on which the customer is than validated. Any ideas on this:
amount += Convert.ToInt64(Session["Charge"]);
Session["Charge"] = amount;
throw new Applic...Session state management using web services.
Hi all ,i am working of a hospital management system which we desided to develop using atlas frame work. we have created the application main to sections using atlas script call back architecture. we are using scripts to pack the user entered data to the web service and in that web service we are entering the data in to the database.all this happening with out a post back of the page.now comes the problem. we are not being able to handle the user session properties. we came to know that we cant access session variables in web services. we are in a trap now. how we can manage the sessio...Application State and State Service
Sorry if this has been asked before--I looked back a number of pages and didn't see anything similar.
I see in a lot of articles that session information can be maintained by the ASP.NET State Service. I'm wondering if application variables can/are also be stored out of process by the State Service. My own tests indicate no, but I could ascribe those results to my inexperience with the service. Unfortunately, I need to store small amounts of information at the application level--session varibales won't do. And I need the solution to survive recycling of the ASPNET process/.
Alterna...State Management between C# Client and Java Web Service
hello,I m creating a C#/ASP.NET Client which talks to Java Web Service. I m able to make the connection between the client & server and able to place the call to the Java Web Service also from .NET Client but the connection between the client and the server is stateless. I want the connection to be a stateful since my service is designed like this. I have also created a Java Client which accesses the Java Web Service and the connection is stateful. I m using Systinet Server for Java 5.5 for the deployment of the service. For C# Client Visual Studio is being used and for the ASP.NET ...Key and Data Management System using .Net web service
Hi all, I am a total beginner and desperately in need for your help. I want to create a Key and Data Management System using .Net web service but have no idea where to start. What would be the easiest way to do this? First, how do I setup IIS and ASP.NET? I used window Vista and followed this when installing IIS 7.0: To Install:Download the ZIP file and extract the MSI. Install the MSIRun notepad as Administrator(do this by right-clicking your notepad shortcut and chosing "Run as Administrator")Open %systemdir%\system32\ine...Free Web Services Management for Visual Studio.NET from AmberPoint
We at AmberPoint have built a free product for monitoring, diagnosing & troubleshooting Web services messages. It operates as a Visual Studio Add-in and will be distributed by Microsoft with the forthcoming "Whidbey" beta of Visual Studio. It helps developers that are building and deploying .NET Web services. We’re looking for any feedback that anyone may have.
Some of its basic features include:
• Performance Monitoring: View Web service performance in real time with easy-to-digest charts for response time, throughput and SOAP fault counts
• Analysis: Gain a qu...Web Service exception: "The handle is in the wrong state ..." in local net
I wrote a Web Service that works correctly in one server that has a public domain, but when I install the same Web Service under a server that has only access in the local network, the client application gets an exception that returns a message such as: The handle is in the wrong state for the requested operation.
In such local network setup, instead of calling the web service from the client application giving the domain, I call it using the IP, could such a thing cause the problem ? or is there a way to get the web services requests from clients in the server side ?
...State service and SQL state server
To use the state service or sql state server functionality do I need to write my classes in any particular way? I've tried enabling the state service and I kept getting errors indicating that my classes were not serializable - how do I make them so? Using the serialize tags etc. seemed very tricky.
I would like to use a machanism whereby my session, user (and any other chosen objects) get stored into the database so state management is more robust, but there does not appear to be an obvious way of doing this. Am I to simply write all the code myself, while sticking to a sta...Web service in .NET from Java Web Service
Hi there,I'm pretty new to .net (although i have years of experience with the old vb 6, access 2k, as well as java)... and need some with perhaps either some syntax or something.Here is the wsdl.<wsdl:definitions targetNamespace="http://www.dynix.com/schema/book">−<wsdl:types>−<schema targetNamespace="GetBookInfoByISBN">−<complexType name="BookInfoType">−<sequence><element maxOccurs="1" minOccurs="0" name="Title" nillable="true" type="xsd:string"/><element maxOccurs=&quo....NET Web Service and Non .NET programe
When we develop a web service by VB.NET. Then i use visual basic, Microsoft access, asp. Can these stuff access to my web service ?
Means you want to access Webserver developed in VB.NET in ASP application?Sreedharhttp://www.w3coder.orgweblog http://weblogs.asp.net/skoganti...Easy explanation on Stateless management and State management
Till now, me still confuse to understand Stateless management and State management. Can anybody explain to me in an easy understand with example?
stateless - you cannot persist any values on frequent page request and response.
state mgmt - you can retain values on subsequent calls.
have a look at this
http://articles.techrepublic.com.com/5100-10878_11-1049585.html"Never underestimate the power of stupid people in large groups"
The World Wide Web, on the other hand, is intrinsically stateless because each request for a new Web page is processed without any kn...Microsoft Chart control for .NET Framework about state management and serialization problem, it works OK with one XML file but fails with another XML file
I use Microsoft Chart control for .NET Framework , you can see details at http://blogs.msdn.com/alexgor/archive/2008/10/27/microsoft-chart-control-for-net-framework-released.aspx
The Chart1 is load data from a xml and save to ViewStateData, so even if after I click Reload button, the chart1 still display OK!
I'm very strange that the chart1 works well after click Reload button if it's loaded from Chart1.Serializer.Load(HttpContext.Current.Server.MapPath("~/Template/1.xml"));but chart1 don't display fter click Reload button if it's loaded from Chart1.Serializer.Loa...