473,386 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Questions

Hi,

I have a few questions regarding web services in .NET 2

1) Why, when I run code analysis do I get a source controlled files named
{guid}/codeanalysislog.xml
{guid}/webproject.lastcodeanalysissucceeded
Can I stop this folder and it's files from being source controlled? It's a
pain because after I've checked everything in FxCop fails until I check
these files out.

2) In .NET 1.1 web service classes where contained in a .NET namespace.
This is no longer the case in .NET 2 and code analysis complains about it.
I have excluded the FxCop warning but I was just interested to know why the
namespace was removed - and why FxCop still whinges.

3) I'm using WSE3 and have built a WinForms client and web service using
username over certificate. I have configured the two apps on my development
machine using a certificate from the WSE3 samples.
However what I would like to do is create my own (test) certificate and have
this installed as part of a setup program when I distribute the demo
webservice and client to my client. Is there any guidance on doing this.
Using makecert & certmgr isn't that easy.
Of course eventually a real certificate will be purchased.

4) In .NET 1.1 I have a setup program for installing my web service. In
..NET 2.0 when I create a web setup program no dependencies are detected when
I add the web service to it, except for 'Content Files'. Is it still
possible to create a setup program or am I missing something?

Regards
Phil Lee
Nov 23 '05 #1
3 2512
Hi Phil,

Welcome to webservice newsgroup.
Regarding on the several questions you mentioned, here are some of my
understanding and suggestion:

1) Why, when I run code analysis do I get a source controlled files named
{guid}/codeanalysislog.xml
....................................
========================================

Not very familiar with Team System tools, however, as for the FxCop, it is
integrated with VS 2005 TeamSuite and Team Server so as to provide code
rules validating before checking in.. So I think the folder and output may
be something related to that setting. I'd suggest you try posting in IDE
related newsgroup since there may exists some experienced members there.
2) In .NET 1.1 web service classes where contained in a .NET namespace.
This is no longer the case in .NET 2 and code analysis complains about it.
I have excluded the FxCop warning but I was just interested to know why the
namespace was removed - and why FxCop still whinges.
==========================================
Yes, you're right, in .net 2.0/vs.net 2005, the ASP.NET web application or
webservice project no longer add a root namespace for all the pages or
component files created in them. Also, there is no precompiled asseblies
find. Because the ASP.NET 2.0 use the new compilation model (dynamic
compilation) which support source code (aspx) file all remain in
application folder so as to let the runtime dynamically compile them. Thus,
all the compiled classes(page classes) will be constructed under a certain
namespace (control by the internal compiler ....) , this is just how the
dynamic assemblies under Temporay ASP.NET folder in asp.net 1.1 be
constructed..... And alternately, we can choose to precompile the
whole web application so that all the pages and components classes are
precompiled into assemblies before deployment, so that we only need to
deploy the aspx files (or asmx ...) to target site , also with the
precompiled assemblies.... in VS.NET 2005, the "Build---->PublishSite "
menu just do the work ... Anyway, the namespace behavior which
violate the fxcop rules does exist as you have met.
3) I'm using WSE3 and have built a WinForms client and web service using
..................................
=========================================
Yes, we do have more convenient means to create server /client certificate
or any other type of certs though the WSE's sample certificates are also
created by makecert I think. I'm not sure whether there is another win2k
or win2k3 server box available in your environment. If so,we can install
the Microsoft windows certificate services on win2k or win2k3 server, then
we can use that server machine as a CA, we can request and get many kinds
of certificate through that server (through cert services manager or
through IIS web interface...) which is quite easy.....
4) In .NET 1.1 I have a setup program for installing my web service. In
.................................
=============================================
For ASP.NET 2.0 project, as I've mentioned in 2), we can precompiled the
site through the "PublishSite" function in VS2005 ide. We can put the
precompiled content into a local file sytem directory and all the things
there is what we need to deploy to target server. Then, we can make a
normal web application setup project to create virtual dir and deploy those
contents ....

In addition, the ASP.NET team is going to deliver a new "Web Deployment
Project" which provide much more features and control over creating ASP.NET
2.0 web application deployment package.... It's still under beta, but you
can get some info from it:

#Visual Studio 2005 Web Deployment Projects (Beta Preview)
http://msdn.microsoft.com/asp.net/re...p/default.aspx

Also, here is the blogs article from the web platorm & tools team's mgr ,
you can also get some of the background of this new project here:

http://weblogs.asp.net/scottgu/archi...06/429723.aspx

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)



Nov 23 '05 #2
Steven,

thanks for the help. I will need some time to get familiar with the new
deployment tool and certificate services.

regards,
Phil Lee

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:vw**************@TK2MSFTNGXA02.phx.gbl...
Hi Phil,

Welcome to webservice newsgroup.
Regarding on the several questions you mentioned, here are some of my
understanding and suggestion:

1) Why, when I run code analysis do I get a source controlled files named
{guid}/codeanalysislog.xml
...................................
========================================

Not very familiar with Team System tools, however, as for the FxCop, it is
integrated with VS 2005 TeamSuite and Team Server so as to provide code
rules validating before checking in.. So I think the folder and output
may
be something related to that setting. I'd suggest you try posting in IDE
related newsgroup since there may exists some experienced members there.
2) In .NET 1.1 web service classes where contained in a .NET namespace.
This is no longer the case in .NET 2 and code analysis complains about it.
I have excluded the FxCop warning but I was just interested to know why
the
namespace was removed - and why FxCop still whinges.
==========================================
Yes, you're right, in .net 2.0/vs.net 2005, the ASP.NET web application or
webservice project no longer add a root namespace for all the pages or
component files created in them. Also, there is no precompiled asseblies
find. Because the ASP.NET 2.0 use the new compilation model (dynamic
compilation) which support source code (aspx) file all remain in
application folder so as to let the runtime dynamically compile them.
Thus,
all the compiled classes(page classes) will be constructed under a certain
namespace (control by the internal compiler ....) , this is just how the
dynamic assemblies under Temporay ASP.NET folder in asp.net 1.1 be
constructed..... And alternately, we can choose to precompile the
whole web application so that all the pages and components classes are
precompiled into assemblies before deployment, so that we only need to
deploy the aspx files (or asmx ...) to target site , also with the
precompiled assemblies.... in VS.NET 2005, the "Build---->PublishSite "
menu just do the work ... Anyway, the namespace behavior which
violate the fxcop rules does exist as you have met.
3) I'm using WSE3 and have built a WinForms client and web service using
.................................
=========================================
Yes, we do have more convenient means to create server /client certificate
or any other type of certs though the WSE's sample certificates are also
created by makecert I think. I'm not sure whether there is another
win2k
or win2k3 server box available in your environment. If so,we can install
the Microsoft windows certificate services on win2k or win2k3 server, then
we can use that server machine as a CA, we can request and get many kinds
of certificate through that server (through cert services manager or
through IIS web interface...) which is quite easy.....
4) In .NET 1.1 I have a setup program for installing my web service. In
................................
=============================================
For ASP.NET 2.0 project, as I've mentioned in 2), we can precompiled the
site through the "PublishSite" function in VS2005 ide. We can put the
precompiled content into a local file sytem directory and all the things
there is what we need to deploy to target server. Then, we can make a
normal web application setup project to create virtual dir and deploy
those
contents ....

In addition, the ASP.NET team is going to deliver a new "Web Deployment
Project" which provide much more features and control over creating
ASP.NET
2.0 web application deployment package.... It's still under beta, but you
can get some info from it:

#Visual Studio 2005 Web Deployment Projects (Beta Preview)
http://msdn.microsoft.com/asp.net/re...p/default.aspx

Also, here is the blogs article from the web platorm & tools team's mgr ,
you can also get some of the background of this new project here:

http://weblogs.asp.net/scottgu/archi...06/429723.aspx

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Nov 23 '05 #3
You're welcome Phil,

Please feel free to post here when there is anything we can help.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
From: "Phil Lee" <ph******@newsgroups.nospam>
References: <OZ**************@TK2MSFTNGP14.phx.gbl>
<vw**************@TK2MSFTNGXA02.phx.gbl>
Subject: Re: Questions
Date: Tue, 15 Nov 2005 10:03:29 -0000
Lines: 110
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Original
Message-ID: <#W**************@TK2MSFTNGP15.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: host86-132-84-190.range86-132.btcentralplus.com
86.132.84.190
Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP15.phx.gbl
microsoft.public.dotnet.framework.webservices:1272 8
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Steven,

thanks for the help. I will need some time to get familiar with the new
deployment tool and certificate services.

regards,
Phil Lee

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:vw**************@TK2MSFTNGXA02.phx.gbl...
Hi Phil,

Welcome to webservice newsgroup.
Regarding on the several questions you mentioned, here are some of my
understanding and suggestion:

1) Why, when I run code analysis do I get a source controlled files named
{guid}/codeanalysislog.xml
...................................
========================================

Not very familiar with Team System tools, however, as for the FxCop, it is
integrated with VS 2005 TeamSuite and Team Server so as to provide code
rules validating before checking in.. So I think the folder and output
may
be something related to that setting. I'd suggest you try posting in IDE
related newsgroup since there may exists some experienced members there.
2) In .NET 1.1 web service classes where contained in a .NET namespace.
This is no longer the case in .NET 2 and code analysis complains about it.
I have excluded the FxCop warning but I was just interested to know why
the
namespace was removed - and why FxCop still whinges.
==========================================
Yes, you're right, in .net 2.0/vs.net 2005, the ASP.NET web application or
webservice project no longer add a root namespace for all the pages or
component files created in them. Also, there is no precompiled asseblies
find. Because the ASP.NET 2.0 use the new compilation model (dynamic
compilation) which support source code (aspx) file all remain in
application folder so as to let the runtime dynamically compile them.
Thus,
all the compiled classes(page classes) will be constructed under a certain
namespace (control by the internal compiler ....) , this is just how the
dynamic assemblies under Temporay ASP.NET folder in asp.net 1.1 be
constructed..... And alternately, we can choose to precompile the
whole web application so that all the pages and components classes are
precompiled into assemblies before deployment, so that we only need to
deploy the aspx files (or asmx ...) to target site , also with the
precompiled assemblies.... in VS.NET 2005, the "Build---->PublishSite "
menu just do the work ... Anyway, the namespace behavior which
violate the fxcop rules does exist as you have met.
3) I'm using WSE3 and have built a WinForms client and web service using
.................................
=========================================
Yes, we do have more convenient means to create server /client certificate
or any other type of certs though the WSE's sample certificates are also
created by makecert I think. I'm not sure whether there is another
win2k
or win2k3 server box available in your environment. If so,we can install
the Microsoft windows certificate services on win2k or win2k3 server, then
we can use that server machine as a CA, we can request and get many kinds
of certificate through that server (through cert services manager or
through IIS web interface...) which is quite easy.....
4) In .NET 1.1 I have a setup program for installing my web service. In
................................
=============================================
For ASP.NET 2.0 project, as I've mentioned in 2), we can precompiled the
site through the "PublishSite" function in VS2005 ide. We can put the
precompiled content into a local file sytem directory and all the things
there is what we need to deploy to target server. Then, we can make a
normal web application setup project to create virtual dir and deploy
those
contents ....

In addition, the ASP.NET team is going to deliver a new "Web Deployment
Project" which provide much more features and control over creating
ASP.NET
2.0 web application deployment package.... It's still under beta, but you
can get some info from it:

#Visual Studio 2005 Web Deployment Projects (Beta Preview)
http://msdn.microsoft.com/asp.net/re...p/default.aspx
Also, here is the blogs article from the web platorm & tools team's mgr ,
you can also get some of the background of this new project here:

http://weblogs.asp.net/scottgu/archi...06/429723.aspx

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)



Nov 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: softwareengineer2006 | last post by:
All Interview Questions And Answers 10000 Interview Questions And Answers(C,C++,JAVA,DOTNET,Oracle,SAP) I have listed over 10000 interview questions asked in interview/placement test papers for...
0
by: connectrajesh | last post by:
INTERVIEWINFO.NET http://www.interviewinfo.net FREE WEB SITE AND SERVICE FOR JOB SEEKERS /FRESH GRADUATES NO ADVERTISEMENT
2
by: freepdfforjobs | last post by:
Full eBook with 4000 C#, JAVA,.NET and SQL Server Interview questions http://www.questpond.com/SampleInterviewQuestionBook.zip Download the JAVA , .NET and SQL Server interview sheet and rate...
4
by: Drew | last post by:
I posted this to the asp.db group, but it doesn't look like there is much activity on there, also I noticed that there are a bunch of posts on here pertaining to database and asp. Sorry for...
8
by: Krypto | last post by:
Hi, I have used Python for a couple of projects last year and I found it extremely useful. I could write two middle size projects in 2-3 months (part time). Right now I am a bit rusty and trying...
0
by: ramu | last post by:
C# Interview Questions and Answers8 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers8.html C# Interview Questions and Answers7...
1
by: ramu | last post by:
C# Interview Questions and Answers8 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers8.html C# Interview Questions and Answers7...
0
by: ramu | last post by:
C# Interview Questions and Answers8 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers8.html C# Interview Questions and Answers7...
0
by: reema | last post by:
EJB Interview Questions http://interviewdoor.com/technical/EJB-Interview-Questions.htm CSS Interview Questions http://interviewdoor.com/technical/CSS-Interview-Questions.htm C Interview Questions...
0
by: reema | last post by:
EJB Interview Questions http://interviewdoor.com/technical/EJB-Interview-Questions.htm CSS Interview Questions http://interviewdoor.com/technical/CSS-Interview-Questions.htm C Interview Questions...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.