what are the criteria to consider to choose the first application for migration - entity-framework-migrations

Am working with a project ,its on an onprem Enviroment, just looking for guides to consider before choosing an application for migration ,we have custom applications and vms hosted onprem , what steps can i follow to choose this application
nothign yet
Am working with a project ,its on an onprem Enviroment, just looking for guides to consider before choosing an application for migration ,we have custom applications and vms hosted onprem , what steps can i follow to choose this application

Related

Migrating Grails 2.X to 3.X - What are Profiles?

I am a rather novice programmer and I have been learning Grails 2 and 3. For my work, I have been assigned to migrate Grails 2 applications to Grails 3. I do not want to just simply follow a copy-paste tutorial and not develop any depth of knowledge as a result.
Currently, I have been running alongst these links that detail the migration process:
https://docs.grails.org/3.0.x/guide/upgrading.html
https://opensource.com/article/18/5/upgrading-grails-applications
The above link from opensource points to https://docs.grails.org/latest/guide/profiles.html for further detailing on profiles. However, I do earnestly do not understand a majority of its intricacies.
The second link that elaborates more on the original Grails migration documentation elaborates more on the topic of profiles but I feel as though I'm not acquiring the big picture element here. Are profiles essentially different templates to utilize for YAML files? For instance, currently my applications utilize a web profile as "application.yml."
Are profiles essentially different templates to utilize for YAML
files?
No.
A profile represents a type of application. For example, we have a web profile for traditional web applications which do server side HTML generation, we have a react profile that contains a rest backend and a React based SPA front end, we have a rest-api profile which is populated with sensible defaults and dependencies for publishing REST apis, etc.
It is not the case that profiles are essentially different templates to utilize for YAML files. YAML files are 1 tiny piece of profiles.

How to deploy my umbraco site in my own live serve with out umbraco cloud

I'm deploying my site to Umbraco Cloud and that's working fine, but I want to deploy to my own live server without Umbraco CLoud services.
I know the process of Umbraco cloud service.
If I change any content on local Umbraco that can effect on server system without Umbraco as a service, is there any alternate process to do that?
I have not used Umbraco as a Service but when hosting sites yourselves there is no standard feature to push content changes from one environment to another.
Umbraco offer A closed-source licensed package Courier that is designed to manage the deployment of content:
https://umbraco.com/products-and-support/courier/
Additionally you may wish to investigate uSync.Content. I have used uSync (for document types ect.) with great success but have not used the Content edition: https://our.umbraco.org/projects/developer-tools/usynccontentedition/
The final, more hands on, approach is to do a database compare between environments to generate update scripts that can be applied but this does require a good understanding of the Umbraco schema to avoid overwriting/loosing content.

deploy asp.net solution to multiple hosting systems

I am working on an asp.net solution and using my remote testing environment with godaddy.
The application is ready for deployment so i have two questions:
1- since the database will be different , i am thinking about using a different Web.config , but not sure how does it work and how to implement that so i can choose easily which web config depending on the poriject/solution
2- the solution i am working on could be personalized and deployed to multiple clients , so each client version will be different (Like the logo and other stuff not the design and functionality), do i need to create separate solution for each client or should i create a separate website project instead?
what's best practices in this case
Use configurations and associated config transforms. By default, your project gets a Debug and Release configuration, but you can add additional configurations. Then, for each configuration, you can have a separate Web.config transform, Web.Server1.config, Web.Server2.config, Web.Client1.config, Web.Client2.config, etc. When publishing, you choose which configuration you want to publish with, and that associated transform will be run against the Web.config file to change out connection strings, app settings, whatever.
For more information see: How to: Transform Web.config When Deploying a Web Application Project | MSDN

How to go about deployment of ASP.Net 4.5 / MVC 4 /SQL Express 2008 R2 to a Windows Azure Free Website

I am very new to Windows Azure - have been into asp.net for about 10 years now and have been deploying applications via Database backup and restore on production and copy of final code bits from source control to the root folder on production database.
I am doing my initial reading and finding it a bit difficult to absorb the overall process of deploying an ASP.Net MVC web Application to Azure.
I have managed to have the database and the website code on Azure and it is up and running, but I can't get to terms on the following points and want to understand them better to have a regular deployment on place as versions of my app keep going up.
Database doesn't work like backup a local database and then upload .bak file and restore to the production server.
Nor can I see my website files.
Update: 04-Aug-2013
Azure Websites have an FTP option. You can see your FTP host name in respective website Dashboard. The username and password for FTP are located in the publish settings file (note: you got to pick up the FTP username and password, NOT the publish username/password. They both are different.
When I am getting ready for version 2.0 of my product, how do I get the database from the Azure SQL, upgrade it to 2.0 and put it back?
I assume the publishing wizard from Visual Studio should be able to take care of code upgrade, but how do I edit my production web.config file on the fly?
How do I take my website offline and show users my custom "offline" page when I am in the middle of the upgrade? (Stopping the website shows up the Windows Azure site not available page).
For your database backup / upgrade questions
For migration of databases to SQL Azure (or pulling them down) the SQL Database Migration Wizard has proven to be a lifesaver for me, get it here:
http://sqlazuremw.codeplex.com/
This will pull and push both data and schema for your database.
For seeing your website files
You won't be able to if you are using Windows Azure Websites.
For editing web.config on fly
You can't. BUT -- you can edit connection strings and appsettings through the 'configure' tab of your website like so:
Turning your website offline during upgrade
While you cannot specifically use the app_offline route without another deployment. One thing you could do is change your default document. This is easily done right in the same 'configure' tab for the website in the portal as I mentioned above, see here:
Hope this helps.

Orchard and Umbraco running on Web Farm Framework 2.0

I am in the process of choosing a CMS system for a few websites we are about to create. We're running a Microsoft environment, so we're only looking at .NET systems, specifically Orchard or Umbraco. We will be running the sites on a cluster running Web Farm Framework 2.0. We have been testing this configuration with Umbraco but have had some issues that essentially have made it impossible for us to run it on WFF. We have not tested this setup with Orchard yet.
Is it possible to run these systems on WFF in your experience, and if so do you have any advice on common pitfalls?
PS. Some more details on our issues with Umbraco on WFF. I won't go into all the various problems we've had, but as an example: We have issues with synching of physical resources between servers and adding data in the database that relies on that synching.
Umbraco can run in a load-balanced environment. I've not dealt with Web Farm Framework myself, and Googling for "umbraco "web farm framework"" yields very little except this question, but the recommended setup for a load-balanced Umbraco site is as per these guidelines over on the Our.Umbraco community wiki.
In our firm we use the SAN/NAS configuration for large websites which avoids file conflicts - two or more IIS instances, one directory on a SAN/NAS share serving up the website itself.
For Web Farm Framework I'm guessing you'll need to run a similar setup to the distributed file system (DFS) configuration for Umbraco. Set up one server behind the load-balancer as the "master" for doing content edits, and let WFF handle the syncing from master to slave/s instead of DFS.
HTH,
Benjamin
This is for Umbraco 4.7x
Use the configuration editor on the webfarm controller server to include the skipDirective for the umbraco temp directory. Umbraco doesn't like the temp directory being synchronized.
<skip name="logFiles" skipDirective="objectName=dirPath,absolutePath=.TEMP.*" />
I'm having a hard time finding the right syntax for absolutePath.
Also edit the /config/umbracoSettings.config file, and include your servers in the following section:
<distributedCall enable="true"> <user>0</user>
<servers>
<server>server1.mywebsite.com</server>
<server>server2.mywebsite.com</server>
<server>server3.mywebsite.com</server>
</servers>
</distributedCall>
Here a link to our.umbraco.org: Installing Umbraco for load balanced environments

Resources