Local IIS with remote resources.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > Local IIS with remote resources.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Local IIS with remote resources.  
LaptopHeaven


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-03-06 12:48 AM

We would like our developers machines to use a set of remote resources (ie
webservices) while developing on their local machines.  How can you
configure Commerce Server to use a remote web service for its resource.

This also will be neccassary when we deploy, because we will want the WS to
be inside our firewall, while the Commerce Server Web Application is in the
DMZ.

C







[ Post a follow-up to this message ]



    RE: Local IIS with remote resources.  
WenJun Zhang[msft]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-03-06 12:26 PM

Hi,

First of all, could you please let me know the Commerce server version that
you are using? Is it Commerce server 2002 or the new Commerce server 2007?

I'm not 100% clear with the "resource" you meant. If you mentioned is
global or site resources in Commerce, they are components can be used
within a Commerce site and generally are not equal to simple web services.
Of coruse we can also extend Commerce to add our custom resources. Please
look at:

Integrating Custom Resources
http://msdn.microsoft.com/library/d...-us/csvr2002/ht
m/cs_tp_mmc_aaaa.asp

However if what you meant is that your Commerce application need to utilize
some web services in internal network, there shouldn't be any problem to do
this in the code of your Commerce site. You just need to make sure the
Commerce server in DMZ can properly access the internal Web Services
without networking or authentication problems. The firewall of you must
allow HTTP communications between the server in DMZ and your internal web
server with the web services deployed.

If there is more specific problem you met, please don't hesitate to let me
know. I will be pleased to be of help.

Have a nice day.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

 ========================================
==========

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscript...ault.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscript...t/default.aspx.

 ========================================
==========

This posting is provided "AS IS" with no warranties, and confers no rights.



Attachment:
This has been downloaded 0 time(s).



[ Post a follow-up to this message ]



    Re: Local IIS with remote resources.  
LaptopHeaven


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-04-06 12:24 AM

We are using CS 2007.
Is there a way for multiple developers to use the same set of
resources/database/etc to devel locally on their machines?

""WenJun Zhang[msft]"" <wjzhang@online.microsoft.com> wrote in message
news:r%23st1Ws5GHA.1864@TK2MSFTNGXA01.phx.gbl...
> Hi,
>
> First of all, could you please let me know the Commerce server version
> that
> you are using? Is it Commerce server 2002 or the new Commerce server 2007?
>
> I'm not 100% clear with the "resource" you meant. If you mentioned is
> global or site resources in Commerce, they are components can be used
> within a Commerce site and generally are not equal to simple web services.
> Of coruse we can also extend Commerce to add our custom resources. Please
> look at:
>
> Integrating Custom Resources
> http://msdn.microsoft.com/library/d...t/default.aspx.
>
>  ========================================
==========
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.







[ Post a follow-up to this message ]



    Re: Local IIS with remote resources.  
WenJun Zhang[msft]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-05-06 12:22 PM

Hi,

I'm going to confirm this with our Commerce group. Before this, could you
please first let me know if you want to build a 'shared' dev environment or
each dev machine could have an exactly same 'copy' of the deployment
server? Are these developers using Developer Edtion on their machines?

Thanks.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

 ========================================
==========

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscript...ault.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscript...t/default.aspx.

 ========================================
==========

This posting is provided "AS IS" with no warranties, and confers no rights.



Attachment:
This has been downloaded 0 time(s).



[ Post a follow-up to this message ]



    Re: Local IIS with remote resources.  
WenJun Zhang[msft]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-06-06 06:24 PM

If you are looking for setting up a shared development environment, each
developer workstation could point the site resources (catalog,
transactions, inventory, etc.) to a shared development SQL Server by
configuring the connection strings.

Thanks and have a good weekend.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

 ========================================
==========

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscript...ault.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscript...t/default.aspx.

 ========================================
==========

This posting is provided "AS IS" with no warranties, and confers no rights.



Attachment:
This has been downloaded 0 time(s).



[ Post a follow-up to this message ]



    Re: Local IIS with remote resources.  
WenJun Zhang[msft]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-13-06 12:25 PM

Hi Courtney,

Below are some update of your question and our Commerce team¡¯s comments on
how to build such kind of independent dev environment. The Development
Environment docs has also been included into the product docs to introduce
the process of building independent or shared dev environment:

http://msdn.microsoft.com/library/e...0eb4-6110-4cb1-
a89f-c86fac60d7f8.asp?frame=true

The best practices are:

¡¤         Each developer has CS and SQL installed locally.

¡¤         Each developer maintains their own MSCS_ADMIN with their
solution (this is a subject of major debate but I have found that it works
every time)

¡¤         Each developer can opt to either a) point their resources
locally and maintain local copies of the profiles and catalog or b) point
to a central integration server

¡¤         DO NOT use the add web server command in CS if you share an
MSCS_ADMIN DB!  This will make CS think it is operating in a web farm and
developers will bounce from machine when they try to access/debug the site.
As a workaround, you can set the non-secure host name and secure host name
to localhost.

¡¤         Use the QueryStringBuilder for URL¡¯s in your code to make the
code ¡°portable¡± from environment to environment

¡¤         Download the IIS resource kit and use the SelfSSL for testing
https


To set up the minimum environment:

Needed -

¡¤         1 or more dev workstations with W2k3 CS, SQL and VS.NET

¡¤         1 Server with CS, VS.NET and SQL (integration)



To set up the first workstation

1.      On 1 workstation, create the CS site, application resources and
VS.NET project

2.      (optional but highly recommended) Check in the project/connect to
TFS or source safe

3.      Modify AzMan for web services

4.      PUP the site

5.      UnPUP/deploy to a separate integration environment to the same
directory and web site as the developer machine (this eliminates problems
with paths, relative references, etc)



On the other dev workstations:

1.      UNPUP the site using custom

2.      Point all of the DB connection strings LOCALLY (important)

3.      When complete, you can re-point the resources to the integration
environment to share the CSAuth, catalog, profiles, marketing, and
campaigns resources

4.      Do not share transaction, transactionConfig, or MSCS_ADMIN, keep
these pointed locally

5.      In VS.NET, open the project file and pull down the latest source
from TFS. VSS



Day to day development:

¡¤         If a developer is working on catalog or profile schema, have
them point locally and when complete, push the changes to the central
catalog.  If the other developers want to work offline, they will have to
import it.

¡¤         When you build/integrate the project, pull the source or deploy
to an integration environment and smoke test there.  (This helps to
eliminate the ¡°works on my machine¡± phenomena J)

¡¤         Use the domain accounts for services, app pools, DB¡¯s etc,
preferably with the same permissions that will exist in production (i.e. no
administrator/local service running the app pools and no SA/DBO access to
DB).  This helps to eliminate deployment issues later on.

¡¤         Use a central azman and central web service applications on
integration.  If developers need to work offline, they can copy/modify the
Azman and modify their own resource connection strings.

In this case, every developer should have their own instance of Commerce
Server and SQL on their machine.

I hope the info helps. Please let me know if you have further question or
concern.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

 ========================================
==========

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscript...ault.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscript...t/default.aspx.

 ========================================
==========

This posting is provided "AS IS" with no warranties, and confers no rights.



Attachment:
This has been downloaded 0 time(s).



[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:15 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register