|
Hello all ,
I'm new in creating web service specially WCF web service.
Could anyone tell how is WCF web service is different from ordinary web service????
Thanx in advance
|
|
|
|
|
vinci007 wrote: WCF web service is different from ordinary web service????
When you use a WCF service from ASP.NET, under default settings it uses SOAP protocol for communication. This is no different from what web-services are using. But the advantage is WCF is highly customizable and you can switch the way communication should happen quickly. For example, one day you may need to use JSON format, converting to that won't be a big change.
For thick client applications, it also supports TCP binding.Best wishes,
Navaneeth
|
|
|
|
|
thanx for your help
but could we change the format (eg. JSON) in basic web service too?
I mean what is the need of WCF service then?
|
|
|
|
|
I am not sure. I think you can't change the protocol that web-service uses. For WCF, this[^] MSDN article should get you started. Best wishes,
Navaneeth
|
|
|
|
|
Hi
I have an Accordion control in my page and in that Accordion control i have around 22 AccordionPanel. In each panel i have several ASP.NEt controls like radiobutton list, textboxes and so on.
At the end of the page I have a submit button, On submit i would like to check that the radiobuttonlist in each of the accordionpanel is selected. If not it should display a message. I would like to do a client side validation. I am trying to use custom validator but it doesnt work.
Please guide me how to do it?
Thanks,
|
|
|
|
|
Faisal Khatri wrote: I am trying to use custom validator but it doesnt work.
Are you getting any particular error ?
|
|
|
|
|
well i almost solved it but now having another issue.
if (Page_ClientValidate() ==false) {
//alert('Pottey');
alert(Page_ClientValidate('First'));
if (Page_ClientValidate('First')==true)
{
accordianControl.set_SelectedIndex(0);
alert('Student Household Size is not verified.');
return false;
}
if (Page_ClientValidate('Second') == false) {
accordianControl.set_SelectedIndex(1);
alert('Student Number of College is not verified.');
return false;
}
so on Page_ClientValidate('First') it always gives true. By the way First and Second are my validationgroup of ASP.NET radiolist control
Any help?
|
|
|
|
|
Dear All,
I had placed a Placeholder control in my .aspx page and adding button controls into it dynamically from data base based on user and assigning click event to that control but after performing the button click the controls inside the Place holder were not displaying.Plz provide the necessary.
*************
foreach (IAmDealActionMappings obj in AMFacade.GetDealActionMapping("RMC", "NEW"))
{
Button B=new Button();
B.ID = obj.ActionId.ToString();
B.Text = obj.ActionDisplayCode.ToString();
B.CssClass = "button";
B.EnableViewState = true;
if (obj.ActionDisplayCode.Trim().ToString() == "Save")
B.Click += new EventHandler(SaveButton_Click);
buttonPlaceHolder.Controls.Add(B);
}
protected void SaveButton_Click(object sender, EventArgs e)
{
}
*************
Regards,
Pavan.
|
|
|
|
|
sreepavan150385 wrote: oreach (IAmDealActionMappings obj in AMFacade.GetDealActionMapping("RMC", "NEW"))
{
Button B=new Button();
B.ID = obj.ActionId.ToString();
B.Text = obj.ActionDisplayCode.ToString();
B.CssClass = "button";
B.EnableViewState = true;
If you are creating any dynamic control on/after Page_Load, they will not be maintain the view state. You need to create all the control before page load. As View_State and Post_Back Data, load before page load. You can create your dynamic control in Page_Preinit Event.
|
|
|
|
|
Hi all,
I am here to thank all of you who are replying to the messages posting here and helping the developers,
with your guidance i have created a new website
www.freeaddsonline.com
please have a look and give me feed back, and if you want you can use it also
and even your friends.
Thanks Once again for code project peoples help, waiting for your feed backs
|
|
|
|
|
Essentially a disguised ad.
The site looks like it was built in 1985. Did you bother to look at any modern sites to see what they look like and try to emulate them? I could go on but best I don't. Go hire a proper web designer.Tychotics: take us back to the moon
"Life, for ever dying to be born afresh, for ever young and eager, will presently stand upon this earth as upon a footstool, and stretch out its realm amidst the stars."
H. G. Wells
|
|
|
|
|
Giving a thanks and showing what i did with their help to the peoples who helped doesn't mean an ad.
It depends on the way you take.
|
|
|
|
|
For learning purpose, fine. But if you are thinking to use it professionally, it would need a lot of changes. Browsing through the websites which offer similar services should probably give an idea. You can also consider an idea of speaking with the professional web designer.
|
|
|
|
|
how to save data in a text file using sqlserver2005 and using asp.net with c#
|
|
|
|
|
developerit wrote: how to save data in a text file using sqlserver2005 and using asp.net with c#
If you want to save data in Text File, then what is the use of SQL Server ?
|
|
|
|
|
can you give the simple example to save data in text file
|
|
|
|
|
|
Thanks for code project team efforts,really it helps
|
|
|
|
|
from one sqlsever2000 i have two data base employeedb and companydb .how to create the connection string for this using asp.net with c#
and compare the values from two tables
|
|
|
|
|
Perhaps another way of addressing this would be to have a view or stored procedure in one database that gathers the data from the other so that you don't need 2 connection strings.Tychotics: take us back to the moon
"Life, for ever dying to be born afresh, for ever young and eager, will presently stand upon this earth as upon a footstool, and stretch out its realm amidst the stars."
H. G. Wells
|
|
|
|
|
can you give me the example how to read the table values from two connection string
using views or stored procedure
|
|
|
|
|
this works in sql server 2005! i haven't try in 2000!
SELECT * FROM Employeedb.dbo.TableOfEmployeedbDB INNER JOIN
Companydb.dbo.TableOfCompanydbDB ON
Employeedb.dbo.TableOfEmployeedbDB.IdField =
Companydb.dbo.TableOfCompanydbDB.IdField
You can access the dababase tables! even from another databases!
you only have to say to sql server where are you getting the data.
It's that why you need to specify the db in every Table sentence
good luck
|
|
|
|
|
Thanks to all code project team ...it really helps..
|
|
|
|
|
i am developing chat control in that when i click on online users then it open a chat panel only for single user .
My query is when i click next user then it should show next panel
just like when i click 10 users then it should open ten new panel for that ?
i want
(Note : i use linkbutton to show online users )modified on Monday, March 1, 2010 7:27 AM
|
|
|
|
|