Showing posts with label professional. Show all posts
Showing posts with label professional. Show all posts

Thursday, March 29, 2012

Please forgive my ignorance, but I've never worked with ASP.NET before

We're trying out Visual Studio 2005 Professional from the Microsoft
website before paying for the unlocked version.
What I am trying to do is build on the simple ASP.NET web service.
HelloWorld is great, and I kind of see how it works.
What I can not comprehend is how to build an actual ASP that will take
an XML input, parse it, send the data to an external website as an
HTTP request, then parse the response, and send it back to the client
(actually another server).
Let's say you have a web method that takes parameters p1, p2, and p3.
It would then send an HTTP request (the external service can't take
XML for some weird reason) with parameters a1, a2, a3, a4 and a5.
When the response comes back, it would get parameters b1, b2 and b3
and return to the client the response with parameters c1, c2, c3 and
c4.
I noticed the web method can take parameters as if it were a VB
procedure, but this is going to be an XML formatted document coming
from a server that is in Java code (can't modify that code, even if I
knew a lick of Java).
Can someone help me? I keep searching the help, but I get a ton of
articles that just happen to have the words in them, rather than
something specific.
Would greatly appreciate it. Also, unless I have to, I would like to
avoid XSLT in order to be able to do this in the Standard Edition.On Jul 12, 8:57 pm, Brent White <bwh...@.badgersportswear.com> wrote:
> We're trying out Visual Studio 2005 Professional from the Microsoft
> website before paying for the unlocked version.
> What I am trying to do is build on the simple ASP.NET web service.
> HelloWorld is great, and I kind of see how it works.
> What I can not comprehend is how to build an actual ASP that will take
> an XML input, parse it, send the data to an external website as an
> HTTP request, then parse the response, and send it back to the client
> (actually another server).
> Let's say you have a web method that takes parameters p1, p2, and p3.
> It would then send an HTTP request (the external service can't take
> XML for some weird reason) with parameters a1, a2, a3, a4 and a5.
> When the response comes back, it would get parameters b1, b2 and b3
> and return to the client the response with parameters c1, c2, c3 and
> c4.
> I noticed the web method can take parameters as if it were a VB
> procedure, but this is going to be an XML formatted document coming
> from a server that is in Java code (can't modify that code, even if I
> knew a lick of Java).
> Can someone help me? I keep searching the help, but I get a ton of
> articles that just happen to have the words in them, rather than
> something specific.
> Would greatly appreciate it. Also, unless I have to, I would like to
> avoid XSLT in order to be able to do this in the Standard Edition.
Hi Brent
Look at the following sample
http://samples.gotdotnet.com/quicks...ngservices.aspx
Hope it helps
Hi, Brent.
Scott Mitchell's 10-article series on Web Services will help you understand
what you need to know in order to develop the web service you want:
http://aspnet.4guysfromrolla.com/articles/111903-1.aspx
Go completely through the 10 articles. There's a lot of sample code in them.
When you're done, you'll be in good shape to write your own web service to f
it your needs.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
======================================
"Brent White" <bwhite@.badgersportswear.com> wrote in message
news:1184266659.728254.242650@.n2g2000hse.googlegroups.com...
> We're trying out Visual Studio 2005 Professional from the Microsoft
> website before paying for the unlocked version.
> What I am trying to do is build on the simple ASP.NET web service.
> HelloWorld is great, and I kind of see how it works.
> What I can not comprehend is how to build an actual ASP that will take
> an XML input, parse it, send the data to an external website as an
> HTTP request, then parse the response, and send it back to the client
> (actually another server).
> Let's say you have a web method that takes parameters p1, p2, and p3.
> It would then send an HTTP request (the external service can't take
> XML for some weird reason) with parameters a1, a2, a3, a4 and a5.
> When the response comes back, it would get parameters b1, b2 and b3
> and return to the client the response with parameters c1, c2, c3 and
> c4.
> I noticed the web method can take parameters as if it were a VB
> procedure, but this is going to be an XML formatted document coming
> from a server that is in Java code (can't modify that code, even if I
> knew a lick of Java).
> Can someone help me? I keep searching the help, but I get a ton of
> articles that just happen to have the words in them, rather than
> something specific.

> Would greatly appreciate it. Also, unless I have to, I would like to
> avoid XSLT in order to be able to do this in the Standard Edition.
On Jul 12, 5:49 pm, "Juan T. Llibre" <nomailrepl...@.nowhere.com>
wrote:
> Hi, Brent.
> Scott Mitchell's 10-article series on Web Services will help you understa=
nd
> what you need to know in order to develop the web service you want:
> http://aspnet.4guysfromrolla.com/articles/111903-1.aspx
> Go completely through the 10 articles. There's a lot of sample code in th=
em.
> When you're done, you'll be in good shape to write your own web service t=
o fit your needs.
> Juan T. Llibre, asp.net MVP
> asp.net faq :http://asp.net.do/faq/
> foros de asp.net, en espa=F1ol :http://asp.net.do/foros/
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
3D"Brent White" <bwh...@.badgersport=
swear.com> wrote in message
> news:1184266659.728254.242650@.n2g2000hse.googlegroups.com...
>
>
>
>
>
>
>
e quoted text -
> - Show quoted text -
Alexi and Juan, thank you. I'll look into these. I think if I make
a structure and pass the parameters using the SOAP interface to set
this up, it should be sufficient. I do like VS 2005, I will say that.

Friday, March 16, 2012

please help me with ASP.net problems

Dear Sirs,

I'm a Vietnamese student. I've been developing a website for my school; as not a professional web programer, I have some problems using the language ASP.net. I'd be grapeful if you'd help me to solve some of the following troubles:

- I use a tool on left-hand toolbar called "file field" to upload a picture to a folder on the web server but I don't know what commands to be used to delete it from this folder?

- I call a confirmation box (in VB language) but I receive an error message: "It is invalid to show a modal dialog or form when the application is not running in UserInteractive mode"?

- What commands to hide or disable the back & next buttons in web browser?

Thank you for your help !

Luong trung Kien

Wellcome on asp.net forums.....
Here are your answers
1 - u use Input/output libarary , here is the reference ... http://aspnet.4guysfromrolla.com/articles/051802-1.aspx
2 - In Windows base application use, MsgBox(Prompt, Buttons,Title)
and in Web based application used Javascript message box
also see this link for reference , http://www.programmersheaven.com/mb/VBNET/161205/161205/readmessage.aspx
3 - simply used this command in code behind, BUTTON_NAME.visible = False (for hide) & BUTTON_NAME.enabled = False (For Disabled), and also u can perform this activity through designer.........

Happy Programming !
Sajjad

Hi,

The answers to your first and second questions are given above.

But for 3) - There is no way of disabling the back/forward button in a web browser, and nor should you try! The back/forward buttons are so important to web browsing that no web application should function without them. Most users on the web rely on the back/forward buttons for navigation - you should think of them as an asset rather than a problem.

Rich

Please help me with FxCOP 1.32 and ASP.NET 2.0

Environment:
Microsoft Visual Studio 2005 Professional Edition
Microsoft Visual Source Safe 2005
FxCop 1.32
Project:
ASP.NET 2.0 C# Project
5 Developers
We are trying to implement FxCop into our build workflow and can't figure
out how best to tackle the task.
1) How can we automate FxCop in the build of the ASP.NET 2.0 project?
2) Do we need to use VSS to sync the FxCop rule set among developers?
3) Is there anything else you thing we should consider?
Will
Will G. Baldwin
Information and Educational Technology
Department of Communications
Kansas State University Research and Extension
Phone: 785-532-6270
E-Mail: wbaldwinREM()VE@dotnet.itags.org.ksu.eduHello Will,
In Visual Studio 2005, Code analysis FxCop is a build-in funtion for every
project:
1.Select the project in Solution Explorer.
2. On the Project menu, click Properties.
3. Click the Code Analysis tab.
4. Select Enable Code Analysis.
Here is an good article about this:
[url]http://msdn2.microsoft.com/en-us/library/y8hc3.aspx[/url]
For question about VSS, you may take a look at VSTS (visual studio team
system). You can use it instead of VSS and it is more powerful than VSS.
With VSTS, the administrator can specify the check-in rule based on the
code analysis or else. For example, a developer couldn't check in a file if
it hadn't passed the code analysis rule specified by administrator.
http://msdn.microsoft.com/vstudio/t...em/default.aspx
Hope this help,
Luke
Luke,
Thank for the help but when I follow you procedure I don't see a Code
Analysis tab.
On a Windows Project I get the following tabs:
Application
Build
Build Events
Debug
Resources
Settings
Reference Paths
Signing
Security
Publish
On a ASP.NET 2.0 Web Project I get the following tabs:
References
Build
Accessibility
Start Options
MSBuild Options
==================
No Code Analysis Tab !
==================
Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727
Installed Edition: Professional
Microsoft Visual Basic 2005 77626-009-0000007-41512
Microsoft Visual C# 2005 77626-009-0000007-41512
Microsoft Visual C++ 2005 77626-009-0000007-41512
Microsoft Visual J# 2005 77626-009-0000007-41512
Microsoft Visual Web Developer 2005 77626-009-0000007-41512
Crystal Reports AAC60-G0CSA4B-V7000AY
What am I doing wrong?
Thanks for the help!
- Will
"[MSFT]" <lukezhan@.online.microsoft.com> wrote in message
news:eZyQ%236gAGHA.4004@.TK2MSFTNGXA02.phx.gbl...
> Hello Will,
> In Visual Studio 2005, Code analysis FxCop is a build-in funtion for every
> project:
> 1.Select the project in Solution Explorer.
> 2. On the Project menu, click Properties.
> 3. Click the Code Analysis tab.
> 4. Select Enable Code Analysis.
> Here is an good article about this:
> [url]http://msdn2.microsoft.com/en-us/library/y8hc3.aspx[/url]
> For question about VSS, you may take a look at VSTS (visual studio team
> system). You can use it instead of VSS and it is more powerful than VSS.
> With VSTS, the administrator can specify the check-in rule based on the
> code analysis or else. For example, a developer couldn't check in a file
> if
> it hadn't passed the code analysis rule specified by administrator.
> http://msdn.microsoft.com/vstudio/t...em/default.aspx
> Hope this help,
> Luke
>
Code Analysis only comes with Visual Studio .Net 2005 Team Suite.
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.
<madhattan@.newsgroups.nospam> wrote in message
news:ey9ef6kAGHA.2044@.TK2MSFTNGP12.phx.gbl...
> Luke,
> Thank for the help but when I follow you procedure I don't see a Code
> Analysis tab.
> On a Windows Project I get the following tabs:
> Application
> Build
> Build Events
> Debug
> Resources
> Settings
> Reference Paths
> Signing
> Security
> Publish
> On a ASP.NET 2.0 Web Project I get the following tabs:
> References
> Build
> Accessibility
> Start Options
> MSBuild Options
> ==================
> No Code Analysis Tab !
> ==================
> Microsoft Visual Studio 2005
> Version 8.0.50727.42 (RTM.050727-4200)
> Microsoft .NET Framework
> Version 2.0.50727
> Installed Edition: Professional
> Microsoft Visual Basic 2005 77626-009-0000007-41512
> Microsoft Visual C# 2005 77626-009-0000007-41512
> Microsoft Visual C++ 2005 77626-009-0000007-41512
> Microsoft Visual J# 2005 77626-009-0000007-41512
> Microsoft Visual Web Developer 2005 77626-009-0000007-41512
> Crystal Reports AAC60-G0CSA4B-V7000AY
> What am I doing wrong?
> Thanks for the help!
> - Will
> "[MSFT]" <lukezhan@.online.microsoft.com> wrote in message
> news:eZyQ%236gAGHA.4004@.TK2MSFTNGXA02.phx.gbl...
>
Yes, For a full production edition compare:
http://msdn.microsoft.com/vstudio/p...re/default.aspx
Luke