Web Service With No AJAX Framework Using Textpad?
Jan 19, 2010Can you call a webservice with no AJAX framework using textpad
View 1 RepliesCan you call a webservice with no AJAX framework using textpad
View 1 RepliesDifference between .net framework 2.0 and .net framework 2.0 with service pack 2
View 4 RepliesI want to develop a web service that handle another web service's event. (C#.Net 3.5 framework)
View 1 RepliesI have running existing web service in framework 2.0, but i want to convert all my service to framework 3.5 WCF Service..
View 1 Replieswhat is Features added in Framework 2.0 over the framework 1.1? i want in Details?
View 2 RepliesI am trying to call a web service which is hosted in .net framework.
Here is my piece of code:
<%
function ValidateUser()
set objSoapClient = server.CreateObject("MSSOAP.SoapClient30")
objSoapClient.ClientProperty("ServerHTTPRequest") = True
Call objSoapClient.mssoapinit("http://10.13.222.240:81/megaservice/UserWS.asmx?WSDL","UserWS")
ValidateUser=objSoapClient.IsUser(2)
End function
%>
And i call the function as
<%
=CalculateDiscount
%>
It is giving error as
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/asp/index.asp, line 12
800401f3
i am working on .net and new on asp.I haven't worked on asp and it was pretty easy to call through visual studio in .net but can't do the same for asp
At work I need to create a new web application, that will connect to an MySql Database.
(So far I only have expercience with Linq-To-Sql classes and MSSQL servers.)
My superior tells me to use the entity framework (he probably refers to Linq-To-Entity) and provide everything as a service based architecture. Unfortunately nobody at work has experience with that framework nor with a real nice server oriented architecture. This speficic project I'm leading will be long-term, meaning multiple years, so it would be best to design it the way, that multiple target plattforms like asp.net, c# wpf, ... could use it)For now, the main target plattform is ASP.net
So I do have the following questions:
1) Where can I read best what's really behind service oriented architecture (but for now beginner tutorials work fine as well) and how to use it in best practise?
2) So far I can't see a real difference between Linq-To-Sql classes and the information I've googled so far on the 'entity framework'. So, whats the difference? Where do I find nice tutorials for it?
3) Is there any difference in the entity framework regarding the database server (MSSQL or MySQL)? If not, does that mean that code snipperts I will stumble across will word database independent?
We are developing a web site and in this site we have a link to a clickonce deployed application. This is a direct link to the executable (Remote share execution). For this to be possible the client must have .NET framework SP2 installed. The problem is i need to get the SP version of the clients machine. I can access client information using Request.UserAgent but this doesn't have a clue about the service pack.
View 3 RepliesI have a deadline to install my windows service NOW. I developed it in VS2010 and chose the .NET 4.0 framework. The server where I am installing it, which is a server that hosts our live web sites, does not have .NET 4.0 installed. So I have to change the framework to 3.5. I have this error now when I try to build:
Error13Type System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a in the data at line 120, position 4 cannot be located. Line 122, position
5.C:DevprojectsDocFtpToVendorDocumentFtpProjectInstaller.resx1225DocumentFtpIt is in ProjectInstaller.resx and also Service1.resx. Is it because the version=4.0.0.0, and if so how do I change that? And if not, what is the cause?
I have recently converted all my applications to framework 4.0 and am very happy as a whole.
I have, however, run into a bit of a bind: i have exposed quite a few web services that have methods returning datasets.
Clients immediately started complaining that the order of the tables within the returned datasets were different. I investigated and can confirm that the webmethods are indeed shuffling the tables within the datasets. The order of tables in the method result are markedly different from the table order in the code before being returned.
My question is: is it possible to hard code the order of tables within the dataset being returned by a webmethod? I know that clients should, ideally, be referencing the tables via the table names, but that is - unfortunately - not the case in the really real world.
I'm trying to insert a new EF object containing a reference to a related table via foreign key, and cannot get the reference stored in the new object. I have two tables in a SQL Server 2008 Database:
Component Templates
PartGroups
with a Foreign Key linking them thus: ComponentTemplates:ID [0..1<->*] PartGroups:ComponentTemplateID
I have imported these tables into a .NET web application project .edmx file (using a new ADO.NET Entity Data Model), and then created a Data Service which I then reference in a Silverlight 3.0 project. The objects are available as expected in the data context called by my Silverlight app and load correctly. Now, when I try to save a reference of ComponentTemplate into a newly created PartGroup, the PartGroup object is created in the database, but the value of ComponentTemplateID in the newly created table record is NULL.
[Code]....
(Note that _ctCtrl.ComponentTemplate is a confirmed non-NULL object reference to the parent object on which PartGroup is a child)
Can I use the latest AJAX Control Toolkit on a .net 2.0 project which will be deployed to a server with framework 2.0 only? If not, where can I download the latest AJAX Control Toolkit for framework 2.0?
View 4 RepliesWe 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 RepliesThis is happening only in my system. when i do a build it just works fine but when i try to debug the service i am getting the follwoing error. please let me konw what would be theissue.
Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe DebugWCFService. Error was: Action DebugWebProject failed to execute:
Value does not fall within the expected range..
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.ArgumentException: Value does not fall within the expected range.
at EnvDTE.Properties.Item(Object index)
at Microsoft.Practices.RecipeFramework.Extensions.Actions.VisualStudio.DebugWebProjectAction.Execute()
at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName, Dictionary`2 inputValues)
at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName)
at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionCoordinationService.Run(Dictionary`2 declaredActions, XmlElement coordinationData)
at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)
--- End of inner exception stack trace ---
at Microsoft.Practices.RecipeFramework.Recipe.UndoExecutedActionsAndRethrow(Exception ex)
at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)
at Microsoft.Practices.RecipeFramework.Recipe.Execute(Boolean allowSuspend)
at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe, IAssetReference reference, IDictionary arguments)
at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(IAssetReference reference)
at Microsoft.Practices.RecipeFramework.RecipeReference.OnExecute()
at Microsoft.Practices.RecipeFramework.AssetReference.Execute()
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeMenuCommand.OnExec()
at Microsoft.Practices.RecipeFramework.VisualStudio.AssetMenuCommand.Invoke()
I can find loads of articles about using the CD to load the Ajax framework, but I can't find anything regarding not using it.point me in the right direction.
ASP.Net 4
I am using ASP.Net 3.5. I have fiiled dropdown list in javascript using ajax service but unable to get its selected value in button click event on server side.
View 1 RepliesI am new to WCF, I was using web service asmx before. I have trouble on making my wcf JSON ajax service work through http like asmx.Could you help me see what wrong in my code?My WCF services are defined in my website application folder. My aim is to call this service in my aspx page java-script code and return complex object back as JSON to my javascript. I have no problem on doing this through classic asmx web service.
When I try to test it through my browser by type this in the URL , URL-http://localhost:3849/WebServices/Account/WCFCompanyService.svc/GetAll. it return "Method not allowed."
But if I type just this URL-http://localhost:3849/WebServices/Account/WCFCompanyService.svc, it return this:
WCFCompanyService Service
You have created a service.To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command line with the following syntax:
svcutil.exe URL-http://localhost:3849/WebServices/Account/WCFCompanyService.svc?wsdl
This will generate a configuration file and a code file that contains the client class. Add the two files to your client application and use the generated client class to call the Service. For example:
C#
class Test { static void Main() { HelloClient client = new HelloClient();
[Code]....
This is my Ajax-enabled WCF service code:
[Code]....
This is the web.config service model setting
[Code]....
i installed Ajax Docs for asp.net 2.0 version ajax 1.0 in my computer, win xp sp2 visual web developer 2008 sp1 and sql server 2008 express.I receive a message that if i want to convert all projects to framework 3.5, and i did it,So i compile it and the project lose reference to namespace dll in the subprojects - LocalizingClientResourcesWalkthrough ( dll LocalizingScriptResources.dll) - System.Web.UI.ScriptReference ( dll SampleControl) When i delete these subprojects it gives error in the next one.
View 1 RepliesI am working in framework 2.0 and currently I am using two SliderExtenders to select the minimum and maximum values. Are their any way to make a single control with two handles, just like MultiHandleSlider.
View 5 RepliesHow can I create a control that ables me to edit the text area with html commands like "bold" and etc. ???
We have it in ajax control tool kit just for 3.5 framework but for the others version like 2.0 we don't have this control...so how can I do some thing like that ?
Question is do you need .net framework installed on web server in order to use AJAX?
Only 2.0 .Net framework is installed and it i can't upgrade for reasons beyond my control.
my application is in vs2005 (2.0 framwork) , now i wnt to add ajaxcontrol on my applicaiton its ok and also working fine , now the problem is when i m using an ajax control its generate script so because of that page loading takes time ,
i also search the way to optiomize that , and i found need to[Code]....
i have also search the metod on how to combile that and all , some ppl using various way to combile that
one of that i found this article , + if you use 3.5 then can also
[Code]....
ut my framework is 2.0 and most of them functioning is avialble on (3.5 famework )
so wht is good idea shall i remove my 2.0 framework and again install 3.5 , will it affect my current application
i m only using (ajaxcontrol) feaures nothing else
coz i have seen if i use 3.5 i can use LINQ also and this <compositescript> too
We have recently upgraded to Framework 3.5 from 2.0. Since then, areas of the site now do full postbacks where they did partial postbacks in 2.0. There are numerous cases and they seem to differ. In one case there is a image button within a repeater that
is in an update panel. The update panel is also within a user control. In 2.0 the click of the image button would cause a partial postback. Now in 3.5, it results in a full postback. If the repeaters' ItemCommand event is set up in the update panels' asyncpostback
triggers, it will work again. Shouldn't the controls be picked up by the updatepanel by default? Other areas of the site that use similar controls and methods seem to work fine.
Having to some kind of code fix is really not an option. We would require a full scale manual retest of the whole site to find all the partial postbacks that no longer work and try and fix. We do not have the time or resources to handle that. I am hoping there is a setting or property in the web.config that I am overlooking that could be set that would return everything to working as it did in 2.0.
I have web site where web application exist in asp.net2.0 ie Framework 2.0. Now I would like Add another web application of ASP.NET3.5 FRAMEWORK. After adding assemblies of 3.5. I am getting error in ajax 1.0 code where this code is called
ScriptManager.RegisterClientScriptBlock(p, cstype, csname1, cstext1,true );
Error stated as CS0433: The type 'System.Web.UI.ScriptManager' exists in both 'c:WINDOWSassemblyGAC_MSILSystem.Web.Extensions1.0.61025.0__31bf3856ad364e35System.Web.Extensions.dll' and 'c:WINDOWSassemblyGAC_MSILSystem.Web.Extensions3.5.0.0__31bf3856ad364e35System.Web.Extensions.dll'
Is there any possibility that these error can be rectified from web.config or only we have to delete the assembly file from server of 1.0
[code]....
I wanted to make extensive changes to a project, so I created a copy of the project folder. In the new version, I renamed all of my namespaces and a few classes. Everything compiles and runs, however, I am getting this javascript error. 'ASP.NET Ajax client-side framework failed to load' and my 'Auto complete' text box no longer works. This error does not occur in the original project.
The HTML source between the original and the new project are identical, save for the few lines of code that throw this error. The web.config files are identical.