Looking For A Good/Simple Webservice Which Can Be Consumed Using .net?
Sep 23, 2010I was looking for Good/Simple webservice which can be consumed using asp.net but i can't a find a free webservice that can be used with asp.net..
View 1 RepliesI was looking for Good/Simple webservice which can be consumed using asp.net but i can't a find a free webservice that can be used with asp.net..
View 1 RepliesI need to write a webservice to be consumed by an application. The application will read the WSDL and provide me with the input output fields that I can utilise. The webservice output should be an array of string values as the output. I have taken a dataset and can output that as XML but I need to provide a description in WSDL what the output format will be and I cannot seems to get my head around to that. What I need is something similar to[URL] but do not how to write the WSDL to give me a clear input and output structure in the definition.
View 1 RepliesI have web service with reference of BO library in same application. My BO contains classes with some private members and respective public properties.
All of these private members had default values in a perticular class say Contact.cs.Now when I consume this webservice into Windows Application, these already assinged values to BO does not persists in the Windows Application code.
Is there any limitation such that you can serialize the default values assosiated with private members ?
Even I have tried to assign these values directly to the properties in a constructor of Contact class.
What is a good and simple wysiwyg text editor to use with asp.net mvc I only need the bold and insert a link functionalities.
View 3 RepliesI'm breaking my head over this for a while now and I have no clue what I do wrong. The scenario is as followed, I'm using swfupload to upload files with a progressbar via a webservice. the webservice needs to return the name of the generated thumbnail. This all goes well and though i prefer to get the returned data in json (might change it later in the swfupload js files) the default xml data is fine too.
So when an upload completes the webservice returns the following xml as expected (note I removed the namespace in webservice):
<?xml version="1.0" encoding="utf-8"?>
<string>myfile.jpg</string>
Now I want to parse this result with jquery and thought the following would do it:
var xml = response;
alert($(xml).find("string").text());
But I cannot get the string value. I've tried lots of combinations (.html(), .innerhtml(), response.find("string").text() but nothing seems to work. This is my first time trying to parse xml via jquery so maybe I'm doing something fundemantally wrong. The 'response' is populated with the xml.
I need to create a simple webservice in C# but I'm not sure where to start (I've coded UI apps in C# before but all my web experience is in Ruby on Rails). Where do I start?
The only client for the webservice will be a Ruby on Rails app so there's no need for any HTML rendering. I was thinking of just returning a XML or YAML formatted string unless there's an easier way. I'm not too keen on SOAP but if it's easy/natural in C# & Ruby then I'd consider it (or anything else).
I ultimately need to show countries in one drop down then states/provinces drop down of the previously selected drop down. I'm sure everyone has seen this many times. My page shows the countries but does not show values in the province/states drop down. It's as if the webservice is never run. I've tried removing and adding the ajaxtoolkit reference. The tableadaters run simple working sql code. I'm really at a lose here.
default.aspx:
...
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
...
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<%--Dropdown to display countries--%>
Country:<asp:DropDownList ID="ddlCountries" runat="server" DataSourceID="ods_Countries"
DataTextField="country" DataValueField="abbreviation">
</asp:DropDownList>
<%--data source for the country drop down list--%>
<asp:ObjectDataSource ID="ods_Countries" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetAllCountries" TypeName="countryDataSetTableAdapters.CountriesTableAdapter">
</asp:ObjectDataSource>....................................
When a web service is consumed from server side, the web service may be implemented in a way to check credentials of the caller. In the case of calling the web service from javascript, how to secure the service since no credentials can be passed into a javascript function becuase of the visibility in source view?
View 7 Replies my team is building a game in flash to be embeded in a asp.net application.
When the game is over the player have the chance to type his name to save his score. This is done using web services called from flash. The webservice receives the name and score.
Since the webservice is publicly available how can I make it only callable from my flash given the following conditions:
The .swf is hosted by the same asp.net application There are two domains that can access the same application (I have run previously into cross domain issues). Using SSL is not an option. The webservice has to be consumed by the .swf file.
I'd like to modify the value of my Sliding Expiration time span based on how much memory is available. If the site's traffic is high at any point in time, more data will be added to the cache than during quieter periods. During those quiet periods I can increase the sliding expiration time span, thus allowing data to be stored longer. But when the site is busy I need to free up memory so I'm happier with a shorter time span.
So I guess my questions are as follows: Is it possible for me to find out how much memory is being consumed by the items I've added to HttpRuntime.Cache? If so, how? Does this sound like a realistic solution to the problem I've described?
I have hosted a WCF service with windows authentocation enabled in it.Excerpts from web.config file are
<basicHttpBinding>
<binding name="NewBinding0">
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Ntlm" />
[code]...
In have created a Web Service which needs to be consumed by multiple environment (.Net,Java,Python..etc) hence ,I have used List<list> as an outparameter (with "OUT" keyword )in my Web service to return value. My question is Will all the application consuming my webserice able to get List as return value ? if not can anyone help me out in getting return values from asp.net webserive that will be consumed by multiple environment
eg.
bool WS_GetUser(string Name,out List<ICWS.InstanceType> instype);
I have a 2 part question for web user controls: 1. I want to have an event fire in my user control, but have it be consumed by the parent page, like:
<asp1:Object id="objectMain" runat="server" OnClick="Click" />
Is it possible to do this? Or do I need to make a server control for this functionality? I have it being able to be set in the Page_Init, but I'd like to make it as similar to actual controls as possible. Also, if it is possible to access via the Events section under Properties, that would be good and 2. I am trying to register the web user control as an AsyncPostbackTrigger for another UpdatePanel. With the previous question in mind, is it also possible to set this via the GUI, or does this need to be set programmatically as well?
I just want to have good idea about Versioning problem! and how .net recovered from that? Can i have some depth info in the same!?
View 1 RepliesWhich detect location most accurate.
View 4 Repliesinstead of using gridview to insert student marks (I have hundreds of students) thought I used the Excel:
1) allow managers of each module after authentication to download the excel file (containing the students enrolled in the given module), the excel file ted is generated by the following code: Id_student ____ maks of subject1 -------- ----maks of subject2
[Code]....
But in this code I do not know how to:
* Add the following condition: the student'marks is between 0 and 20.
* Calculate the average of this module : sum (coeff * mark) / sum (coeff)
2) Allowing responsable module send me the file containing the data (but then I do not know how)
3) Using data, by sending them to the database to calculate averages.
Is there any good CMS for ASP.NET like drupal, joomla ?
View 2 RepliesI looked at Google's, but my boss shot it down because it involves adding a script to every page you want to track. I keep searching the web, but the stuff I am finding seems to be crap or not work all together. This is mainly for internal sites, not external. Seems liek a lot of the stuff I am finding want to give me remote statistics to a publically available site.
View 3 RepliesI work for a small E-Commerce shop and we are looking for a process that will handle resizing our product images dynamically. Currently our designers take high resolution photos, either provided by the manufactures or created in house, and alter them to fit various pages on our site. The designers are constantly resizing, cropping, altering compression levels, etc., of each product photo to fit the needs of the business. Being that our product line is updated frequently, this becomes a monotonous task.
Abobe Scene7 does exactly what we are looking to do and the images are served up from a CDN. Unfortunately we found it to be too expensive.
I'm curious to learn how others handle this process at their organizations. Does anyone know of any good 3rd party tools or other SAAS providers that can handle performing some basic image manipulation and serving them on the fly?
I've followed the standard example of in
http://www.asp.net/ajax/ajaxcontroltoolkit/samples/autocomplete/autocomplete.aspx which demonstrates using AutoCompleteExtender. Everything works fine but the auto-complete appears with about 20 pixel distance below the bottom of its target control. I mean they are not glued to each other as they should be. I've not changed anything and also I've not applied any special styling using CSS or anything else. why this ugly distance is formed while the control is rendered.
I'm currently using the fantastic DorkNozzle 'framework' for building a very basic blog in .NET.My first "self-taught" script is as follows, and is for solely retrieving SQL results.
PHP Code:
<%@ Page Language="C#" MasterPageFile="~/Dorknozzle.master" AutoEventWireup="true" Title="Blog" %>
<%@ Import Namespace = "System.Data.SqlClient" %>
<script runat="server">[code]....
I should change to perhaps improve my coding style, without going down the MVC line just yet?
My boss has it in his head that we need to be monitoring our websites more to see what king of traffic we are getting for but internal and external sites.
View 2 RepliesI want to learn ASP.NET 4 and C# from scratch to intermediate at least. I want to follow videos. Do you know any good website even if it is paid, I have found this[URL] but I am not sure about it,
View 4 Repliesi know MVC is the future but for some of us still stuck in the good old webform land, i'm trying to learn how to do TDD and introduce better testing for our current application...
basically the asp.net 2.0 c# web app is quite complicated with some logic in sproc, some in the javascript via json data processing, some in user controls and some in the code behind. not to mention some libraries here and there to make it merrier. i have literally no idea how to even begin to break things down to smaller chunks to do any testing.
Our company now has over 40 tutorial videos and I'm looking for a video gallery app.
Something that would be similar to:[URL]
or
[URL]
Does anyone know of any PHP or asp.net solutions? I'd rather not re-invent the wheel. As there are a ton of hidden functions like sorting, most popular, tagging, comments, etc.