In an answer to another question it was mentioned that passing XML as a string parameter to a web service was bad practice. What is the reason for this?
I have created a very simple webservice using C# in VS2008. I would like to publish this to a server using Jetty-6 as its web server. Is this possible, or is IIS the only way I can go.
Hi,
I want to be able to monitor the performance(load time of the entire page, load times of individually downloaded js/cs files , amount of memory used by the browser for the page,etc) of my web application from the perspective of the user(i.e the browser client).
Is there any tool/plugin , that can help me monitor all of these?
I am using a shared hosting environment that will not give me access to the command line.
Can I download the python module on my computer, compile it using python setup.py installand then simply upload a .py file to the web host?
If yes, where does the install statement place the compiled file?
I know that I can take my asp.net application and get it reversed to a UML document, but that doesn't tell the whole story of things like who can use what, what it calls in the way of stored procedures, what pages call what pages etc. etc.
Does anyone know of an article where someone has a comprehensive way to document a web application/site? Or shall I just make up my own way?
I'm looking for suggestions for web development IDEs. I'm currently looking at Aptana Studio and it looks rather impressive so far. Anyone have other suggestions?
I'm looking for support for HTML, CSS and JavaScript.
Thanks!
How come when eclipse generates a web service client from a wsdl using AXIS, it creates for each method two classes one that is named DoSomething and one with an E appended to it like DoSomethingE.
Which is the better options? Pros and cons of each? The web services are meant to be internal-facing and are all going to be roughly in the same datacenter (3-4km apart at most). Any ideas?
I have a simple web control (TaskList) that can have children (Task) which inherit from LinkButton, that can be added declaratively or programatically. This works ok, but I can't get the onclick event of a Task to be fired in my code behind. The code ..
[ToolboxData("<{0}:TaskList runat=\"server\"> </{0}:TaskList>")]
[ParseChildren(true)]
[PersistChildren(false)]
public class TaskList : System.Web.UI.Control
{
//[DefaultProperty("Text")]
public TaskList()
{}
private List<Task> _taskList = new List<Task>();
private string _taskHeading = "";
public string Heading
{
get
{
return this._taskHeading;
}
set
{
this._taskHeading = value;
}
}
[NotifyParentProperty(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public List<Task> Tasks
{
get
{
return this._taskList;
}
set
{
this._taskList = value;
}
}
protected override void CreateChildControls()
{
foreach (Task task in this._taskList)
this.Controls.Add(task);
base.CreateChildControls();
}
protected override void Render(HtmlTextWriter writer)
{
writer.Write("<h2>" + this._taskHeading + "</h2>");
writer.Write("<div class='tasks_container'>");
writer.Write("<div class='tasks_list'>");
writer.Write("<ul>");
foreach (Task task in this._taskList)
{
writer.Write("<li>");
task.RenderControl(writer);
writer.Write("</li>");
}
writer.Write("</ul>");
writer.Write("</div>");
writer.Write("</div>");
}
}
public class Task : LinkButton
{
private string _key = "";
public string Key
{
get
{
return this._key;
}
set
{
this._key = value;
}
}
}
Markup:
<rf:TaskList runat="server" ID="tskList" Heading="Tasks">
<Tasks>
<rf:Task Key="ba" ID="L1" Text="Helllo" OnClick="task1_Click" runat="server" />
</Tasks>
</rf:TaskList>
The Onclick event task1_Click never fires when clicked (although a postback occurs).
When I look at ASP.NET MVC projects I everytime see loose coupled architecture.
For what do I need a loose coupling in a web architecture (if I do not make unit tests)?
What are advantages and disadvantages of this?
The use case is to have an application store data on the client side when offline.
Is it advisable to use the Web SQL Database (which Chrome and Safari support, not FF though), or wait for the browsers to implement the Indexed Database API?
I'm an experienced iOS programmer and have recently began to dabble in web development to expand my horizons. I've found it quite interesting and was wondering what learning path I should take through all the numerous languages. Here's what I planned on doing:
HTML+CSS- PHP/Jquery
Does that sound reasonable? Currently I'm nearly confident with my html/css abilities, and am planning to move ahead. Any good suggestions you guys could throw my way?
I was asked by an interviewer today how I would implement Arabic as a second language into a PHP web application. I talked about choosing a unicode encoding for the database and the front-end, and designing RTL friendly user interface modules. And he didn't seem too happy with the answer. I don't really know anything about multi-lingual systems, how would you have answered that question?
Im trying to consume a Java web-service, that uses a certificate. I could generate the proxy, adding Service Reference. The problem is: It needs Basic HTTP Authorization Header.
Its necessary to encript the user/password and pass them in the header.
Thanks.
I know most of the Users of Stackoverflow would have knowledge about Search Engine Optimization(SEO).. Any tips and tricks about SEO for your fellow web developers ...
What are the alternatives to storing data in the HttpContext.Current.Session collection are available, in order to keep track of items for ajax postbacks that are executed via web methods/services?
I have learned how to create a simple website with the Zend Framework. Now suppose I want to put it on some web hosting server. In my ZF project, I have a folder named public, which I want to appear as the root of the URL. I want my site to be visible and accessible as
http://www.mysite.com
while being served from a page like /public/index.phtml or similar.
How is this done?
Starting to build web applications for mobile devices (any phone).
What would be the best approach using ASP.NET 3.5/ASP.NET 4.0 and C#?
UPDATE (feb2010)
Any news using windows mobile 7?
I am having several problems deploying my Asp.Net MVC application with my current web hosting and I am thinking about trying a new one.
What is in your opinion the one with best quality/price that allows to easily deploy ASP.Net MVC applications?
Thanks!
I am interested in knowing if there are any server-side web application frameworks which integrate nicely with CouchDB? Does anyone have any experience in doing this? It seems like a dynamic language would be well-suited for playing with the JSON, but I am more interested in hearing about how it would fit in with the framework and the application's design.
What is the best way to manage user authentication/sessions in a web app, ideally in a clustered environment, using Spring Framework/MVC?
I thought of creating a login bean that creates a jsession for authenticated users and then using AOP to check for the jsession before each controller method inovcation.
If there isn't a better way, what are some possible alternatives? Thanks.
I would like to create a web server that will serve/accept json files through REST. The JSON files being served will come from a database query and format the results into JSON.
Any suggestions for a good java library. I have tried using Apache HTTPComponents.
While maybe I can just create a servlet but I am not really allowed to install a servlet container in the server machine.
I have been given a wsdl file and i need to consume a web service using this wsdl file over the internet...i need to do this in jave ...could someone tell me the steps for doing this..i would also appreciate some useful links...