all groups > asp.net webservices > recent posts
Smart Client Install/Uninstall broken - Not able to Uninstall
Posted by Rahul at 4/24/2008 4:29:33 PM
I installed one smart client application. Then I upgraded the application
with newly published version and after that I tried to uninstall the
installed version from the add\remove program. I got following error
ERROR SUMMARY
Below is a summary of the errors, details of these errors are li... more >>
Limiting a WCF Service to "On" Domain Apps
Posted by John Sedlak at 4/24/2008 9:39:47 AM
How do I limit a WCF service to on domain apps so that external requests are
denied?
Ie, if the request comes in on mydomain.com it is okay but if is anything
else, it gets denied.
Thanks
--
John Sedlak
Microsoft MVP - Xna/DirectX
john@focusedgames.com
http://focusedgames.com
... more >>
RE: ASPX page can't see Session created by WCF with XBAP client
Posted by stcheng@online.microsoft.com at 4/24/2008 5:37:25 AM
Hi Izorich,
As for the setup ASP.NET seesion in WCF, what's the instruction you
followed , would you provide us the reference of it?
Also, based on my understanding, you're using ASP.NET session to store
report content generated by WCF service and let another XBAP client
retrieve report ... more >>
Re: is there a way to refer to public properties in other user controls
Posted by Web Search Store at 4/23/2008 12:00:57 PM
Hello,
I think you finally hit on what I needed. Thanks a lot. I have some user
controls that I want to refer to some public arrays, without having to
instantiate a new version of them each time. This class:
Imports Microsoft.VisualBasic
Public Class Try2
Public Shared ihope As St... more >>
Re: is there a way to refer to public properties in other user controls
Posted by Web Search Store at 4/23/2008 11:11:06 AM
Thanks for this tip.
Scott
"Stan" <google@philphall.me.uk> wrote in message
news:f1447a6c-539a-4f1b-baf9-d3517f431485@f63g2000hsf.googlegroups.com...
> Hello again:
>
> I've just spotted the mistake.
>
> Your class declaration needs to have the "public" attribute as well
> thus:
>
> Pu... more >>
Re: is there a way to refer to public properties in other user controls
Posted by Web Search Store at 4/23/2008 11:10:29 AM
Thanks.
I'll try what you have said.
Scott
"Stan" <google@philphall.me.uk> wrote in message
news:67adfbad-2593-4ff2-a63d-60ef6276c944@l42g2000hsc.googlegroups.com...
On 22 Apr, 21:03, "Web Search Store" <i...@websearchstore.com> wrote:
> Hello,
>
> Sorry to be so dense. I have been read... more >>
ASPX page can't see Session created by WCF with XBAP client
Posted by Izorich at 4/23/2008 9:56:01 AM
I followed great instructions on how to setup ASP.NET session in WCF and it
works great inside WCF service.
When I tried acessing session data directly from ASPX page it was not
available.
Basically what I am trying to do is to generate a large report file through
WCF service. I then nee... more >>
packet droped
Posted by vizghoolak at 4/23/2008 8:56:00 AM
hello my friends
i have a web based app in asp .net and and my client can access it from
internet(about 3000 concurrent session). some times service not available to
users. on that times server resource status like cpu usage ram usage internet
bandwith is good !!! sql service can response ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
RE: opearation timed out error
Posted by jms at 4/23/2008 7:51:01 AM
Take a look at this article http://support.microsoft.com/?id=821268. There
is a good chance that you didn't test for the loads you are seeinn in
production and need to change some configuration settings.
"AVL" wrote:
> Hi,
> I'm working on a windows application. My app uses web service t... more >>
Re: is there a way to refer to public properties in other user controls
Posted by Juan T. Llibre at 4/22/2008 7:25:44 PM
Please follow this walkthrough for using Properties in Class files:
http://msdn2.microsoft.com/en-us/library/we4hy2z9.aspx
You don't need to reference the Class file(s).
Make sure you use inline code for that example, whether C# or VB.NET.
There's special rules for using classes in code-be... more >>
Re: is there a way to refer to public properties in other user controls
Posted by Stan at 4/22/2008 4:41:16 PM
Hello again:
I've just spotted the mistake.
Your class declaration needs to have the "public" attribute as well
thus:
Public Class allofthem
....
Stan
(P.S. the attribute "Partial" is to allow Class code to be spread over
more than one file.)... more >>
Re: is there a way to refer to public properties in other user controls
Posted by Stan at 4/22/2008 4:35:26 PM
On 22 Apr, 21:03, "Web Search Store" <i...@websearchstore.com> wrote:
> Hello,
>
> Sorry to be so dense. =A0I have been reading about the App_code folder and=
> trying to put a class in there with a global variable.
>
> Here's what I have:
>
> in a file globals.vb:
>
> Partial Class allo... more >>
Re: is there a way to refer to public properties in other user controls
Posted by Web Search Store at 4/22/2008 1:03:17 PM
Hello,
Sorry to be so dense. I have been reading about the App_code folder and
trying to put a class in there with a global variable.
Here's what I have:
in a file globals.vb:
Partial Class allofthem
Public ccc As String = "howdy"
End Class
Then, I rightclicked the projec... more >>
Re: is there a way to refer to public properties in other user controls
Posted by Web Search Store at 4/22/2008 12:23:22 PM
Thank you for that insight.
I'll try putting a class in the app_code folder and see if I can get what I
want.
I'm fully aware that classic .asp is a totally different story. I'm just
trying to accomplish what I used to be able to do there.
Anyway. I'll give it a try.
Thanks.
Sco... more >>
Cannot consume webservice via http get
Posted by Dan at 4/22/2008 6:18:00 AM
Hi I wrote the following webservice
[WebMethod]
public void test()
{
return ;
}
I added this in the web.config file:
<webServices>
<protocols>
<add name="HttpPost"/>
<add name="HttpGet"/>
</protocols>
</webServices>
but when I try to consume... more >>
Re: Consuming Web Service with Nullable DateTime in .net 1.1
Posted by jialge@online.microsoft.com at 4/22/2008 3:47:59 AM
Hello Rob,
I can understand why you said you are not pleased with the solution.
Editing the proxy class may result in troubles when developers update the
web service proxy (Update Web Service). However, the proxy class is the
only place where we can work around the issue in .NET 1.1 clients... more >>
Re: is there a way to refer to public properties in other user controls
Posted by Stan at 4/22/2008 1:40:56 AM
On 21 Apr, 20:21, "Web Search Store" <i...@websearchstore.com> wrote:
> Hello,
>
> I set up a web page with 2 user controls.
>
> In classic asp, the first one did all the declarations, and the second one=
> used the values, and could reset it.
>
> In ASP.Net so far I can't see how to relat... more >>
Re: is there a way to refer to public properties in other user controls
Posted by Teemu Keiski at 4/21/2008 11:14:02 PM
Using @reference directive
(http://msdn2.microsoft.com/en-us/library/w70c655a(VS.80).aspx) makes the
UCs type accessible, although not 100% sure how it would behave in this
situation as they'd (UCs) need to reference each other but you can try.
--
Teemu Keiski
AspInsider, ASP.NET MVP
ht... more >>
Re: Visual Studio 2008 Webservice conversion problem
Posted by John Saunders at 4/21/2008 2:51:11 PM
"jms" <jms@discussions.microsoft.com> wrote in message
news:C9B420A3-1A79-4228-87E6-F010EAA51F1A@microsoft.com...
> Hi,
>
> I have a problem that confounds me. We have made a decision to go with
> Visual Studio 2008. I have a webservice that was working fine in our dev
> environment under 200... more >>
Re: Centralize SOAPHeader Processing?
Posted by John Saunders at 4/21/2008 2:47:24 PM
"Spam Catcher" <spamhoneypot@rogers.com> wrote in message
news:Xns9A83112EB8527usenethoneypotrogers@127.0.0.1...
> Hi all,
>
> In an ASP.NET web service, is there a way I can centralize processing of
> SOAP Headers?
>
> Currently I need to nput my header logic into each webmethod - is there ... more >>
Re: DateTimes and MinOccurs
Posted by John Saunders at 4/21/2008 2:38:30 PM
"ads" <shah.ami@gmail.com> wrote in message
news:9089ef24-76be-477a-b56a-1dd202a0ebb3@k13g2000hse.googlegroups.com...
> I'm writing a webservice where all of the data elements should have a
> minOccurs = 0. I'm using VS2005.
>
> This is fine for most of my elements, but all of my datetime... more >>
Re: Is webservice.htc obsolete?
Posted by John Saunders at 4/21/2008 2:34:43 PM
"Rob Kraft" <RobKraft@discussions.microsoft.com> wrote in message
news:D2B7C5D1-2630-4679-9162-59673528EC2D@microsoft.com...
> I started developing a web service following samples that made use of
> webservice.htc. I have since found a way to call a web service with
> javascript from a web... more >>
Re: is there a way to refer to public properties in other user controls
Posted by Web Search Store at 4/21/2008 1:42:24 PM
Thanks a lot.
I'll read it.
Scott
"Teemu Keiski" <joteke@aspalliance.com> wrote in message
news:%23SQMCx%23oIHA.4620@TK2MSFTNGP06.phx.gbl...
> Using @reference directive
> (http://msdn2.microsoft.com/en-us/library/w70c655a(VS.80).aspx) makes the
> UCs type accessible, although not 100%... more >>
Re: Visual Studio 2008 Webservice conversion problem
Posted by jms at 4/21/2008 1:38:19 PM
I figured out what the issue was now I have to figure out why. The installer
project (also originally created in 2005 and upgraded) created an additional
bin directory which held the executable. The structure looked like this.
WebServiceFolder
|
Bin
|
Bin
Agai... more >>
is there a way to refer to public properties in other user controls
Posted by Web Search Store at 4/21/2008 12:21:24 PM
Hello,
I set up a web page with 2 user controls.
In classic asp, the first one did all the declarations, and the second one
used the values, and could reset it.
In ASP.Net so far I can't see how to relate them so this will work.
This user control defines the properties:
<%@ Cont... more >>
Re: Visual Studio 2008 Webservice conversion problem
Posted by jms at 4/21/2008 12:10:01 PM
John,
Thanks for the reply but I said nothing of Website. I have a webservice
project that was created under visual studio 2005. ASP.Net Webservice
application to be exact in case we are getting lost in semantics. I upgraded
the project to Visual Studio 2008 and targeted the Framework to 2... more >>
Visual Studio 2008 Webservice conversion problem
Posted by jms at 4/21/2008 11:35:00 AM
Hi,
I have a problem that confounds me. We have made a decision to go with
Visual Studio 2008. I have a webservice that was working fine in our dev
environment under 2005. The webservice needs to be able to run on Windows
2000 servers and Windows 2003 so I made the decision to Target Frame... more >>
Is webservice.htc obsolete?
Posted by Rob Kraft at 4/21/2008 11:13:00 AM
I started developing a web service following samples that made use of
webservice.htc. I have since found a way to call a web service with
javascript from a web page that is MUCH easier than using webservice.htc. Is
webservice.htc obsolete? Would webservice.htc have any advantage over this
... more >>
WCF and RESTful web service that outputs complex XML type (.NET 3.5)
Posted by Matty J at 4/19/2008 6:17:49 PM
Hi.
I'm trying to create a .NET 3.5 WCF web service .svc with a XML schema
that somewhat complex, which I'm new to.
The schema I want is, in a simplified form for example puposes,
similar to the following:
<root>
<productoffer>
<product>
<name>Name</name>
<desc>Descrip... more >>
Re: Combiningg WCF, ASP.NET 3.5 and Silverlight
Posted by John Sedlak at 4/19/2008 11:55:21 AM
Oops. Should read "Combining".
Never-the-less, I touched something today while trying to add a new service
and now the services don't work over LAN or the internet.
--
John Sedlak
Microsoft MVP - Xna/DirectX
john@focusedgames.com
http://focusedgames.com
"John Sedlak" <kriscsc@msn.c... more >>
|