|
Hi All,
I have one confusion regarding the webservices.
Suppose I made one webMethod in webservices .
Then how can I make this webMethod as secure one.
i.e If somebody come to know about the URL then can easily use this web Method.So how can I make sure that only the Authenticate person is using the webSevices Method.
IF anyBody has the idea please share it.
Thanks
Rahul
|
|
|
|
|
You can make your methods take a username/password. I'm not sure if you can check the calling IP address, and decide based on location. The Microsoft Web Service Extensions have other security features, also.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
In windows C# programing there is the ability to create C# windows projects like in SharpDevelop[^]. Is there anything like this that people could use on the internet? What I would like to do is allow people to access a SharpDevelop[^] kind of web page that users can create and change items on a web editor.
NOTE: I am not looking for an html web editor. I am looking for visual studio editor but web based.
Chris
|
|
|
|
|
Data driven development?
What kind of scalability?
|
|
|
|
|
I wouldn't say it is data driven....more like object driven. Were a user can drag and drop objects onto a designer and resize objects and configure an objects properties. Something like that.
|
|
|
|
|
maybe something like tibet from www.technicalpursuit.com.
or maybe one of those OS sites like gh.os.t or bobel or something like that.
|
|
|
|
|
I'm sure if it existed, we would have heard of it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I have created a webpage which contains two gridviews. The first gridview contains the list of orders made a company. The second gridview displays the details of the order. I also have a dropdownlist so that they can select particular year and view the list of orders for that year. The user can click on individual orders in the left side grid and it will display the order details on the right side grid. I am using callbacks to display the details. If I didn't select any year and it is defaulted to all the years, the performance of the page is really slow. If I select a particular year and click on orders the performance is better. So I thought that if we didn't select any year the view state will be big(that is why the performance is slow) and if we select particular year the viewstate will be less(better performance). But when I checked the viewstate in both the cases it is same. It has same number of characters. So I am not sure which is hurting the performance. Please let me know your views.
Thanks,
sridhar.
|
|
|
|
|
D.Sridhar wrote: So I am not sure which is hurting the performance.
How about:
* The amount of data the query returns to the browser.
* The length of time it takes to perform the query that returns the larger result set.
* The amount of additional disk access the unfiltered query needs to retrieve the data.
|
|
|
|
|
Hi,
When I run the query in the QueryAnalyzer it returns the data instant. And the amount of data is the same for all the requests. What I didn't understand is the following...
If I select the year (2007) in the dropdownlist then the number of orders for that year is around 12. so the left side grid which is the list of orders has 12 records and the right side grid has the details for the last order for that year. And when I click on another order on the left side grid, it returns the details in 1 or 2 seconds. But I didn't select the year and if the left side grid has like 1000 records, it is taking like 6 - 10 seconds. The number of records in the details grid will be exactly same. I thought that it might be with the viewstate. But I read that callbacks doesn't update viewstate. so I am not understanding why there is a performance difference. Am I missing something?
Please let me know.
Thanks,
sridhar.
|
|
|
|
|
Are you using AJAX, or are you using ATLAS to gain AJAX ? ATLAS does a full postback of your entire page. It's not very efficient.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I am using Microsoft ASP.NET AJAX 1.0
|
|
|
|
|
OK, they call it that now, do they ? That would be ATLAS then.
It's more efficient to write your own code, although if you tinker with ATLAS, I think you can make it run better than the default ( which involves a full page lifecycle for any AJAX call )
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I changed the IE LAN Proxy server settings to point back to my PC. When I run the following aspx application code through debug the "redirect" is performed, but it always comes back with the "Unauthorized Access to ". Is there a way to redirect using the Proxy Server Settings? This seems like a simple way to do custom filtering and that is what I'm trying to accomplish. Any ideas?
Thanks.....
private void Page_Load(object sender, System.EventArgs e)
{
lblMsg.Text += "Host: " + Request.ServerVariables["HTTP_HOST"] + " ";
if (Request.ServerVariables["HTTP_HOST"] == "localhost")
{
Response.Redirect("http://www.yahoo.com");
}
else
{
lblMsg.Text += "Unauthorized Access to " + Request.ServerVariables["HTTP_HOST"];
}
return;
}
zxcvbnm
|
|
|
|
|
in vs 2005,when i display message box like this Response.Write("alert('hello world');"); some controls text and/or position changes. why is that so? Thanks in advance
|
|
|
|
|
I would guess this is happening since you are inserting your script into the middle of the response. It would be a better idea to use registerstartupscript, then it shouldn't affect your control text and position.
Ben
|
|
|
|
|
Thanks ben you're the man!
|
|
|
|
|
hello, am using a create new user control which is included in ASP.Net 2005, i want to make some changes on it like, changing the format of the password and to cancel the question the new user has to enter.
Thanks alot
Hamody
|
|
|
|
|
This is all in the control properties, also you may click on the smart tag and click edit template.
|
|
|
|
|
Hi
I have 4 RequiredFieldValidators control that property ControlToValidate I have set to 4 textboxes.Noe I want error message should display in Validation Summary Control. I have given error message in every requiredField Validator control's in text property.
Plz help how to dispaly errors using ValidationSummary Control.
Thanks
CARE CAREER
|
|
|
|
|
Just drag and drop the Validation Summary Control.
Regards,
Arun Kumar.A
|
|
|
|
|
Hi,
I have 2 pages in my website.
First Page will have some checkboxes.
There is also a link which will take to the second page.
Assume if I am in second Page(after clicking the link), and Press the BackButton from the IE toolbar,
the checkboxes in the First page remains checked.
Is there any way to make the Page_Load event triggered
on Pressing Back Button?
And there should not be any code in the link_click event.
Thanks in Advance.
Regards,
Arun Kumar.A
|
|
|
|
|
Disable caching the page.
|
|
|
|
|
Thank U very much.
I will try it out and let U know.
Regards,
Arun Kumar.A
|
|
|
|
|
Hi,
I have a webservice in ASP.NET that has one exposed WebMethod that lets the outerworld send us some data and we return a response back after processing that data.
We have a restriction though, our clients use a different develpment environment, and they do not use web services as we normally do.
They will be using 'HTTP Post' to call the web method exposed by the web service in the following manner:
http://mydomain.com/Webservice.asmx/ProcessData?=Parameter = Some Data
And the response that they get back is as follows
<string xmlns="http://mydomain.com/">Response As a String
Is there anyway that I can return only the response back to the client without the XML tags?
My client is being really adamant about getting only the response back and we already have a running webservice that would be really hard to convert to any other format.
Regards
Mohan
|
|
|
|