Need an expert advice in Implementing continuous delivery across environments

Hi All,
I need an expert advice/solution in implementing continuous delivery in our project. (PF Screenshot)
Deployment goes like this.. 
Dev checks in -> TFS Builds - > RM Invokes -> using PS/DSC -> Copies the binaries to DIT environemnt's IIS virtual dir -> Manual replacement of Web.config files (since we have many environments)- > App runs
PS/DSC does following things : Copies binaries using X copy , Uploads SP excel reports , Executing Dacpac scripts etc ..
Now the chanllenge earlier faced was wrt Web.Config files was, for every DIT environment many configurations, conn strings would change. In order to overcome this , Implemented Web.config transformations( like Web.DIT1.Config .... Web.DIT6.config in my solution
explorer. 
Added a custom MSBuild script in my .csproj file and before triggerig the build defination I 'd change in Process tab- > Basic - > Configuration = DIT1 (based on requirement) and triggers . )
It perfectly deploys to the DIT 1 without manually replacing WEb.config files. 
1) Now the blocker for me, Can we achieve this without Web.config transformations ? Since I don't want to expose the sensitive date in config files is there any way to implementing the same ?
2) I wanted to have continuous deployments from DIT to SIT and from SIT to UAT etc , How can we achevive the same ?
   I m planning to implement the same with web.config tokenizing in RM?
Looking for some expert advice in achieving the same?
Many Thanks ,
Abraham Dhanyaraj

HI Abraham,
Instead of having web config transformations to set config values for each environment do the following.
1. Have one transformation config say for example web.release.config which will contain tokens understood by RM (starting and ending with double underscore) for each config value.
<log4net>
<appender name="FileAppender" type="log4net.Appender.FileAppender">
<file value="__log4netLogFile__" xdt:Transform="Replace" />
</appender>
</log4net>
<ClientsSection>
<Clients xdt:Transform="Replace">
<add Id="__ClientId1__" Secret="__SecretCode1__" RedirectUrl="__RedirectUrl1__"></add>
<add Id="__ClientId2__" Secret="__SecretCode2__" RedirectUrl="__RedirectUrl2__"></add>
</Clients>
</ClientsSection>
<appSettings xdt:Transform="Replace">
<add key="MinCaps" value="2" />
<add key="MinSymbols" value="1" />
<add key="MinNumerics" value="1" />
<add key="MinLength" value="6" />
<add key="MaxLength" value="" />
<add key="webpages:Version" value="3.0.0.0" />
<add key="webpages:Enabled" value="false" />
<add key="PreserveLoginUrl" value="true" />
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
<add key="WebPortalName" value="__WebPortalName__" />
<add key="TimeZoneFrom" value="Pacific Standard Time"/>
<add key="TimeZoneTo" value="Mountain Standard Time"/>
</appSettings>
The TFS builds can generate output with above formatted configs with web config transformation.
2. Then in RM server templates change the config files to have values depending on the environment. You can do this using a custom deployment component or default xcopy deployment component to set parameters.
3. Then in the release template set the config values.
Cheers!
Chaminda

Similar Messages

  • Need usablility expert advice for an ncurses based pacman frontend

    Hi,
    I am working on a frontend for pacman using  ncurses/python/pyalpmm. It is in really early stage of development. So i need advice about usability aspects of the program .
    Screenshot  http://omploader.org/vMXVhaQ
    The program will mostly be useful for searching and browsing  ( nothing can beat pacman for installation and updating )
    Ideas(some implemented, some not yet )
    1) It has a 3 pane layout like most of the other package managers.(Suggestions for any better layout ? )
    2) Uses vim based keybindings ( j/k = up/down, / = search, tab = switch between panes  i=install, d=remove ?=help )
    3) few more options to show orphans etc
    4) planning to implement a tree based layout showing deps
    5) Also a sort by real size option for installed packages (like Allans script )
    6) pick and choose updates is also something which i have been missing for long time.
    The idea is to keep the interface as clean/simple as possible
    All ideas and suggestions are welcome
    Dont miss your chance to get on the scrolling credits screen
    Last edited by u_no_hu (2009-06-16 07:59:14)

    u_no_hu wrote:Hi,
    I am working on a frontend for pacman using  ncurses/python/pyalpmm. It is in really early stage of development. So i need advice about usability aspects of the program .
    This looks really nice. I am looking forward to it.
    1) It has a 3 pane layout like most of the other package managers.(Suggestions for any better layout ? )
    This would be fine. The other suggestion with panes on top would work as well. I guess panes on top (i.e. a stacked layout) would save space.
    2) Uses vim based keybindings ( j/k = up/down, / = search, tab = switch between panes  i=install, d=remove ?=help )
    Vim is so confusing. Please make a Emacs keybinding as as well And of course an intuitive dummy mode (arrows, space|enter=mark etc)
    All ideas and suggestions are welcome
    Maybe a feature to sort by type of program. I.e. X programs, cli programs etc. I think Zendo/zpm for Zenwalk/Slackware is really great and something similar to your project, although not in ncurses.
    --Rasmus

  • Need the experts advice..

    Hello folks,
    I need to know how can I solve this situation.. Any help is apperciated.
    I want to write the client part of a webservice in order to update and query database records. The server allows document/literal type where the xml is about table and records in this format:
    <Table>
    <Field1> Value1 </Field1>
    <RelationShip Table2>
    <FieldX> ValueX </FieldX>
    </Table>
    The schema may change based on administration decision (adding/removing fields then redeploy service). Also, I want to have control , in Java, over objects I am creating dynamically so I don't have to generate stubs with every change of the schema on the server. I want to validate variables which can have null value as well as types. So, I want to build my java objects and use the client service to send data to the server.
    How can i do that in Java? Dynamic proxy?
    Thanks a lot guys and please let me know if you need more clarifications.

    Is my question weird or very difficult?
    In other words, I want to be able to parse my document literal soap message into Java classes dynamically taking into consideration that schema can be changed from time to time.. how to resolve this?

  • Need HTML expert advice. Strange borders around JPGs

    Hi!
    I'm stumped by an HTML problem in Dreamweaver. This is for an ebook. In Dreamweaver and in the final mobi. there are drop shadows or border lines on some jpgs. either a single line on the bottom ot right side. I look at the HTML in dreamweaver and the image does not show any tags to cause the borders.  If anyone has an idea, or advice how I can eliminate this aberration I'd REALLY appreciate it.
    [Link removed as it forced malware download]
    Message was edited by: Sudarshan Thiagarajan

    Yep, Sudarshan is correct. Those lines are present in the original. As a matter of fact, a lot of those images have a black line running down or along one of the sides.
    Fix that first.
    And while you are at it, save the images as 8bit png or 8bit gif with 16 greys: resulting files size is much, much smaller, and your ebook will download a lot faster.

  • I need a expert advice.

    Dear All,
    I need a help about how to prevent a user to export a MACHINE CERTIFICATE from Keychain?
    Thanks.

    Dear Allan,
    We are installing a hardware certificate to identify the machine on the VPN so we need to prevent the user to export the certificate and to import on his personal machine and to hook on the VPN?
    Thanks.

  • Friends i need tech expert advice!!

    Hai! Every any tech experts answer my post pls if i change / install windowos firmware in asha 311 whether nokia asha 311 will support this firmware

    Hi palani6,
    Unfortunately, it's not possible to install or change the software of the Nokia Asha 311 to Windows Phone firmware. Operating system are designed depending on the hardware capability of a certain device. Also, changing or installing a different software on a Nokia product will void its warranty.
    We may not know exactly the main reason why you would like to change your Asha 311's current software, but just feel free to post your concerns about it here in the forum and the community will be happy to assist you. 

  • Totally confused need ur expert advice

    hello bb pals,
    im not sure where to post this apologies if im in the wrong forum but im havin problems restoring my contacts. i lost my bb last week i have a new curve 8520, v5.0.0.681 and have registered my email adress through my carrier (Tesco) BIS website but when i click restore it says my email is not linked to any blackberry messenger account. i had made a back up a few weeks before on my old bb using this email, any ideas guys?

    fixing the IOExecption!
    ok i made a small modification to the code that i posted.
    (ie) in the catch block of IOExecption i said p.destroy();
    so that i there occurs an IOExeception, the process would be killed.
    It looks like it works for now!! I am not sure but if it quite solved my problem...I need to test it more...
    what's your take?

  • Session/jstl  and load balancing - need expert advice

    After user loggs in, I am getting locale from db and storing it inside userSession along with userLogin. Inside jsp using <fmt> tag to display locale based resource property.
    HttpSession userSession = request.getSession(true);
    userSession.setAttribute("UserLogin", oRS.getString("user_login"));
    Config.set(userSession, Config.FMT_LOCALE, currentLocale);Also using filter after login page to check for User Session. Currently all working fine .
    But if i want to make use of load balancing, whether still it will work?
    1)I understand that if i depend on network config i.e. session request sticks to one server then i believe shld not be a problem
    2)But if that is not the choice then what else ? Client want to make use of serialization technique. I do not know much about it, how to implement it, any sample is greatly appreciated.
    3)what about jstl Config.set(..) whether any changes needed here?
    4)Do i need to change filter code.
    Pls pls help me, i really need expert advice on this.
    regards
    Manisha

    1)If i want cluster server to replicate the session
    then all attributes saved in the session have to be
    serializable.yes.
    2)In docs it is mentioned
    Use setAttribute to Change Session State
    In an HTTP servlet that implements
    javax.servlet.http.HttpSession, use
    HttpSession.setAttribute (which replaces the
    deprecated putValue) to change attributes in a
    session object. If you set attributes in a session
    object with setAttribute, the object and its
    attributes are replicated in a cluster using
    in-memory replication. If you use other set methods
    to change objects within a session, WebLogic Server
    does not replicate those changes. Every time a change
    is made to an object that is in the session,
    setAttribute() should be called to update that object
    across the cluster.
    Whether it means that if I want to store a object
    (which is serializable) e.g. 'String' inside session
    and use setAttribute() method then I do not need to
    make that object implicitly serializable?No, you still need the objects to be serializable.

  • Need Expert advice on choosing Source System for creating/maint Customers.

    Hi Experts,
    Iam on project where we have CRM,ECC(SD),FICA in the System Landscape.The client is currently using ECC(SD) Customer master for creating/maintainig Customer's.As we have CRM & FICA in this implementation, we are planning to propose that we use CRM as the source system for creating/maintaing Customers as Business Partners & Perform standard replication to the other system's in the landscape.
    The client has has asked us to confirm if having CRM as the source is the Best practice in the industry when we have this three systems (CRM,FICA,ECC(SD)) Landscape.I thought to get some expert advice on this & see if any of you have a similar project experience & share some views on this CRM BP vs ECC(SD) Customer Master.
    Thanks in advance!
    Regards,
    Naveen

    Hi,
       I believe it depends on your business senario.Here I can share some my experience for you.
    CRM As Source System
    Advantage:
    1) Choosing CRM as source system ,you can create several roles of customer for tracking the presales process of customer,such as prospect ,sold to party ,customers ,also you can define the life cycle of your customer and control which life cycle of customer should be replicated to ECC and which one should not.
    2)  CRM can have more views of customer and customer defined field (EEWB fields) ,so if you choose CRM as Source it will be more convenient  to create and fill in the all your user defined field .In other words ,choosing ECC as source you have to extend these field again in CRM .
    3) easy to maintain customer relationship
    Disadvantages:
    1) Have to extend Company code view of Customer data, since CRM do not have these view ,it is  just used for billing and integration with financial accounts.
    2)  have to extend some particular partner function of customer ,it is because of CRM it is only possible to create part of partner function automatically like SP ,BP  when business partner  is replicating to ECC.
    ECC As the source
    Oppositely, if you choose ECC as the source ,the advantage become disadvantage.
    Advantage :
    1) Can Easily to create customer's data of company code view
    2)  Can easily to assign any partner function to customer
    To conclude, if you only need to create sales order in ECC ,I believe choosing ECC as Lead system is better, since you do not have to extend customer data and easily to integrate with FICO and SD.Howerver, if you are going to create a sales order from opportunity or quotation ,CRM is your best choice.
    Regards ,Edward

  • Need expert advice on buying new macbook pro 15 inch

    Hi I Am a digital textile designer and  planning to buy my first retina macbook pro. I need expert advice, which model should i buy 15 inch base model or with dedicated graphics card. i will use macbook for digital designing on Adobe photoshop and multi tasking. so now really confused is intel iris pro graphics will handle heavy files on photoshop or Nvidia GT750 m will good for heavy work. I am working on very large resolution file like 10 to 15k in resolution approx 1 GB in file size with lot of filters is being use while designing. Which model will handle above task well and last longer.

    Look at the specifications here:
    http://store.apple.com/us/buy-mac/macbook-pro
    You may be confusing the quad core CPU with the Graphics processor.
    It should have no difficulty in running Adobe Photoshop.
    Ciao.

  • Expert advice needed: Why could I not connect to my own server after deletion of SSL certificate?

    Issue: Could not connect to my own server after deletion of SSL certificate despite having SSL disabled
    Hello,
    I admit I am lay user with rudimentary SSL knowledge and I therefore messed up my certificates and I could no longer access my own server (Wikis, WebDav, Device Manager) with Safari. (error: Safari can't connect to server)
    Eventually, I could resolve the problem but I do not understand why there was problem in the first place.
    Maybe someone can explain that to me ?
    OK, here is what I did:
    I created a Certificate Authority because I wanted to use a free SSL Server certificate for our private server.
    (I followed  http://www.techrepublic.com/blog/mac/create-your-own-ssl-ca-with-the-os-x-keycha in/388 )
    Despite several attempts I never got the server to accept the certificate for web services, the certificate was accepted for iCal, Mail and iChat but not for Web services. I tested an older certificate that was created when I set up the server and that that worked for all services incl. Web. So the problem was with my certificate only.
    Out of desperation and lack of concentration I deleted the "original" certificate.
    Now, I soon noticed that I could no longer log in to my server. I solved the problem by restoring the original certificate.
    My question:
    I had SSL disabled in the Server app settings. Why does Safari still look for a proper certicate ? (the server logfile had an entry that a .pem file could not be found which makes sense if the cert has been deleted)
    I would be very grateful for an expert advice.
    Regards,
    Twistan

    Because....
    the server does not have a 'trusted' certificate assigned to it.
    Only the RDP Gateway has the trusted certificate for the external name.
    If you want to remove that error, you have to do one of the following:
    Make sure your domain uses a public top level domaim, and get a public trusted certificate for your server.
    So, something like,
    server.domain.publicdomain.com
    Or,
    Install that certificate on your remote computer so it is trusted.
    Robert Pearman SBS MVP
    itauthority.co.uk |
    Title(Required)
    Facebook |
    Twitter |
    Linked in |
    Google+

  • Need a help / advice & guidance whether to switch on my Career in SAP-PM from core industries after spending my 09 years of experience in Core field that to in Maintenance.

    Hello Adviser /expert,
    Need a help / advice & guidance whether to switch on my Career in SAP-PM from core industries after spending my 09 years of experience in Core field that to in Maintenance.
    As now i m thinking to do SAP-PM certified course from authorized SAP partner in India that to Pune.
    So any one can suggest authorized SAP partner in India that to Pune.
    My introduction (About myself): - I had done my Diploma in Mechanical and had total 09 years of experience in Mechanical Maintenance field that to in different manufacturing company such as Steel, Auto Ancillary & Cotton plant.
    Whether its right decision to change my career from Core sector to SAP-PM..??
    Is there very good scope in SAP-Pm for me after 09 years of Core Maintenance field..???
    Guide me
    Warm Regard
    Ravin

    Ravindra,
    SAP PM is very niche Module, very in demand module, at the same time, being niche, getting into it and getting 1 implementation is also difficult.
    your decision of joining SAP authorized training is the best option, as a certified consultant, you have more chances to get a break as fresher and you can continue working on it, else it would waste of your intellectual energy.
    you just search sap.com training or email them or chat with them, they will give u the training center details,
    but very less training classes are available. Try you will get lucky soon

  • We need an expert!

    It hit me that the exchange could really use an expert or two.
    Someone who could speak for NI and settle the "why" questions.
    I am not saying that we should draft Greg McKaskle, but the Exchange would benefit if there waws someone around that could "lift the hood" and give us some quick glimpses of what is really happening "in there".
    I am afraid that our top contributors are giving more than they are getting.
    Anyone else have an opinion on this subject?
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

    Michael Aivaliotis wrote:
    Molly K wrote:
    I will continue to work on driving participation in the community from members throughout the NI organization to ensure that we provide as much support for all members of the community as possible. We could also consider what some communities do where there is a "live" session with an expert where users have a forum to ask their burning questions.
    That's nice to hear Molly. Perhaps a webinar can be aranged for this.
    I will not decline the webinar with the expert but that would fall short of what I had in mind.
    The "why" Q's could take some time to research and respond. I do not think that would cover what I feel the Exchange could benefit by (I know bad english!).
    I (and I beleive, many others) have worked to make the Exchange a common repository of LV answers.
    Over the years we have accumulated a great deal of knowledge in the Exchange. Knowledge BTW that will persist beyond some of our life times.
    I view this knowledge as falling into three catagories.
    1) Basic
    2) Intermediate
    3) Advanced
    (I will resist defining exactly what falls into each catagory. This is really dependent on the user it seems.)
    I think the contributors to the Exchange do a great job of catagories #1 and #2.
    #3 is marginal (now)!
    We used to be better!
    We were better before NI Week 2004.
    Why were we better?
    Because we had Experts!
    I used to subscribe to all of the Experts. I would read all of their answers and share them with the developers I support in-house.
    This change in Expert contributions was not due to the Exchange conversion. It pre-dates the change.
    After this discourse let me rephrase my desire.
    We need contributors that can can expand the scope of the Exchange's KB.
    Set ramble=True
    The Exchange, without Experts is like the world without science!
    Before science the world was understood by observation and the attributing phenomonon (sp?) to super-natural forces. "If you swing a cat three times and then..... while ... you will be favored."
    That is how I view the A that was provided to Coastal...
    Coastal.. just got the "what" answer, not the "why"!
    Science appraoches things differently. It seeks to understand a phenomonon and by so doing, acquire the knowledge and understanding required to "PREDICT" how the system would behave in other non-observed conditions.
    The various replies given to Coastal... were only devloped by trial and error until we figured out if we should spin the cat clock-wise or counter clock-wise.
    Set ramble=False
    I do not think that we need an Expert to be on call 24/7. That is over-kill.
    What could work is having a "messenger" that could carry coice Q's to the "Ivory Tower" and return with the knowledge we seek.
    NEW IDEA!
    How about getting one in-depth answer per week?
    Of course I would like it to be my Q that gets answered but maybe we could re-introduce the "polls" and allow Exchange contributors (BTW what do we collectively call ourselves now?) to nominate what answers get the "treatment".
    Trying hard to expand the strength of the LV community,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Hi, I need help and advice. Basically me and my ex partner both had iphones and synced it with the same computer under the same ID. We split i have a new laptop and now it keeps asking for the old ID or it'll erase my apps bought on theold account.

    Hi, I need help and advice. Basically me and my ex partner both had iphones and synced it with the same computer under the same ID. We split up and now im trying to get all my apps and info onto my new laptop with a new account but it keeps asking me for the old apple ID which she is still using and she changed the password. i tried backing it up but still nohing. When i try to back up purchased items being apps etc its keeps asking for the old one. help

    See Recover your iTunes library from your iPod or iOS device. But you'll still need the password.
    Once you have the computer authorized to use the account she could change the password again to stop you buying apps on her card (assuming it's not on yours!). It would lock you out of upgrading them too but they should work unless she uses the deathorize all feature.
    It depends on how amicable the split is...
    tt2

  • I need your expert opinion on how to create a map with multiple conditions.

    Hello.
    I need your expert opinion on how to create a map with multiple conditions.
    I have a procedure (which i cannot import or re-create in OWB due to the bug), so i am trying to create a map instead :-(
    How can i create a cursors within the map?
    My function creates table and cursor.
    Then it will have to check for duplicates in the tables (the one created and another table) - the criteria for finding duplicates is a number of fields.I then need to place few different conditions (if some attributes are not available) and it has to load cursor based on this conditions. The next step is to fetch the data into the cursor based on what attributes are missing.
    The next thing it will do is insert the data into table (if record doesn't exist), output the error in separate table is record is corrupted, or update the record with changed information.
    In short i need to re-create match / merge but with conditions, iterations etc 'built into' it.
    I can read up on available functions - it's just what would be the best options? and what would be the best approach to do so?
    In my function i use %rowtype - but cannot use it in owb - so what would be the alternative? i don't really want to create a lot of variables and then have a nightmare of maintaing it. are there any tips regarding this?
    having looked through Oracle dedupe - it's not really what i need because it is just DISTINCT.
    I would appreciate any help / advise on this.
    Thank you very much

    thanks a lot for your reply - i will look into this option :-)
    it is a bit more complicated now as i have to re-create the match / merge and then somehow 'tweak' it to achieve the result i need.
    At the moment i am looking to breakdown the package into smaller chunks 'functions' and try creating the map that way.
    Anyway, thank you very much for your suggestion.

Maybe you are looking for

  • Php5.2.5 not working with apache2.2.8 on solaris 9

    <html <body lang=EN-US style='tab-interval:.5in'> <div class=Section1> <p class=MsoNormal><span class=GramE>hi !</span><o:p></o:p></p> <p class=MsoNormal>I have compiled (without any problems) PHP5.2.5 AND apache2.2.8 with oci8 support, and apache sh

  • Texts send as iMessage to iPad instead of SMS to iPhone iOS7

    My BF has iMessage OFF on his iPhone 4 (running iOS6) but ON on his iPad Air (iOS7). I want to leave iMessage ON on my iPhone 4 (running iOS7) because other people who text me need to use it. But when I send my BF a text now my messages default to hi

  • Combining several email lists in Addresss Book into one email list.

    I have several email lists in my address book I need to consolidate them into one email list. How would I get all of those different email lists into one email list? Leon

  • Starting ColdFusion server: error, no known vms (check for currupt jvm.cfg file)

    just installed ColdFusion, from adode flex 3 training from the sourse. But when I check to see if it works correctly by entering jrun -start cfusion in the command prom I get the error, no known vms (check for currupt jvm.cfg file). I tried uninstall

  • Can't render .mp4 file

    I'm trying to convert a small .mp4 file into a .mov file so that I can edit it in FCP.  I've never had a problem converting a file using MPEG streamclip but everytime I attempt to convert this file it gives an error of "can't prepare the file" and re