Showing posts with label developing. Show all posts
Showing posts with label developing. Show all posts

Saturday, March 31, 2012

web server issues

I am using visual web developer 2005 and SQL Server 2005 for developing my web projects.

for deploying my website,i do not want to use IIS . instead i want some other web server that support the .NET frame work so that i can host my website

can you please specify some

You need IIS to run your ASP.NET applications at the hosting company. What is the thing worrying you mainly?

Regards


How about Mono?

Mono allows you to run and execute your .NET work on Linux, Mac OS, etc ... But I am not sure how it runs web applications maybe on Apache or so, never worked with it before.

But the owner of this thread mentioned Visual Studio, so I conculded he/she is using a Windows environment!

Regards


I get the following error when i run my ASP.NET 2.0 applications in IIS ( windows XP machine)

The XML page cannot be displayed

Cannotview XML input using XSL style sheet. Please correct the error and then clickthe Refresh button, or try again later.


Aname was started with an invalid character. Error processing resource'http://localhost/default.aspx'. Line 1, Position 2

<%@. Page Language="VB"AutoEventWireup="false" CodeFile="Default.aspx.vb"Inherits="_Default" %>
-^

I get the following outputwhen i run in Mozilla Firefox version 2.0.0.1

XML Parsing Error:not well-formed
Location: http://localhost/default.aspx
Line Number 1, Column 2:

<%@. Page Language="VB"AutoEventWireup="false" CodeFile="Default.aspx.vb"Inherits="_Default" %>
-^

i tried making IISaware that it must use the correct .NET framework by callingaspnet_regiis -i. tool found in the folderC:\WINDOWS\Microsoft.NET\Framework\v2.0.50727.


please help me to solve this problem


Have you set the application to run under ASP.NET 2.0? Make sure you do so!

Regards

Saturday, March 24, 2012

web service help

Hello,
I am developing an "image server" that will perform image processing on
image files sent from many computers on a local network My concern is send
images as quickly as possible and not have the files crashing into each
other on the server. I have demonstrated sending images very quickly using
the vb.net socket class but I am wondering if a Web Service might be able to
do this also. I have looked at some Web Service examples but none of them
concern uploading large files.
Anyone able to provide some suggestions or better yet some coding examples?
Thanks
JohnThe difficulty of using service for large files deals with the fact that the
binaries have to be encoded/decoded to transfer as soap. With Remoting, you
might get around this, as long as your partner is using Windows. Otherwise,
for interoperability, you are stuck either with sockets or web services.
I am not saying a web service will not work, only that it could be
problematics, as it could time out on slower connections.
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
****************************************
*********
Think outside of the box!
****************************************
*********
"ubars" <jjleiby@.verizon.net> wrote in message
news:lN43h.2335$bg7.519@.trndny04...
> Hello,
> I am developing an "image server" that will perform image processing on
> image files sent from many computers on a local network My concern is send
> images as quickly as possible and not have the files crashing into each
> other on the server. I have demonstrated sending images very quickly using
> the vb.net socket class but I am wondering if a Web Service might be able
> to do this also. I have looked at some Web Service examples but none of
> them concern uploading large files.
> Anyone able to provide some suggestions or better yet some coding
> examples?
> Thanks
> John
>

web service help

Hello,

I am developing an "image server" that will perform image processing on
image files sent from many computers on a local network My concern is send
images as quickly as possible and not have the files crashing into each
other on the server. I have demonstrated sending images very quickly using
the vb.net socket class but I am wondering if a Web Service might be able to
do this also. I have looked at some Web Service examples but none of them
concern uploading large files.

Anyone able to provide some suggestions or better yet some coding examples?

Thanks

JohnThe difficulty of using service for large files deals with the fact that the
binaries have to be encoded/decoded to transfer as soap. With Remoting, you
might get around this, as long as your partner is using Windows. Otherwise,
for interoperability, you are stuck either with sockets or web services.

I am not saying a web service will not work, only that it could be
problematics, as it could time out on slower connections.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
*************************************************
Think outside of the box!
*************************************************
"ubars" <jjleiby@.verizon.netwrote in message
news:lN43h.2335$bg7.519@.trndny04...

Quote:

Originally Posted by

Hello,
>
I am developing an "image server" that will perform image processing on
image files sent from many computers on a local network My concern is send
images as quickly as possible and not have the files crashing into each
other on the server. I have demonstrated sending images very quickly using
the vb.net socket class but I am wondering if a Web Service might be able
to do this also. I have looked at some Web Service examples but none of
them concern uploading large files.
>
Anyone able to provide some suggestions or better yet some coding
examples?
>
Thanks
>
John
>

Web Service not updating when developing and debugging within VS 2005

Guys,
I've been experiencing a weird problem. I am developing a web service in
pretty much the same way I do develop other types of application using
C#.net (2.0). The problem is that when I run the application from Visual
Studio the code that is presented to me is different than the actual code.
It takes some cumbersome actions to get it to work:
a) "clean" the solution, rebuild it and then run
b) close and open VS again
c) "Stop" the Web Servers that VS opens when you are debugging a web service
within the IDE
This is not pratical at all. Have any of you experienced the same problem?
Is there a solution for this?
I think that I may be doing something wrong. It is prety cumbersome to
develop a web service, doing deployments, attaching to process and so on to
properly debug an application.
Any thoughts?
Regards,
Robson Siqueira
Enterprise ArchitectIs your webservice in the same project? If not have you tried right
clicking on the web reference you added and selecting update, this will
refresh the wsdl used to generate your proxy class for the webservice.
MattC
"Robson Siqueira" <robson@.robsonfelix.com> wrote in message
news:us6aZ40kHHA.680@.TK2MSFTNGP06.phx.gbl...
> Guys,
> I've been experiencing a weird problem. I am developing a web service in
> pretty much the same way I do develop other types of application using
> C#.net (2.0). The problem is that when I run the application from Visual
> Studio the code that is presented to me is different than the actual code.
> It takes some cumbersome actions to get it to work:
> a) "clean" the solution, rebuild it and then run
> b) close and open VS again
> c) "Stop" the Web Servers that VS opens when you are debugging a web
> service within the IDE
> This is not pratical at all. Have any of you experienced the same problem?
> Is there a solution for this?
> I think that I may be doing something wrong. It is prety cumbersome to
> develop a web service, doing deployments, attaching to process and so on
> to properly debug an application.
> Any thoughts?
> Regards,
> Robson Siqueira
> Enterprise Architect
>

Monday, March 12, 2012

web services resources recommendations

hello

i am developing an ASP.NET/C# application for my company. they now want me to design and implement a web services solution which will enable our system to effectively synchronise data and offer method calls with a different company's system.

i am new to web services and i know i need to read about XML, XLST, SOAP, UDDI (?) etc. I have been on Amazon and the number of books available is mind boggling.

can anyone offer me recommendations please for books and free internet resources where I can gain a good understanding about web services, in particular how XML and ASP.NET can work together.

thanks.A very good way to start learning about WebServices is theWeb Services Developer Center

hope this helps,
sivilian