Hi Ismail,
Before trying your solution, I provided a -ConnectionStringName "Default" and that worked well.
I then also tried your solution and it works.
But why would sometimes (before configuring the Web as startup) why would EF make use of a default connection string pointing to .\SQLExpress?
Thanks
Ah, that's the main reason you think? Why is that.
Hi Jeff, Great news! I followed the steps above and also on Step4 deleted all existing files and everything worked fine and smooth.
Now I have the following branches: 1- Dev 2- Master 3- Framework
Same branches on the server.
The Framework branch is now upgraded to v3.3.0.
Now, my work basically revolves around Dev. I will check out the Dev branch on the second machine to get all changes there also.
During the merge process I had only a few changes. It seems any additions or subtractions are dealt with automatically. Only conflicts on the same line need intervention from me. All of my changes were preserved when I merged from Framework to Dev.
That was a lovely day learning Git that fast and applying it. I will be writing a small blog post on the steps involved in detail so that I dont forget them for next time and even others might find it helpful also to be able to upgrade to the latest releases.
Many thanks Jeff and Ismail.
Hi Jeff,
Yes, I downloaded a Zip File with the same version I was using. Pushed it to Framework-Master on origin, is this correct?
The rest of "will do steps" are ok?
Thanks
Hi Jeff,
Thanks for the hints.
So now, I am using VS Git with online VS repository. I appreciate if you can be a bit patient and follow up with me on this process.
Now, I will work on the following steps:
Is the plan ok so far?
One more thing, do I need to run Update-Database when I upgrade to the latest release? Or no need?
Finally, if I want to reflect all these changes to local branch master, I merge into master from local dev?
Many thanks
That is possible! I will check it out.
If I want to make use of UserAppService in my Blog module, i can just use either property or constructor injector for IUserAppService and then I will be able to use that?
Thanks
Jeff, that was so helpful!
I came to conclusion better to use Git and follow those steps you mentioned.
Add to this, if I group my code changes in for example 1 folder that would be great as it makes merging easier. Also, in some case, I need for sure to update existing files outside that "magical" folder, like in this case adding a field to AbpSession, but a least and hoping this would be special case.
Makes sense?
Hi Jeff,
I decided to pause on my project (although I will be losing few days) to learn Git and how to use Git in VS 2015. I guess this is better for later.
I read again your post on GitHub. I understand all details. I have a question when you merge from Framework-Master to Master (or another branch) using command line or VS 2015, as you know new Framework files will not include any changes I've made to files in the Framework, so my question, will Git (command line or S) tell you those lines are missing from the files you are merging from, do you want to include them or, remove them, etc.?
Thanks
Oh, this I want too! Any help would be appreciated.
No, each solution uses its own DB. Each DB + Solution is on one machine. So I have 2 machines. On the machine I can make it work fine, on this machine now it doesn't work.
I can run now on a new fresh dB and see if problem exists. but I am worried when I go production to have to drop the db etc.
I've emailed you the solution.
Many thanks