Weird Project Specification - Web Service - AJAX?
Mar 25, 2010
I have a project spec to build an online card game, and on a point it mentions:
"...the page should not post back to the server at any point; neither should the ASP.NET UpdatePanel control be used. Server communication should occur through webservice calls or similar."
I just asked a developer if it's possible to use AJAX without UpdatePanel, or/and use just a web service to prevent a page postback, and he said "the spec sounds a bit out of context".
Basically the application should provide a user interface and use Async postbacks (i.e. AJAX)...
View 7 Replies
Similar Messages:
Jan 25, 2011
it is possible that AutoCompleteExtender can call a service Web of another project of my solution?
View 1 Replies
Nov 4, 2010
We are upgrading .Net 2.0 Framework Web service project to .Net 3.5 Project. We are not changing any methods. Will there be any change in the proxy because of this Framework Upgrade.My requirement is to all the existing clients consuming this webservice should not have any impact due to this framework upgrade.
View 1 Replies
Feb 10, 2011
I'm currently trying to work out the best way to build this web application, which will then be intergrated on other systems, such as WinForms, Intranets etc.
We hope to include the usual layers i.e. DAL, BLL, BOL and UI but I have been experimenting with Entity Framework 4 and WCF Data Services and managed to get something in place where I was using WCF as a gateway to EF4.
i.e. Adding a Service Reference to my project and then using the EF4 context and writing LINQ queries against the DB
e.g.[Code]....
Now with the current setup I would still need to write a DAL Class Library, that interacts with the Data Service, because as I said WCF Data Services only seems to be a gateway, I can't see where to put the code (above) in the Data Service and then how I could these methods.
My questions are: 1. How do I develop a WCF Data Service in such a way to allow this behaviour - I know how I could do it using ASMX web service, something like [Code]....
2. If I am to use WCF Data Services, how is serialization handled (if at all) - again I know how to do something in ASMX web services
3. Again, If I am to use WCF, how do I add Security and only allow my applications to access the web service - for obvious reasons
4. Would it be possible / logical to also include the Business Logic Layer into the web service?
View 4 Replies
Jan 15, 2010
I just upgraded my Web Project from 2003 to 2008 and whenever I add a new Web Service to my project I get the following error:
Quote:
Error 40 Field or property 'ConformsTo' is not found.The line it highlights is this one:
Code:
<System.Web.Services.WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)>
This line is auto-generated by VS, but defaults to an error. I have searched everywhere and cannot find an answer
View 6 Replies
Apr 30, 2010
am doing an online computer service project. what i am looking for is an example of the contents that will be asked to the customer when he is logging an complaint. any suggestions, links will be really useful.
View 2 Replies
Feb 20, 2011
I have two projects in my solution: MyApp.Domain and MyApp.WebService. MyApp.WebService is a WCF service library. I want to use some utility functions from MyApp.Domain. So in MyApp.WebService, I added a reference to MyApp.Domain. Intellisense picked it up just fine, it recognized the function I need to call. But when I build the solution, I get this error:
The type or namespace name 'Domain' does not exist in the namespace 'MyApp' (are you missing an assembly reference?) at using MyApp.Domain.Utility;
What's going wrong here?
View 1 Replies
Mar 18, 2011
I am creating a class library which will have business logic and i want to call this from SQL Server 2005 DTS. What i want to know is how to consume a WCF service from this class library project and compile it in a dll. How to deal with app.config created when servie is refered in class library? Could somebody send me a link to any article which can help me to implement the same in my current project?
View 11 Replies
Oct 29, 2010
I have a stored procedure where i am creating a run time query.
Stored procdure compiled successfully. But when parameter is passed its have an error.
[code]....
Its have a Error like this.
Invalid format specification: '% (RTRIM(LTRIM(baln))) % '.'.
when i am trying to execute it with bold parameter.
exec USP_GetRedemptionBYPlayer 'baln',null,null,null
View 5 Replies
May 25, 2010
I am not able to override the design-time URL of a webservice in my web config.
I must be doing something stupid
My Dll is called SMSLibrary2X which has a web reference to a UserService web service like this (taken from the app.config of the dll:
<setting name="SMSLibrary2x_TAMService_UserService" serializeAs="String">
<value>https://devss.ourdomain.ca:4452/UserService.asmx</value>
</setting>
, however, in the web reference, the URL property is [URL]
As I understand it, the app.config for the DLL is not really pertinent, except perhaps to copy the setting into the app.config of the unit test project.
So, In the SMSLibrary2xTests web.config file, I have this:
[Code]....
However when my unit tests run, always pick up the URL of the web service that I defined when I added the Web Reference to the SMSLibrary2x DLL project, which is fine for design time, but not appropriate when I want to point to different versions at deploy time (dev, QA, prod, etc). I just can't seem to get it to pick up the proper URL.
View 5 Replies
Mar 23, 2010
I get the following error which I don't get when I build a simple WCF Data Service in an non MVC project. I added the following to my global.asax:
[Code]....
The type 'MvcWebApp.WcfDataServiceTwitter', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.
View 2 Replies
Jan 17, 2014
I have create one service.cs for insert record I want to call Service.asmx on button event i.e. when I click on button then insert the record in database
View 1 Replies
Jun 28, 2010
Google's webmaster tools has started showing some very strange internal links for my site. It appears "normal", but I'm not sure what to make of it. If you use parentheses and put in a single letter, then put literally anything in parentheses after that, the link works. I did a search for any other MVC sites so I could see if they had the same behavior. Microsoft's site came up at the top of the list with an odd link as well. The search terms were "asp.net mvc site" and the first link I got was for: [URL]
I don't like this at all. You can change the S to an A or any other letter, and then put any text you want in the next section. Anyone know how to stop it? For the life of me I can't see anything wrong with my routes. I used MVC so I wouldn't have strange url's floating around in search engines so this is pretty disappointing. Nearest I can guess from the Google "internal links" list is that it may be a cookie. But I can't find any circumstance when I view the source on my site where I see anything but the proper relative links.
View 2 Replies
May 13, 2010
Every few days when my webpage is accessed strange characters are embedded in the URL like this:[URL] I did some searches on the internet and found that if the characters begin with the letter 'S', it is the session id used when cookieless is set to true. In my case the beginning letter is 'A', and i couldn't find anything about that. This is bad because once these strange characters appear, all the submenus in my page will disappear (I had another post about his menu problem in here:[URL]
Once I restart the webpage in IIS the URL will become normal again, but it will appear again in a few days.
Does anyone know what these strange characters (that begin with 'A') are? How to avoid them?
[Code]....
View 9 Replies
Oct 15, 2010
I am getting the error above when i click on a button...
View 4 Replies
Apr 5, 2010
i used these codes. and when i go and run the page and input the details, this message appears on the webpage:
"Format of the initialization string does not conform to specification starting at index 0."
View 1 Replies
Oct 15, 2010
i get the error:Format of the initialization string does not conform to specification starting at index 0
when i submit information on button click.
View 8 Replies
Oct 2, 2011
I have a database table and the column that has identity specification set to true is not displaying in numerical order. Whether I use Server Explorer and use Show Table Data or I create an application to view the contents of the table using a DataGridView I see that column displayed with the numbers often though not always in a non-numerical order.
Does it perhaps have to do with the way the rows for that column were added or would it be something else. I was looking at the properties for that column but don't see what I would change to make the rows display in numeric order.
View 3 Replies
Nov 18, 2010
How to access proxy class of a web service which has been referenced in the website project of a solution within a class library project in the same solution?
I mean no web-service reference/setting is added to the class library and instead it needs to be picked from the web project.
View 1 Replies
Apr 17, 2010
I have written this datalist :
<asp:DataList ID="DataList2" runat="server" Height="16px" Width="412px">
<SeparatorTemplate>
<hr />
</SeparatorTemplate>
<ItemTemplate>
<asp:LinkButton ID="LinkButton1" runat ="server" Text='<%# Eval("Name") %>' PostBackUrl='<%#Eval("Url")%>' />
<br />
Description:
<asp:Label ID="new" Text='<%#Eval("Description") %>' runat="server" /> </ItemTemplate>
</asp:DataList>
</div>
It raises an exception saying that the linkbutton has to be placed in a tag that contains runat="server" although it exists. Here is the trace
[HttpException (0x80004005): Le contrôle 'DataList2_ctl00_LinkButton1' de type 'LinkButton' doit être placé dans une balise form avec runat=server.]
System.Web.UI.Page.VerifyRenderingInServerForm(Control control) +8689747
System.Web.UI.WebControls.LinkButton.AddAttributesToRender(HtmlTextWriter writer) +39
System.Web.UI.WebControls.WebControl.RenderBeginTag(HtmlTextWriter writer) +20
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +20
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +10
System.Web.UI.WebControls.DataListItem.RenderItemInternal(HtmlTextWriter writer, Boolean extractRows, Boolean tableLayout) +51
System.Web.UI.WebControls.DataListItem.RenderItem(HtmlTextWriter writer, Boolean extractRows, Boolean tableLayout) +57
System.Web.UI.WebControls.DataList.System.Web.UI.WebControls.IRepeatInfoUser.RenderItem(ListItemType itemType, Int32 repeatIndex, RepeatInfo repeatInfo, HtmlTextWriter writer) +64
System.Web.UI.WebControls.RepeatInfo.RenderVerticalRepeater(HtmlTextWriter writer, IRepeatInfoUser user, Style controlStyle, WebControl baseControl) +262
System.Web.UI.WebControls.RepeatInfo.RenderRepeater(HtmlTextWriter writer, IRepeatInfoUser user, Style controlStyle, WebControl baseControl) +27
System.Web.UI.WebControls.DataList.RenderContents(HtmlTextWriter writer) +208
System.Web.UI.WebControls.BaseDataList.Render(HtmlTextWriter writer) +30
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
System.Web.UI.Page.Render(HtmlTextWriter writer) +29
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266
<div class="story" runat="server">
View 1 Replies
Feb 19, 2010
Recently I got a strange behavior, the website hangs and just doesn't reply unless I go to iis and restart either app pool or whole IIS - BUT what is the most strange thing is that in case I go to remote desktop of the server and try to access it locally it DOES work just fine. I read couple threads about deadlocking and hanging because of memory leaks and non closed sql connections BUT why it still does work from the local?In case there is something wrong with the code - why does it still work from locally?
View 2 Replies
Jan 21, 2010
try to figure out what is wrong with my code but I'm lost. I've a ModalPopupExtender, triggered in code behind by the onClick event link button. The FIRST time I display my popup, it works well and if I close my popup using javascript, it works and I can get my popup back by clicking on my linkbutton again. But, if I click the "Save" button of my popup (which save data and close the popup), I can't get my popup to display again. Even if I close my popup first using javascript and then calling my server side code to save my data, the result is the same, I can't display my popup again. Seems like the postback "break" it.This popup is in an conditinal UpdatePanel and event trying to manually update the panel after the popup.show() method change nothing.Finally, I checked what server sent back to the browser using firebug and I can confirm that I received only view state information (no UpdatePanel to update), even after calling panel.Update().
View 2 Replies
May 27, 2010
I have a crazy issue when tabbing from one textbox to another.
This happens on a webpage which contains about 20+ textboxes, and this happens on the same textboxes, and I have no idea what is the cause.
When the cursor is in a textfield, I type in a value, hit tab, the focus goes to the next textbox, I hit tab, the focus stays in the same textbox, I have to hit tab again to go to the 3rd textbox.
This is annoying because the user is types their values, hits tab, starts typing values for the next txtbox, only for the cursor to stay in the pervious txtbox.
We use IE8.0
View 1 Replies
Jan 24, 2010
The code I am using is underneath this.
Server Error in '/' Application.
Format of the initialization string does not conform to specification starting at index 0.
Description:
An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Format of the initialization string does not conform to specification starting at index 0.
Source Error:
[code]....
View 7 Replies
Nov 9, 2010
I want to make a email service project like gmail, yahoo with small feature. I am unable to understand from where i start it. Can you provide me the complete detail to start this project.
View 6 Replies