I am create an iPhone app that needs to talk to a Windows C# app. The app will run as either a Service or Form Application.
What would be the best way to accomplish this? Ideally exposing a service-type architecture would be best as I don't need a stateful connection (stateless is fine in this case).
Can a WCF service hosted by my app...
I'm creating a web service that'll be called from a web form in asp.net. How does the web service check if the user is logged-in and if it is the logged-in user that's actually requesting the service?
thanks
...
Considering the recent ASP.NET vulnerability, what should I look for in my httphandlers that would cause such a Padding Oracle vulnerability?
Asked in another way... what did MSFT do wrong and what did they fix in their handlers?
...
I was doing some web scraping and i was looking for some div elements with particular class names and markup.
This is my objective , i have to extract everything within the div having the class s_specs_box s_box_4
Could someone please provide the regular expression in .NET terms (i.e., which can be straight away passed into Regex's con...
Hi,
As it is now I create a JavaScript object and then stringify it, put it in a hidden textbox and my code behind can read this string. I then use JSON.NET to parse the string which works fine. I now try to use ajax to post it to my web service but have some issues with how to send the string. I have tried many ways but gets the common...
We have a 3D graph and we want to put a label on the Z-axis, is Z-axis labeling supported by the chart control?
...
Hi, I have a Windows Service (not a webservice) and I need to provide some security. ie. Only authorise users run methods of the service.
Is it possible to use certificates like you can do for webservices? Can anyone describe the process of how one would go about doing this?
Thanks!
...
Hi,
I've got a c# project that is full of intellisense comments, and this project compiles to a DLL.
Now when i add this dll as a reference in another project, i do not get intellisense when accessing the members of the original project.
Any ideas how i can get this to work?
Thanks
...
how can we migrate from u2 to sql server.tell me the sites where i can find the pdf on migration from u2
...
I need some advice here. I have a bunch of 10 products and every product has atleast 200 different pages associated with it, with varying details about the product. That makes around 2000 pages.
The structure of each page is as follows:
**Product Name
Details About the product ( 500 words or more)
ProductImage | PurchaseDetails**
W...
I am having a Gridview which takes much time to load its data, I tried to make the loading faster by implementing paging in gridview and reducing the rows to render in the grid and it got worked to an extent but still it lags in processing to bind data. Please help to overcome this problem, and i would appreciate if you can give me tip...
When I type it here :-
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<link href="Skins/SkinCustom/Editor.Default.css" rel="stylesheet" type="text/css" />
</asp:Content>
Its says Element Link cannot be nested within div...how am I supposed to link my css files ??
...
I have a web form and I use jQuery/AJAX/JASON to send objects to a web service using
$.ajax({
type: "POST",
url: "SynchroniseCustomers.asmx/synchroniseCustomers",
data: JSON.stringify(customerObj),
contentType: "application/json; charset=utf-8",
dataType: "json",
error: function (xhr, status) {},
success: function (msg) {}
});
From t...
I have the following entity object:
public class ForumPost
{
public virtual int ForumPostId { get; set; }
public virtual int LoginId { get; set; }
public virtual string Body { get; set; }
...
Then I have a page that has a list of ForumPost(s) and and edit option, all on one page. I've created a CommentsVie...
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<link href="Skins/CustomSkin/Editor.Default.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<telerik:RadEditor ToolbarMode="Default"
ID="editor1" runat="ser...
Possible Duplicate:
Sql server recursive query
I have one table with 2 column EmpId,SupervisorId
from that table i want data for example
A guy can refer 3 guys under him i.e, 3 is referring three guys namely 4 5 8 similarly 4 is referring 9 10 and 11 likewise 8 is referring 12, 13 it goes like this..
I want a asp.net code to...
What is the best book to study Plain Old CLR Object (POCO) in .NET?
...
I have a property on a page called
public string productName { get; set; }
I want to access this in my usercontrol code behind. What's the right way to do it?
Currently I am doing
((MyPage)Page).productName
But the user control is not compiling. My pagename is MyPage and I have also added a Reference
<%@ Reference VirtualPath="...
I have four checkboxes in my form. I have string variable called "CheckedString". If i check the first checkbox "A" must be assigned to "CheckedString". If i select both first and second checkbox at a time. "AB" must be assigned to "CheckedString". If i select third and fourth checkbox "CD" must be assigned to "CheckedString".So that sev...
My file upload control is in page for editing records so i want to retrieve the path stored in database and assign it file upload control.
i have written select query to get data but i do not know how to display the stored file path in file upload control.
...