Showing posts with label service. Show all posts
Showing posts with label service. Show all posts

Saturday, March 31, 2012

Submitting a web form to a web server from a running windows servive.

hi and help. i have a windows service, in wich i want to submite a web from to a web server with some hidden fiels. how do i do this. and afterwords how can i get response from web server in windows service.
----------
From: Muhammad Saifullah

--------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>i6K//UAKUk2P/CaV2/rNFA==</Id>look up HttpWebRequest

Submitting a web form to a web server from a running windows servive.

hi and help. i have a windows service, in wich i want to submite a web from
to a web server with some hidden fiels. how do i do this. and afterwords how
can i get response from web server in windows service.
--
From: Muhammad Saifullah
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>i6K//UAKUk2P/CaV2/rNFA==</Id>look up HttpWebRequest

Subscription Form in e-mail

Hi,
Sales guy came up with this idea for clients subscribing to a new service they want to implement.

User's will fill out a subscribtion form, and the data on it will be submitted to the database. Once the subscribtion is approved, a confirmation mail is send to the user.

From my standpoint, I guessed the subscribtion form would be a normal page hosted on the host. But they want to MAIL this page to clients, and clients should be able to fill out the form in the mail.

Now one get this mails where the body is a web page (or so it seems). So I need to know if one can have a page on the internet, but this page can also be filled in from within a mail body. Know what I'm saying?

CheersHmm, maybe you could just email them a link to the form they need to fill out? But, you can send html type emails, so you could try setting up a form string of html, with your fields and such, and set the action of the form to your aspx page that is going to process the form. And then send the html string email to them.
Hmm, maybe you could just email them a link to the form they need to fill out?. Thought about that too, but boss allready saw mails containing web pages, so need to give him a honest answer if it's possible or not.
But, you can send html type emails, so you could try setting up a form string of html, with your fields and such, and set the action of the form to your aspx page that is going to process the form. And then send the html string email to them.Make sense with the bit I figured out so far. Can anyone else comment on this?
You might even be able to send an IFrame with the src set to your registration project, which then you wouldn't have to send a form through the email, and would be alot simpler.
that make sense. you mean the body of the mail is a iFrame, and the iFrame's src property is set to say www.MySite.com/services/newsletter/signup.aspx?
that make sense. you mean the body of the mail is a iFrame, and the iFrame's src property is set to say www.MySite.com/services/newsletter/signup.aspx?
Yeah, just make sure the email is sent as html, you can set this when/if you use SMTP mail. I'd say give the IFrame a go and see how it works out.

Good luck;

Wednesday, March 28, 2012

Subweb / Subprojects VS2005

I have a web site which we use to service many customers. The base part of
the web site is the same for every customer. Then there are sub-webs for
each customer that contain customer specific pages only. How do we structur
e
the projects such that I don't need to build one solution which contains the
base web and every customer web while maintaining session accross all the
webs? One of the frustrating things about VS is that if it finds a sub web
it tries to compile it. So i remove the sub-web and everything compiles, bu
t
now how do I test the sub-web when I can't navigate through the base web?
More info...each web (base and customer) has a bunch of supporting
assemblies (service, data, rules, etc). The base web should not change ver
y
frequently but each sub-web (customer specific) will be on a different
release cycle. So I need to keep them separate.
I have read the Guthrie articles on VS2005 projects and while they get me
pretty close, they don't seem to address my issues.
I refuse to belive that this problem is uniqute and hopefully someone on the
ASP.NET / VS team has thought about this scenario. Any help would be much
appreciated.
Thanks,
curtSilence sucks, if I am off my rocker just tell me so ;-).
Thanks,
curt
"Curt Koppang" wrote:

> I have a web site which we use to service many customers. The base part o
f
> the web site is the same for every customer. Then there are sub-webs for
> each customer that contain customer specific pages only. How do we struct
ure
> the projects such that I don't need to build one solution which contains t
he
> base web and every customer web while maintaining session accross all the
> webs? One of the frustrating things about VS is that if it finds a sub we
b
> it tries to compile it. So i remove the sub-web and everything compiles,
but
> now how do I test the sub-web when I can't navigate through the base web?
> More info...each web (base and customer) has a bunch of supporting
> assemblies (service, data, rules, etc). The base web should not change v
ery
> frequently but each sub-web (customer specific) will be on a different
> release cycle. So I need to keep them separate.
> I have read the Guthrie articles on VS2005 projects and while they get me
> pretty close, they don't seem to address my issues.
> I refuse to belive that this problem is uniqute and hopefully someone on t
he
> ASP.NET / VS team has thought about this scenario. Any help would be much
> appreciated.
> Thanks,
> curt

Monday, March 26, 2012

Suggestion needed for huge DataGrid

Hi all:
Our web site uses 3-tier structure, the middle tier is a web service. We
also use Microsoft Data Access Application Block to access sql server.
Now I have to display a DataGrid with huge amount of data on web page,
of course the DataGrid has pager. But even though, the web service still
will return full DataSet to web server, and let web server to handle pages.
Since Microsoft Data Access Application Block does not support
SqlDataAdapter.Fill(DataSet, startReocrd, maxRecord, tableName) to reduce
the size of DataSet. Do you think there is a better way to improve
performace?
Yes, I can always extend Microsoft Data Access Application Block and
build my own pager.

--
WWW: http://hardywang.1accesshost.com
ICQ: 3359839
yours HardyHi Hardy,

May I suggest two solutions:
-if the full set of lines is going to be requested sooner or later, fill the
DataSet and place it in the Cache for the first time, then read it from the
Cache.
-if you don't need the full set of lines, you may use the SqlDataReader
combined with a TOP N command in your SQL query.
--
To reply, remove a "l" before the @. sign.

Arnaud Weil - MCT, MCSD.Net, MCAD.Net

Saturday, March 24, 2012

Suggestions on hosting service?

I'd like suggestions on a hosting service but only if you have been
using them for a while. I'm using an aweful service now. They're
servers are slow, go down and tech support is virtually non existant.
They actually answer the phone "hello" but in a very quiet almost
unaudible way. That's the problem - hosting services look so nice from
the outside but you never know how they are until you are there for a
while.
This is probably who I will go with unless some one has used a service
that is better:
http://www.webhost4life.com/hosting.asp - $9.95/mo (Advanced Plan)
The above service has everything I need:
- raw log access
- stats
- MySQL & PHP
- Setup of MIME types for IIS
- No recurring charge for another domain that points to its own folder
- good transfer rates
- very good asp.net support
- EM access and SQL Server 2005
- good control panel
If some one has been using webhost4life.com, I'd like to here comments
on your experience with them.
Thanks,
BrettI host my own, but I have heard that Pipex are pretty reliable.
"brett" <account@.cygen.com> wrote in message
news:1164565143.961673.128250@.l12g2000cwl.googlegroups.com...
> I'd like suggestions on a hosting service but only if you have been
> using them for a while. I'm using an aweful service now. They're
> servers are slow, go down and tech support is virtually non existant.
> They actually answer the phone "hello" but in a very quiet almost
> unaudible way. That's the problem - hosting services look so nice from
> the outside but you never know how they are until you are there for a
> while.
> This is probably who I will go with unless some one has used a service
> that is better:
> http://www.webhost4life.com/hosting.asp - $9.95/mo (Advanced Plan)
> The above service has everything I need:
> - raw log access
> - stats
> - MySQL & PHP
> - Setup of MIME types for IIS
> - No recurring charge for another domain that points to its own folder
> - good transfer rates
> - very good asp.net support
> - EM access and SQL Server 2005
> - good control panel
> If some one has been using webhost4life.com, I'd like to here comments
> on your experience with them.
> Thanks,
> Brett
>
>OHM wrote:
> I host my own, but I have heard that Pipex are pretty reliable.
I'd like to stay US based.
Brett
OK
"brett" <account@.cygen.com> wrote in message
news:1164566943.753954.324330@.j44g2000cwa.googlegroups.com...
> I'd like to stay US based.
> Brett
>
"brett" <account@.cygen.com> wrote in message
news:1164565143.961673.128250@.l12g2000cwl.googlegroups.com...
> I'd like suggestions on a hosting service but only if you have been
> using them for a while. I'm using an aweful service now. They're
> servers are slow, go down and tech support is virtually non existant.
> They actually answer the phone "hello" but in a very quiet almost
> unaudible way. That's the problem - hosting services look so nice from
> the outside but you never know how they are until you are there for a
> while.
> This is probably who I will go with unless some one has used a service
> that is better:
> http://www.webhost4life.com/hosting.asp - $9.95/mo (Advanced Plan)
> The above service has everything I need:
> - raw log access
> - stats
> - MySQL & PHP
> - Setup of MIME types for IIS
> - No recurring charge for another domain that points to its own folder
> - good transfer rates
> - very good asp.net support
> - EM access and SQL Server 2005
> - good control panel
> If some one has been using webhost4life.com, I'd like to here comments
> on your experience with them.
> Thanks,
> Brett
I've been using Jodo for about a year, and it has been very reliable and
near-instant tech support, for $6.95/month. It's based in India but their
servers are in Florida. http://www.jodohost.com/index.asp However, they
don't support the Enterprise Manager libraries (for security reasons).
I've used CrystalTech for a number of clients in the last year and they've
done pretty good so far.
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199...2006
"brett" <account@.cygen.com> wrote in message
news:1164565143.961673.128250@.l12g2000cwl.googlegroups.com...
> I'd like suggestions on a hosting service but only if you have been
> using them for a while. I'm using an aweful service now. They're
> servers are slow, go down and tech support is virtually non existant.
> They actually answer the phone "hello" but in a very quiet almost
> unaudible way. That's the problem - hosting services look so nice from
> the outside but you never know how they are until you are there for a
> while.
> This is probably who I will go with unless some one has used a service
> that is better:
> http://www.webhost4life.com/hosting.asp - $9.95/mo (Advanced Plan)
> The above service has everything I need:
> - raw log access
> - stats
> - MySQL & PHP
> - Setup of MIME types for IIS
> - No recurring charge for another domain that points to its own folder
> - good transfer rates
> - very good asp.net support
> - EM access and SQL Server 2005
> - good control panel
> If some one has been using webhost4life.com, I'd like to here comments
> on your experience with them.
> Thanks,
> Brett
>

Suggestions on hosting service?

I'd like suggestions on a hosting service but only if you have been
using them for a while. I'm using an aweful service now. They're
servers are slow, go down and tech support is virtually non existant.
They actually answer the phone "hello" but in a very quiet almost
unaudible way. That's the problem - hosting services look so nice from
the outside but you never know how they are until you are there for a
while.

This is probably who I will go with unless some one has used a service
that is better:
http://www.webhost4life.com/hosting.asp - $9.95/mo (Advanced Plan)

The above service has everything I need:
- raw log access
- stats
- MySQL & PHP
- Setup of MIME types for IIS
- No recurring charge for another domain that points to its own folder
- good transfer rates
- very good asp.net support
- EM access and SQL Server 2005
- good control panel

If some one has been using webhost4life.com, I'd like to here comments
on your experience with them.

Thanks,
BrettI host my own, but I have heard that Pipex are pretty reliable.

"brett" <account@.cygen.comwrote in message
news:1164565143.961673.128250@.l12g2000cwl.googlegr oups.com...

Quote:

Originally Posted by

I'd like suggestions on a hosting service but only if you have been
using them for a while. I'm using an aweful service now. They're
servers are slow, go down and tech support is virtually non existant.
They actually answer the phone "hello" but in a very quiet almost
unaudible way. That's the problem - hosting services look so nice from
the outside but you never know how they are until you are there for a
while.
>
This is probably who I will go with unless some one has used a service
that is better:
http://www.webhost4life.com/hosting.asp - $9.95/mo (Advanced Plan)
>
The above service has everything I need:
- raw log access
- stats
- MySQL & PHP
- Setup of MIME types for IIS
- No recurring charge for another domain that points to its own folder
- good transfer rates
- very good asp.net support
- EM access and SQL Server 2005
- good control panel
>
If some one has been using webhost4life.com, I'd like to here comments
on your experience with them.
>
Thanks,
Brett
>


>OHM wrote:

Quote:

Originally Posted by

I host my own, but I have heard that Pipex are pretty reliable.


I'd like to stay US based.

Brett
OK

"brett" <account@.cygen.comwrote in message
news:1164566943.753954.324330@.j44g2000cwa.googlegr oups.com...

Quote:

Originally Posted by

Quote:

Originally Posted by

OHM wrote:
>I host my own, but I have heard that Pipex are pretty reliable.


>
I'd like to stay US based.
>
Brett
>


"brett" <account@.cygen.comwrote in message
news:1164565143.961673.128250@.l12g2000cwl.googlegr oups.com...

Quote:

Originally Posted by

I'd like suggestions on a hosting service but only if you have been
using them for a while. I'm using an aweful service now. They're
servers are slow, go down and tech support is virtually non existant.
They actually answer the phone "hello" but in a very quiet almost
unaudible way. That's the problem - hosting services look so nice from
the outside but you never know how they are until you are there for a
while.
>
This is probably who I will go with unless some one has used a service
that is better:
http://www.webhost4life.com/hosting.asp - $9.95/mo (Advanced Plan)
>
The above service has everything I need:
- raw log access
- stats
- MySQL & PHP
- Setup of MIME types for IIS
- No recurring charge for another domain that points to its own folder
- good transfer rates
- very good asp.net support
- EM access and SQL Server 2005
- good control panel
>
If some one has been using webhost4life.com, I'd like to here comments
on your experience with them.
>
Thanks,
Brett


I've been using Jodo for about a year, and it has been very reliable and
near-instant tech support, for $6.95/month. It's based in India but their
servers are in Florida. http://www.jodohost.com/index.asp However, they
don't support the Enterprise Manager libraries (for security reasons).
I've used CrystalTech for a number of clients in the last year and they've
done pretty good so far.

--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"brett" <account@.cygen.comwrote in message
news:1164565143.961673.128250@.l12g2000cwl.googlegr oups.com...

Quote:

Originally Posted by

I'd like suggestions on a hosting service but only if you have been
using them for a while. I'm using an aweful service now. They're
servers are slow, go down and tech support is virtually non existant.
They actually answer the phone "hello" but in a very quiet almost
unaudible way. That's the problem - hosting services look so nice from
the outside but you never know how they are until you are there for a
while.
>
This is probably who I will go with unless some one has used a service
that is better:
http://www.webhost4life.com/hosting.asp - $9.95/mo (Advanced Plan)
>
The above service has everything I need:
- raw log access
- stats
- MySQL & PHP
- Setup of MIME types for IIS
- No recurring charge for another domain that points to its own folder
- good transfer rates
- very good asp.net support
- EM access and SQL Server 2005
- good control panel
>
If some one has been using webhost4life.com, I'd like to here comments
on your experience with them.
>
Thanks,
Brett
>

Summary Tags in reference.cs

Anyone know how to make my web services add summary tags to the reference.cs file VS makes when the web service is referenced?You'll have to add that yourself each time you reference the web service, as that CS file is a proxy file generated for you.
You'll have to add that yourself each time you reference the web service, as that CS file is a proxy file generated for you.
But I'm writing the web service, I want intellisense to work on client's machines when they develop solutions that use my web service. So they will need <summary> tags in reference.cs.
I know I can have Description lines in the wsdl file, but it is not the easiest thing to read.
Guess MS & W3 haven't thought it out yet.

Tuesday, March 13, 2012

Switch from ASPNET/NETWORK SERVICE Account

Hi,

I have a page which requests info from a number of machines and whenever I try to do this I get an 'access is denied' error message. How do I change the account that my page is using to one which actually has access to the machines.

Thanksthere is not really a straight-forward answer to this.

if all of these servers are on the same domain, then you will ba able to impersoninate a common user in the web.config ..

<identity impersonate="true" userName="domain_name\user" password="password"/
make sure this user has the appropiate permissions on all the folders your are trying to access.

by default, the ASP.NET Machine Account is used for all requests.

psi
thanks psi
see if the framework and/or the ASP.NET Machine Account is on all machines ... if it is, and all the servers are on the same domain, you should be able to set the service to network service ...

psi
Is there any other way I could do this? There is a single account on the domain that I can use but its password is changed frequently and it is a account which my boss would prefer not to have hard-coded into the web.config file.

Thanks again,
Tomas