473,568 Members | 2,795 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.last codeanalysissuc ceeded
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 2528
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 "PublishSit e" 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******** ******@TK2MSFTN GXA02.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 "PublishSit e" 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******@newsg roups.nospam>
References: <OZ************ **@TK2MSFTNGP14 .phx.gbl>
<vw************ **@TK2MSFTNGXA0 2.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.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: host86-132-84-190.range86-132.btcentralpl us.com
86.132.84.190
Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP15.phx. gbl
microsoft.publi c.dotnet.framew ork.webservices :12728
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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******** ******@TK2MSFTN GXA02.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 "PublishSit e" 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
4078
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 all companies between year 2000-2005 in my website http://www.geocities.com/allinterviewquestion/ So please have a look and make use of it.
0
4564
by: connectrajesh | last post by:
INTERVIEWINFO.NET http://www.interviewinfo.net FREE WEB SITE AND SERVICE FOR JOB SEEKERS /FRESH GRADUATES NO ADVERTISEMENT
2
7176
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 yourself. This will help you judge yourself are you really worth of attending interviews. If you own a company best way to judge if the candidate is...
4
2495
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 cross-posting. I am trying to build a "checklist", where a user can navigate to an ASP page on the intranet which shows a list of "questions" that the...
8
7962
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 to catch up again with Python. I am now appearing for Job Interviews these days and I am wondering if anybody of you appeared for a Python...
0
1479
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 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers7.html C# Interview Questions and Answers 6...
1
1609
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 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers7.html C# Interview Questions and Answers 6...
0
4473
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 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers7.html C# Interview Questions and Answers 6...
0
3416
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 http://interviewdoor.com/technical/C-Interview-Questions.htm C# Interview Questions...
0
2922
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 http://interviewdoor.com/technical/C-Interview-Questions.htm C# Interview Questions...
0
7693
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7604
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7916
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7962
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6275
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
932
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.