Commerce Server General - General .Net /Commerce Server Development Question

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > October 2004 > General .Net /Commerce Server Development Question





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author General .Net /Commerce Server Development Question
cbuda

2004-10-04, 5:52 pm

Fairly new to .Net. We are observing the following, wondering if anyone has
any insight. Developing in VS.Net/Windows 2000/Commerce Server 2002. Seems
that any change to a aspx/ascx file will automatically show on the site.
However, any change to aspx.vb/aspx.cs/ascx.vn/ascx.cs page requires me to
recompile in order to be reflected on the site. Further, once the recompile
is complete I need to restart IIS or else all requests to the site hang.

I am under the impression that any changes are recognized by the .Net engine
and automatically re-compiled. Is there some configuration issue?
cbuda

2004-10-04, 5:52 pm

Also, if anyone can suggest how to configure a development environment that
has multiple developers working on the same site at the same time I would
appreciate it. Having to restart IIS every time a code-behind is changed is
kind of limiting or possibilities

"cbuda" wrote:

> Fairly new to .Net. We are observing the following, wondering if anyone has
> any insight. Developing in VS.Net/Windows 2000/Commerce Server 2002. Seems
> that any change to a aspx/ascx file will automatically show on the site.
> However, any change to aspx.vb/aspx.cs/ascx.vn/ascx.cs page requires me to
> recompile in order to be reflected on the site. Further, once the recompile
> is complete I need to restart IIS or else all requests to the site hang.
>
> I am under the impression that any changes are recognized by the .Net engine
> and automatically re-compiled. Is there some configuration issue?

Nihit Kaul [MSFT]

2004-10-08, 5:48 pm

Hi,

For the ASP.Net *.cs files and the *.aspx files issue, please refer to the
ASP.Net web application deployment articles on MSDN for more insight. What
might be the reason here is that you have a pre-compiled version of the web
app which is created by ASP.Net on first request (or can be pre-generated
using VS). Pre-compiled site DLLs are sensitive to ASPX file changes since
that is the presentation layer but not to the CS file changes since that is
already pre-compiled. A couple of pointer links:

http://msdn.microsoft.com/asp.net/u...ng/default.aspx
http://msdn.microsoft.com/vstudio/u...aspx?pull=/msdn
mag/issues/02/11/aspcolumn/toc.asp

As for the multi-developer scenario take a look at the following
white-paper for more Commerce specific guidance (CS2002 Whitepaper on
Multi-Developer team setup):
http://download.microsoft.com/downl...9a-8349-bf352fb
3d802/Multi_dev_Setup.exe

Thanks,

Nihit Kaul[MSFT]
Commerce Server
http://blogs.msdn.com/nihitk

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
Thread-Topic: General .Net /Commerce Server Development Question
thread-index: AcSqTA4cU8mJ3dimQx+vnD4+cnSdcQ==
X-WBNR-Posting-Host: 65.217.204.139
From: "=?Utf-8?B?Y2J1ZGE=?=" <cbuda@discussions.microsoft.com>
References: <8767388C-0533-47A0-B86A-F9FA6056B88F@microsoft.com>
Subject: RE: General .Net /Commerce Server Development Question
Date: Mon, 4 Oct 2004 12:55:10 -0700
Lines: 16
Message-ID: <C6ED1CAD-56E3-4D24-8E3A-ECD36D1D35D8@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.commerceserver.general:14918
X-Tomcat-NG: microsoft.public.commerceserver.general

Also, if anyone can suggest how to configure a development environment that
has multiple developers working on the same site at the same time I would
appreciate it. Having to restart IIS every time a code-behind is changed
is
kind of limiting or possibilities

"cbuda" wrote:

> Fairly new to .Net. We are observing the following, wondering if anyone

has
> any insight. Developing in VS.Net/Windows 2000/Commerce Server 2002.

Seems
> that any change to a aspx/ascx file will automatically show on the site.
> However, any change to aspx.vb/aspx.cs/ascx.vn/ascx.cs page requires me

to
> recompile in order to be reflected on the site. Further, once the

recompile
> is complete I need to restart IIS or else all requests to the site hang.
>
> I am under the impression that any changes are recognized by the .Net

engine
> and automatically re-compiled. Is there some configuration issue?


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com